Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Product | Market | units | Header 4 | Header 5 | Header 6 |
---|---|---|---|---|---|
A1 | A | 207454 | |||
A2 | A | 5457 | |||
A3 | A | 457 | |||
A4 | A | 356 | |||
A5 | A | 5724 | |||
B1 | B | 2457 | |||
B2 | B | 4577 | |||
B3 | B | 23475 | |||
C1 | C | 756 | |||
C2 | C | 754275 | |||
C3 | C | 324 | |||
C4 | C | 57425 | |||
C5 | C | 4257 | |||
C6 | C | 547547 | |||
Hi,
if you want to discard the selections than Use. 1
sum(1{<xyz>} units / Aggr(sum(1{<xyz>}units),Market),
if want to discard the Dimension then use total keyword like below
sum({<xyz>} total units / Aggr(sum({<xyz>} total units),Market),
Hope it help...
Hello Sagar
Use Dimension plus equal like "sum({<Dimension=>} expression)".
It will sum the expression ignoring the defined dimension.
Hope it helps!
Hi,
If you DimensionName= in an expression, then the set analysis expression doesn't consider the selections of that particular Dimension.
Sum({<DimensionName=>} Sales)
Regards,
Jagan.
Hi Usman,
I tried what you suggested but its not working in this case. 😞
Regards
Sagar
Hi Leo,
I have already done this and it is not working. I am not getting the values for excluded products the moment I select Product.
Note: I am getting correct value for the selected Product in the table.
Regards
Sagar Gupta
No dude Its not working. I tried all the above mentioned syntax. 😞
Regards
Sagar
Dear Sagar,
If you want to see only the 3 Products which are A1,B1 and C1 then the better idea is to create a field in script instead of using the if statment in the dimension.
Try this, this might solve your problem.
Regards,
Kaushik Solanki
Hi Kaushik,
Thanks for the reply. I don't think doing this will solve the problem. Yes I agree that we shouldn't use calculated dimension as it decreases the tool's performance.
Regards
Sagar Gupta
Dear Sagar,
Give it a try and see whether it works or not.
Regards,
Kaushik Solanki