Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem with an expression in a chart object

Hello,

I have an expression in a chart (pivot table) that uses

count(DISTINCT if(Invoice_Date <= date(aggr(max(Invoice_Date),ArtikelNr, FOKID)-14) , Invoice_Number))

It comes back with an incorrect value.

The result only works if there is only one Invoice that match the criteria OR if you select a specific invoice.

I have narrowed it down to this part

date(aggr(max(Invoice_Date),ArtikelNr, FOKID))

If I use this alone in another expression it comes back with the correct result so I know that it is working

Anyone know why this is not working properly?

br

Martin

0 Replies