Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
SimonDB
Contributor III
Contributor III

Extra dimension value showing sum of all other dimension values

Hi, I have a bar chart that has location as a dimension and has two expressions that sum quantity by period in time.

clipboard_image_0.png

I need to add an additional dimension value "All Locations" into the same bar chart which sums the values of the other dimension values, so the resulting values of "All Locations" would be:

June 17 to May 18 - 17.28

June 18 to May 19 - 14.96

Any help would be greatly appreciated, thanks, Simon

Labels (3)
3 Replies
saminea_ANZ
Creator
Creator

Let's say your values comes from Sum(Values)
For that, You can call out using Dual() as
Dual([Period in Time] & Sum(Values), Sum(Values))

SimonDB
Contributor III
Contributor III
Author

Hi, where would I place the above?

My dimension is:   

=if(BRANCHLIST.STATUS<>'CLOSED',BRANCHLIST.TYPE)

My expressions are:

=sum({<PERIOD={1},PROD_CODE={'1.913.683','4.552.765'}>}ORDER_FULL_QTY)

=sum({<PERIOD={2},PROD_CODE={'1.913.683','4.552.765'}>}ORDER_FULL_QTY)

Thanks, Simon

Brett_Bleess
Former Employee
Former Employee

Simon, any chance you can attach a sample app, I think that may help in this case get you what you need.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.