Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Qlikuser09
Creator II
Creator II

Average Daily sales by Year , Month and Day in a bar graph

Hi, I want to calculate the average daily sales by year and  Month in a drill-down dimension. 

Count({< DateType = {'Sales Date'}>} AC Number])-  gives the count of the sales for my data. Attached is the sample data . 

Labels (1)
1 Reply
Andrea_Bertazzo
Support
Support

Hi @Qlikuser09 

you need a Year, Month and Day field to do this. Then you can use a formula like:

Avg({$<Year={2022} >} Sum(sales))

to calculate the average of sales of year 2022.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up ! 🙂