Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression Average Total in Pivot

Hi,

I have a pivot chart with expressions that calculates the average customer visits as per the below formula:

avg(aggr(Count({$<DocType={'3'}>} DISTINCT CustCode),SmCode,Date))


My problem is that the total (partial sum) is not being calculated properly as it doesn't count the dates that have zero visits as shown below:

can you pls help me that?

0 Replies