Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
Is there any way to ignore the selection but keeping one or more conditions for the SUM function?
For example, as my attached app, when I select "International", I expect the % is 77% (= 3.86 / 5.01)
But I think my expression is not correct, which show 51% (= 2.86 / 7.54)
Here is the expression I use:
Sum({<[Date.autoCalendar.Year] = {'2022'}>} Sales)
/ (Sum({1} Sales)
- Sum({<[Date.autoCalendar.Year] = {'2019'}>} Sales)
- Sum({<[Date.autoCalendar.Year] = {'2020'}>} Sales)
- Sum({<[Date.autoCalendar.Year] = {'2021'}>} Sales)
- Sum({<[Date.autoCalendar.Year] = {'2023'}>} Sales))
Update: It means if I choose "Domestic" I expect to get the result (automatically) 23% ( = 1.14 / 50.1)
Can anyone help me?
Many Thanks!
Sum({<[Date.autoCalendar.Year] = {'2022'} >} Sales)
/ Sum({<[Date.autoCalendar.Year] = {'2022'}, [Region (SAP)]=>}Sales)
will get you 77%
Sum({<[Date.autoCalendar.Year] = {'2022'} >} Sales)
/ Sum({<[Date.autoCalendar.Year] = {'2022'}, [Region (SAP)]=>}Sales)
will get you 77%
Hi @ogster1974
Thank you for your suggestion.
But I would like to get the result in accordance with my selection.
It means if I choose "Domestic", I hope the result would (automatically) be 23% ( = 1.14 / 5.01)
Do you have any ideas?
It does produce that result if you've applied the filter like below...
Hi @ogster1974
Thank you so much! I thought set analysis must go with a fixed value so i put {'International'}.
Then can you kindly help to review another sheet in the app.
How can I display the percentage based on multiple selections?
I have all 3 treemap with according %
1st bullet chart
Sum(Sales) / Sum({1} Sales)
2nd bullet chart
Sum({<[Region (SAP)]=>} Sales) / Sum({1} Sales)
3rd bullet chart
Sum({<[Region (SAP)]=, Country=>} Sales) / Sum({1} Sales)
In 1st treemap, if I choose "International", I should get:
In 2nd treemap, if I choose "US", I should get
In 3rd treemap, if I choose "USB", I should get
But the results I get are as follow:
Could you please help me check where I have done wrong?
Thank you!
Post this as another question for others to contribute on