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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
300sss300
Creator
Creator

Name having max value in table using Set Analysis

I am trying the following set analysis to get the name of branch with highest sale but its not working

Max({<Year={'2019'},Month={'Feb'},Day={'28'}>} B_N)

It only gives numerical value if we use

Max({<Year={'2019'},Month={'Feb'},Day={'28'}>} Sales)

Date Fields:

Date    B_N     Sales

Labels (1)
1 Solution

Accepted Solutions
Sergey_Shuklin
Specialist
Specialist

Hello!

There is no any clue if B_N contains uniq values or not, so you can use any of this methods:

For uniq values

max_branch_pic2.png

For non-uniq values

max_branch_pic1.png

In the attached file values are different beacuse I've reloaded it.

View solution in original post

1 Reply
Sergey_Shuklin
Specialist
Specialist

Hello!

There is no any clue if B_N contains uniq values or not, so you can use any of this methods:

For uniq values

max_branch_pic2.png

For non-uniq values

max_branch_pic1.png

In the attached file values are different beacuse I've reloaded it.