Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
martapardo
Contributor
Contributor

set analysis max export date

Hi, I have a sheet which will have 3 tables and two of them should take data belonging to the maximum export date and the other the other one all the data not filtre , I was trying in each measure do set analysis filtering by this condition, since I have the max(export date) as a variable saved previously but it is not working.

The code is :

=aggr(count(DISTINCT {<curso_PORCENTAJE = {'1'}, curso_Fecha_exportacion = {'Fecha_max_exportacion_1'}>} curso_Usuario), curso_curso_nombre)

The important notation is:

 

curso_fecha_exportacion = export date of each raw in my table

Fecha_max_exportacion_1 = maximum export date of all table(I have already compute in the data model)

and before it was like that , it was working perfectly:

=aggr(count(DISTINCT {<curso_PORCENTAJE = {'1'}>} curso_Usuario), curso_curso_nombre)

 

I have trying xtracting the month since the only thing that it changes is the month not the year but still not working I have try also setting Date(export_date) because I though it could be the format but still not working...

0 Replies