Dear Experts,
Following my previous post Report with multiple queries (and links) - results different in Webi and Deski, the results displayed in the report are correct. Nevertheless, some lines are not displayed in my table, I obtain several lines with #MULTIVALUE, for example for the contract A883-2015.
As explained in the original post, there are several queries linked with fields between them.
The purpose of this report is to display for each contract the initial budget, the movements and the amounts committed.
[Committed amount CNT-CT] is a measure coming directly from the universe and it's simply a field of the database.
[R/F Committed amount CNT-CT] is a dimension (coming directly from the universe: simply a field of the database) and can be "F" or "R"
Here the formula used for this report:
- MEASURE: Current Budget = [Budget Initial]+[Total movement amount]
- MEASURE : Committed in Forcast = If ([R/F Committed amount CNT-CT]="F") Then [Committed amount CNT-CT] Else 0
- MEASURE : Committed in Real = If ([R/F Committed amount CNT-CT]="R") Then [Committed amount CNT-CT] Else 0
- Amount committed in status real = Sum( [Committed in Real] ForAll ([Project_ID_complete]) )
- Amount committed in status forecast = Sum( [Committed in Forcast] ForAll ([Project_ID_complete]) )
- Total Real + Forecast = (Sum([Committed in Real] ForEach ([R/F Committed amount CNT-CT])))+(Sum([Committed in Forcast] ForEach ([R/F Committed amount CNT-CT])))
- Not planned = [Current Budget]-[Total Real + Forcast]
In fact it can arrive that there are several lines for a same contract in the database (following movements). If I create a table in WEBI by adding the field R/F Committed amount CNT-CT (the link and the fields about the ABAC query are not displayed), I obtain:
In this table we can see the sum of the amounts of lines from database for the R and F committed amount.
That's why in the first report it's written #MULTIVALUE. I would like that these both amounts are cumulated in my first report. If I create the report with DESKI it's ok:
Could you please help me for doing that in WEBI by keeping the same formula for having good results for the other lines?
Regards,
Sebastien