Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
dmohanty
Partner - Specialist
Partner - Specialist

Relative % not to change upon selection of Dimension-HOW?

Hi All,

My requirement is below:

Whenever I would select any dimension, let say Customer 'A' or Region 'R1' (from the QVW attached),

the values of the % Total should not change. It should show the values respective to the Total what was there when no selections were made. However, the chart would show only the selected dimensions, but the Measures should show esactly the same when no selections are made.

Example, If I select Customer 'A', it should show 6.13% and 17.54% (these values are showing when nothing is selected), I would not see 100% and 100%.

Hope I am clear. Please help me on this.

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try these expressions:

SUM(Sales)/SUM({1}TOTAL Sales)

SUM(Sales)/SUM({1}TOTAL <Region> Sales)


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try these expressions:

SUM(Sales)/SUM({1}TOTAL Sales)

SUM(Sales)/SUM({1}TOTAL <Region> Sales)


talk is cheap, supply exceeds demand
dmohanty
Partner - Specialist
Partner - Specialist
Author

Great!!! Exactly the way I wanted.

It was this simple, I could not figure it out.

Kudos and Thanks a Lot for this solution.