Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
sonysree88
Creator II
Creator II

how to use max function as below please help me on this

Hi all,

I need the expression like below how to get ,Can you please give me solution for this.

Max(expression1 something like sales]/(Budget expression)-(discount expression))

Max((exp1)/(exp2))

i have to do the variance of 2 expression and i want to get the max values of it.

How do i achieve this.

Regards

Sonysree

1 Reply
swuehl
MVP
MVP

If your expressions are aggregations, you would need advanced aggregation and a grouping entitiy (dimension(s) 😞

Something like

=Max( Aggr( Sum(Sales) / Sum(Budget), Customer))