Forum Discussion
Field Parameters sort order
- 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! 😉
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 :
- Mo_2 years agoAdvocate I
rpinxt Great idea to solve this issue. There is another way I saw in a youtube video by Christine Payton where she uses bookmarks to get the right sorting order. I found this very creative, but your solution is more fitting for my use case.
Thank you!