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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
jgreen95
Contributor III
Contributor III

FirstsortedValue returns null (show both results)

I am using the firstsortedvalue  to list regional performance by rank. Occasional regions have the same number of failures, is there a way to include a second priority sorting factor (e.g. alphabetical) as i want to list both regions when they have the same value and i don't mind which way round.

Current formula i am using: 

FirstSortedValue(Region, -Aggr((COUNT(DISTINCT{<[Inspection Outome]={"Failed (Higher Risk/Dangerous)"},
[Inspection Logged-Notification Created Date.MyCalendar1.WeekEnd] = {">$(=[Current Week])"}>} INSPECTION_NOTICE_ID )), Region),6)

Labels (2)
0 Replies