Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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 II
Creator II

@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 II
Creator II

@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