Forum Discussion
Hello Need help with week sorting
- 3 years ago
Press on your column where you have put the values for the slicer , you will find in column tools above something called sort column by , pressit and choose by weeksort column this should fix it
To sort weeks create a week id
Weekid =
VAR _y = Year(min('table'[Date]))
RETURN
WEEKNUM('table'[Date],2) + (YEAR('table'[Date]) - _min) *53
I am using slicer and I am using weekending column from above post. how would your column help me to sort weekending column?
- eliasayyy3 years agoMemorable Member
Can you please show me a sample of th results?
- davehardikkumar3 years agoHelper I
your soultion works fine. but what I want is I am trying to add different column on slicer and how can I sort it
in above screenshot, weeksortid is your calculation which is working fine but and I want to sort it by Weekendingtest column in slicer. how can I achieve that?
- eliasayyy3 years agoMemorable Member
Press on your column where you have put the values for the slicer , you will find in column tools above something called sort column by , pressit and choose by weeksort column this should fix it