Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Displaying latest Process Date

I have a field named Daily Process Date. I am trying to display only the latest date in a straight table, but keep getting 'Error in Calculation'.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

If you're using aggregation in calculated dimension (in this case max), make sure to use aggr():
=aggr(Max(Process_Date_Field), Field)
I can't tell without knowing more details what field you should use for aggregation. Think of what you would use if it was GROUP BY. It could be a list of fields as well.

View solution in original post

3 Replies
Not applicable
Author

What is the expression you are using? "=Max(Process_Date_Field)" should probably do it.

Not applicable
Author

That is what I am using, but am getting Error in Calculated Dimension

Anonymous
Not applicable
Author

If you're using aggregation in calculated dimension (in this case max), make sure to use aggr():
=aggr(Max(Process_Date_Field), Field)
I can't tell without knowing more details what field you should use for aggregation. Think of what you would use if it was GROUP BY. It could be a list of fields as well.