Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Rank Total

Hi all,

I am struggling with something seemingly simple! I need to return the maximum rank from a table. e.g. from the table below, I need to return 6 on every record.

Sales AmountRank
102
204
305
456
51
153

Any help greatly welcomed as my brain is not functioning properly today!

Regards

Haider

1 Solution

Accepted Solutions
Not applicable
Author

Hi Haider,

I have a similar issue to swuehl so made an assumption.

See sample attached.

Kind Regards,

Footsie

View solution in original post

4 Replies
swuehl
MVP
MVP

It's not clear to me if Rank is a field or an expression in a chart object (with what dimensions)?

Maybe it's just like

=max(total Rank)

?

Not applicable
Author

Sorry, I should have been more clear. The column Rank in the table is calulcated based upon the Sales Amount in the first column and would have the following expression SUM([Sales Amount]). I need to calculate the maximum rank (6) and return it for each record. Hopefully that is more clear.

Not applicable
Author

Hi Haider,

I have a similar issue to swuehl so made an assumption.

See sample attached.

Kind Regards,

Footsie

Not applicable
Author

Perfect - many thanks. I was so close 😉