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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

maxstring by dimension

Hi,

I have the following data.

what should the expression be if i want to create a bar chart and display by DELIV MONTH (axis x) for the max sales date of qty?

DELIV MONTH, SALES DATE, QTY
JAN                ,  10 JAN        , 10              

JAN                ,  11 JAN        , 12

JAN                ,   12 JAN       , 23

FEB               ,    22 FEB      , 22

FEB               ,    23 FEB      , 30

thanks.

4 Replies
Clever_Anjos
Employee
Employee

Use firstsortedvalue(QTY,-[SALESDATE])

Not applicable
Author

i was thinking.. COUNT(aggr( MAX(SALESDATE), qty))

Clever_Anjos
Employee
Employee

Maybe I´m losing something, my English is not very good.

You want

a) The date with maximum sales?

b) Sales from the maximum date?

Not applicable
Author

Hi;

I hope this can help you!!!

regards!!