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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
mahnoor1279
Contributor III
Contributor III

Why the avg per day is not correct

Why the below table where the avg per day expression is same but shows different sum  for each dimension.


Count({<Flag={'Form','Account_Opening'}>} [REVIEWED_BY])
/
Count({<Flag={'Form','Account_Opening'}, DATE={"=WeekDay(DATE) <> 'Sat' and WeekDay(DATE) <> 'Sun'"}>} DISTINCT (DATE))

 

mahnoor1279_1-1749098067370.png

 

 

1 Reply
Vegar
MVP
MVP

The expression is not giving you the total on each row because it is taking the dimensions into consideration.  The counts will only be done on transactions that matches the table dimensions.

 

To get a total value, the same on each row, use TOTAL in your aggregation function. 

Count( {<your set criterias>} TOTAL YourField)