cancel
Showing results for 
Search instead for 
Did you mean: 

Context Issue in Webi Report

Former Member
0 Kudos

Hi Experts,

I have a requirement to calculate measure value between 2 dates.Please find below the requirement.

Sales Deal ContractOpportunity NoCustomer(Merged)Material(Merged)Date of First Invoice(A)End Date(B)Measure 1
From Bex Query 1From Bex Query 1From Bex Query 1From Bex Query 1From Bex Query 2From Bex Query 2Measure restricted on Calday(From Query 1): From A to B

Basically, I have to calculate measure value based on the 2 Dates coming from Bex Query 2.

When I add Calday(from Query 1) to the above table layout, I am able to see the measure value getting calculated correctly. But, When Calday is removed from the Table layout #MULTIVALUE Error is seen.

Note: I have tried using context Operators IN/FORALL./FOREACH(along with SUM function on measure), but its still showing # MULTIVALUE.

Using In Function:

=Sum([Measure]) Where([Query 1].[Calendar day] In([Query1].[Sales Deal Contract];[Query1].[Opportunity No];[Query1].[Customer Name];[Material]) between ([Date of First Invoice];[End Date])

Similarly, I have tried FOREACH/FORALL Functionalities. In all the cases I am getting #MULTIVALUE Error.

Can you please advice.

TIA,

Bhargava Bommidi.

Accepted Solutions (1)

Accepted Solutions (1)

kohesco
Active Contributor
0 Kudos

I had the same issue, and becaue the calday was not the level that I wanted to see in the report, I created a break on calday and collapsed that level.  Calculations worked.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Bhargava,

That measure would be "delegate measure". change that to SUM.

For delegate measure we have to SUM function in WEBi variable. Otherwise multiple values cant be summed up.

Muralidhar Reddy.