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: 
Not applicable

Total average as measur

Hi,

Problem is how to create a measure of total average. I hava fields Date and Visits. I want to display average per day calculated on total numbers on the graph. Problem is that if I make a selection of Dates then average is calculated on the basis of the selection. Expression that I try to use is following:

SUM(Total  [Car Chapter Total Visits])/Count(Distinct Week(Date))

How can I make this work?

BR

Meelis

2 Replies
MK_QSL
MVP
MVP

SUM({<Date=>}Total  [Car Chapter Total Visits])/Count({<Date=>}Distinct Week(Date))

or

SUM({1}Total  [Car Chapter Total Visits])/Count({1}Distinct Week(Date))

rubenmarin
MVP
MVP

Hi, not sure to understand but you tried this?:

SUM(Total  [Car Chapter Total Visits])/Count(Total Distinct Week(Date))