
Contributor III
2020-03-15
09:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Second sort value with FirstsortedValue function
I am using the firstsortedvalue function to list regional performance by rank. Occasionally regions have the same number of failurestherefore retun null. 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)
641 Views
0 Replies
