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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
HAmzehAF
Partner - Creator
Partner - Creator

Avg Sales Per Month

111871_pastedImage_0.png

 

how to do a (sales above or below averge per month ) bar chart

 i want to do like this chart to show above the avg or below the avg 

any help?

 

4 Replies
pravinboniface
Creator III
Creator III

@HAmzehAF It looks like you want to take an average over the entire period and then showing the difference vs each month.  Can you try the following please?

sum(Sales) - avg(Total Sales)

 

 

HAmzehAF
Partner - Creator
Partner - Creator
Author

hello,
i already did that but i want to get it like the table in the pic above :
sales above or below averge per month

pravinboniface
Creator III
Creator III

@HAmzehAF The initial picture looks like it has a dimension of month and then you need 2 measures.  One is 

sum(Sales) - avg(Total Sales)

The other is sum(Sales)

Chanty4u
MVP
MVP

Try this

Sum(Sales) - Avg({<Month=>} TOTAL <Month> Sales)

 

Already repied on other post please have a look