Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Stack graph problem

Hi,

I am using a Stack Graph.

The Dimensions are

  • Month
  • Company Name


My objective is to show the Market Share of each company for a particular month.

I am using the following expression :

sum(sales)/sum(total sales).

However this does not gives me the desired result as every month is not 100% but some other percentage of the total(e.g 13%)

Even the following Expression does not seems to be working :

sum(sales)/sum(total <Month> sales).

Please let me know if you need more information.

Regards,

Rohit

2 Replies
Not applicable
Author

My guess, from what you're describing, is that you've got the 'relative' check-box selected for the expression on the expressions tab.

Uncheck it, and the world will go back to normal.

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

sum(sales)/sum(total <Month> sales

works for me, with, as Ryan suggested, relative unchecked. Check "show in percent" in Numbers tab to get display in %.

-Rob