Forum Discussion
Sort slicer value based on the numeric Value
Did you hard coded the values in DIm_Table where we have all countries? I cant take hard coding as in actual data is in trillions.
Also, Sort by Column should have a single value for each country but my actual data look like this
hi, Anonymous
For the dim country table, you could Duplicate the fact table and then Group By it, and then add a conditional column for sort column in edit queries.
Either way, you need to define the rules in advance.
Regards,
Lin
- Anonymous6 years agoNot applicable
Hello Lin,
I have created a column
1Rank = RANKX(FILTER('Time','Time'[Region M3]=EARLIER('Time'[Region M3])),'Time'[Actual],,DESC,Dense)
but when I am trying to sort my column Region M3 based on 1Rank, I am getting this error
Can you help? I am trying to sort the values in Slicer for Region M3 and Market M15 though they are not getting used in any visuals.
- MCornish6 years agoResponsive Resident
You would need to have a 1to1 mapping from Region M3 to Rank1
- Anonymous6 years agoNot applicable
Is there any way to achieve it? as per my knowledge data is vast and there are multiple region_M3 and market_M15 and aggregation is an issue.