Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
sqlpuzzle
Contributor III
Contributor III

Nested Aggregation not allowed

Hi,

I am trying to add a Text to my chart to show a max value of a field.

But getting an error Nested Aggregation not allowed. Is there a way to fix it.

Nested_Agg.PNG

 

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar

Is this what you want?

image.pngIf this is what you want, try this

='Max Date:' & Date(Max(OrderDate))

 

View solution in original post

2 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

You'll need to use an aggr() function when you have a nested aggregation.  See https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/ChartFunctio...

 

Post your expression here if you want a suggestion.

 

-Rob

sunny_talwar

Is this what you want?

image.pngIf this is what you want, try this

='Max Date:' & Date(Max(OrderDate))