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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help with graph showing percentages

hi all,

I have a graph which shows 3 percentages, by month.

At the moment, the percentages seem to be worked out on totals across ALL time - yet I need them specific to the month that is being shown.

If I select a particular month from a list box it is fine...

my expression is:

SUM(HOURS)

/

SUM( TOTAL HOURS)

simple enough..

so how can I make it relate to the TOTAL in just the month (one of the dimensions)?

Thanks in advance,

Matt

1 Solution

Accepted Solutions
Jason_Michaelides
Partner - Master II
Partner - Master II

Hi Matt,

TOTAL will remove all dimensions from the calculations, but you can put them back one by one.  Try:

SUM(HOURS)/SUM(TOTAL <Month> HOURS)

Hope this helps,

Jason

View solution in original post

3 Replies
Jason_Michaelides
Partner - Master II
Partner - Master II

Hi Matt,

TOTAL will remove all dimensions from the calculations, but you can put them back one by one.  Try:

SUM(HOURS)/SUM(TOTAL <Month> HOURS)

Hope this helps,

Jason

Not applicable
Author

Thank you Jason, and apologies for the delayed response.

It is just what I was looking for.

Matt

Jason_Michaelides
Partner - Master II
Partner - Master II

Coolio.