cancel
Showing results for 
Search instead for 
Did you mean: 

Nested if/then with variables returning #MultiValue ERROR

349

Hi all,

My Company recently switched from Power BI to SAP BO (using Webi to Dev/Test) and I am currently validating the functionality with our currently use case. The Goal of this report is to identify item set up issues and report them to the user on a “Dashboard” and to the user. I am struggling with a #MultiValue Error being returned when using Count

For Example:

Variable1

=If(Column1 = 0 and Sum(Column2 + Column3 + Column4)= 0 ; “Zero”;

If(Sum(Column2 + Column3 + Column4) > 5 ; “A”;”B”))

Variable2

=If(Column5 = “Y”

OR Variable1 inlist (“A”;”B”;”C”)

OR Column6 inlist (“D”;”E”;”F”) ; “OK” ;”KO”)

Variable3

=Count(Items) Where Left (Variable2;2) InList (“KO”)

When I count the items with a KO and aggregate by another column (Buyer Name) I receive the #MultiValue Error. Looking at the Buyer/Item level no issue counting a 1 when there is a KO, but only when aggregating by another column (location, buyer name, ect…)

I guess my main questions are…

What could be causing this error for my use case?

Are there any specific pit falls when using Count in SAP BO?

Am I missing a glaring obvious assumption I am making that could cause this error?

When I use the count function in the exact same way in other systems, (Power BI, Excel, SQL, ect… ) it doesn’t have this issue.

Thanks for your help and patience as I am learning and googling my way though this.

Accepted Solutions (0)

Answers (0)