Hello all,
I am getting #multivalue error. I am designing a webi report as per attached format and data.
| SO | BSO | Material | Plant1 | Plant 2 |
|---|---|---|---|---|
| SO1 | BSO1 | A | 1.11 (Quantity on the basis of material as per plant) | 0 |
| B | 1 | 0 | ||
| C | 2 | 0 | ||
| D | 3 | 0 | ||
| E | 4 | 0 | ||
| BSO2 | D | 1 | 0 | |
| E | 2 | 0 | ||
| B | 5 | 0 | ||
| M | 6 | 0 | ||
| N | 7 | 0 | ||
| SO2 | BSO1 | B | 0 | 4 |
| M | 0 | 9 |
It is a cross tab format. I have Quantity field with respect to plant for each material. Quantity field I have taken as measure as Sum.
The problem is when I am bifurcating this quantity field on the basis of plant, I am getting #multivalue error. I created a measure for Plant 1 as =ToNumber(Replace((If ([Plant1] ="XYZ") Then (Sum([Qty])) Else ("0.00"));",";""))
I tried IN(), ForEach() and For all() as well but i am not getting desired results. Kindly suggest a solution.