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

Need help

Hi all

I have problem with bar char. In stright table i got corrent sales and sales % of total, but when i use similar expresion on yearmonth dimension in bar char i got incoret values. What i need: in bar char for each month, char max and min value of bar must bee 100%, and all sales are distributed according to % of total sales. (like in atached picture).


Please help.


1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Disable the option Relative and change the expression to:

sum([Sales Volume 1000 Kgs/Ltrs/Pcs])/sum(total <[PERIOD]>[Sales Volume 1000 Kgs/Ltrs/Pcs])


See attached qvw.


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
MK_QSL
MVP
MVP

Change your expression as below

sum(TOTAL <PERIOD, [BRAND OWNER]> [Sales Volume 1000 Kgs/Ltrs/Pcs])

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Disable the option Relative and change the expression to:

sum([Sales Volume 1000 Kgs/Ltrs/Pcs])/sum(total <[PERIOD]>[Sales Volume 1000 Kgs/Ltrs/Pcs])


See attached qvw.


talk is cheap, supply exceeds demand
Not applicable
Author

thanks!!!

Not applicable
Author

Hi Sigitas

here it is

it is better not to use keys (PERIOD) in your graph

best regards

Chris