Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
rcandeo
Creator III
Creator III

How can I show this percentual?

I have a simple barcode graphic that has in it dimension year/month and status. The expression makes a sum of quantity sold.

I need to show in each month how much is sold for each status in percentual (for this I used relative).

The problem is that it works for one month. If I select more that one month, the percentual is distributed for all months, and I need to have 100% in each month.

How can I do that?

1 Solution

Accepted Solutions
josgil
Contributor
Contributor

Try:

Sum

(Quantity) / SUM(total <DIM> Quantity) Use number (no relative) with % as format

Where DIM it's the name of your first dimension variable or the name of group





View solution in original post

5 Replies
blaise
Partner - Specialist
Partner - Specialist

sum(<Status> Quantity)

rcandeo
Creator III
Creator III
Author

Is this the right syntax? Is not working...

josgil
Contributor
Contributor

Try:

Sum

(Quantity) / SUM(total <DIM> Quantity) Use number (no relative) with % as format

Where DIM it's the name of your first dimension variable or the name of group





rcandeo
Creator III
Creator III
Author

Perfect. Thank You!

Jill_Masinde
Support
Support