Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
get sum of maximum values
Hi,
Use Sum(Max(FieldName)) Or post your sample data and need with some more information
You can use Max(Sales) in expression .
If your field is as a dimension in chart, you can use sum (field_name)
Example dimension = customer name
Expression = max (ordervalue) This will give you max order value by customer.
Hi
use the rank function or dimension limits tab or max function
Let's say you have a Measure Field and a Dimension Field for that Measure
DIMENSION MEASURE
A 5
A 6
B 7
C 8
A 7
B 1
If you are trying to sum the maximum values you are trying to:
First: geting the maximum values:
A 7
B 7
C 8
so you want to get a LIST of maximum values --> thats in qlikview
AGGR(Max(Measure),Dimension) ---> something like SELECT MAX(MEASURE) GROUP BY DIMENSION
Then you want to make the sum so--->
SUM(AGGR(Max(Measure),Dimension) )
Hi nishani,
Please upload your application otherwise it is meaningless.