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

Date Dimension

Hi everyone,

i am trying to create a table with two columns and just one row:  i want a row where i have the status of revenues at the maximum date

 in my case  the filed is 'status' and the record 'Validated' so the output should be :

data , status 

maximum(Date) , validated

but  when i try to use in the table the Dimension  =Date(Max(DataPL))  it does not work,.

 

Any suggestions?

Thanks in advanced

Alessandra

1 Solution

Accepted Solutions
Kushal_Chawda

see the attached.

 

If works please mark the answer as correct

View solution in original post

12 Replies
Kashyap_R
Partner - Specialist
Partner - Specialist

Hi

when we use aggregation it will be considered as measure so you have to give it as measure.

Go to presentation and unselect total, only if you don't want the total row.

Hope this helps

Thanks

 

Thanks and Regards
Kashyap.R
AleCruc94
Contributor III
Contributor III
Author

yes ok,  in this way it works!

 
 

but If I want just the status as the maximum date would be included? (as in a sort of the set analysis but with a dimension)..

Kashyap_R
Partner - Specialist
Partner - Specialist

Hi

Try this

Aggr(MAx(Date),Status)

Thanks

Thanks and Regards
Kashyap.R
AleCruc94
Contributor III
Contributor III
Author

in this way I have just the data and not the status

Kashyap_R
Partner - Specialist
Partner - Specialist

Hi

Can u please share the QVF, I will try and get u back

Thanks

Thanks and Regards
Kashyap.R
tresesco
MVP
MVP

Try like:

Dimension:          Date(Max(Total Date))

Exp:                         FirstSortedVaule(Status , - Date)

AleCruc94
Contributor III
Contributor III
Author

I have upload the qvf do U see it?

AleCruc94
Contributor III
Contributor III
Author

sorry and this is the excel needed

Kushal_Chawda

may be this

Dimension:  Date(aggr(Max(total Date),Date))

Expression: FirstSortedVaule(Status , - Date)