Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Max function

If I have 12 months in separate columns, and I want to find the highest sales amount by month? how would I do this?

14 Replies
Not applicable
Author

You can use like =Sum(Total Amount).

Not applicable
Author

Thanks, The actual data set is very large 53 weeks across the top around 120 entities,   took a look at your script, would I have to use the inline statement in the same way?  CrossTable (Months, Sales,1)   Load * Inline [ Entity, Jan, feb, Mar, Apr A, 1, 2, 3, 4 b, 10, 2, 30, 45 c, 5, 6, 7, 8 d, 6, 7, 8, 1 ]
tresesco
MVP
MVP

No. Inline is used to take sample data. You can replace the inline part like:

Crosstable(Months, Values, 1)

Load * From <YourDatasource>;

Not applicable
Author

what this Crosstable() do..?

tresesco
MVP
MVP

Hi Sneha,

Crosstable is used to transform table structure during load. For more information, please refer QlikView Reference Manual or help available with qv software.