Forum Discussion
rpinxt
3 years agoSolution Sage
Field Parameters sort order
First of Field Parameters are great....but there is a really anoying downside when switching between fields. The sorting breaking..... I see alredy complaints about that from a year ago, but has it...
- 3 years ago
Oh my I had an epiphany 😆
I manged to create a sort measure:As you see the heading for this field stays the same and this way the sorting gets not broken.
But the SortValue field takes the value of the field parameter.
Did this with an IF statement on the prm sort order :
SortValue = IF(SELECTEDVALUE(prm_Measure[prm_Measure Order]) = 0,[#Deliveries],[LastQty])So I only had 2 options, 0 and 1.Linked both options to their corresponding base measure (like you also do in the parameter).Now the SortValue field has always the same value as the parameter field but the heading stays the same and thus the sorting setting will not be broken 😄Ah yes you can put this field in a graph with the tooltips.Won't do anything but it wil show up as an option to sort on! 😉
datamomgit
2 years agoFrequent Visitor
This solution really helped us! Thanks!