I have a status column that returns a text status. The default sorting behavior is to sort text values alphabetically.
I want to display these status values in a strict order so, using a SWITCH statement, I created a virtual column that returns a number based on the text value. This VC is called StatusSort.
SWITCH([Status],
โMISSING DATAโ,1,
โNEED INJUNSโ,2,
โREADY TO RELEASEโ,3,
โRELEASED TO PULLโ,4,
โCLOSE INJUNSโ,5,
0)
In a table view, Iโd like to sort based on the VC StatusSort BUT, group based on status.
Because both Sort By and Group by have the option to sort, the sorting of sort by is overridden by the group by sorting.
I realize I could prepend these statusโ with a number and then the list would sort according to the leading number, but at times not all statusโ will apply and those that do would seem to be missing the others.
This seems okay
Until it becomesโฆ
2. NEED INJUNS
3. READY TO RELEASE
5. CLOSE INJUNS
Any suggestions as to how I can overcome this issue would be appreciated.
Thatโs the only option, Iโm afraid.
Yep.
User | Count |
---|---|
36 | |
31 | |
28 | |
23 | |
18 |