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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
BootCam
Creator
Creator

Ignore Selection in straight table with Aggr and Maxstring

Hi ,

I would like to ignore selections when [Field 1], [Field 2], [Field 3], [Field 4], [Field 5], [Field 6] is selected. With below mentioned calculation, it's not working.

=Aggr(
MaxString({<[Field 1]=,[Field 2]=,[Field 3]=,[Field 4]=,[Field 5]=
,[Field 6]=>}[Data Availability Quarter Year]),[Field 5])

 

Whats wrong in the calculation? Any help is appreciated.

Thanks,

BC

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar

Try this

=Only({<[Field 1], [Field 2], [Field 3], [Field 4], [Field 5]
, [Field 6]>} Aggr(
MaxString({<[Field 1], [Field 2], [Field 3], [Field 4], [Field 5]
, [Field 6]>} [Data Availability Quarter Year]),[Field 5]))

View solution in original post

2 Replies
sunny_talwar

Try this

=Only({<[Field 1], [Field 2], [Field 3], [Field 4], [Field 5]
, [Field 6]>} Aggr(
MaxString({<[Field 1], [Field 2], [Field 3], [Field 4], [Field 5]
, [Field 6]>} [Data Availability Quarter Year]),[Field 5]))
BootCam
Creator
Creator
Author

Awesome Sunny! Thanks a lot.

 

Best,

BC