Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Dear PowerBI-Community
I thought it was easy, but I don't know how.
I would like to sort this drop-down list accordingly.
Mon
Tue
Wed
...
How can I do this without affecting the rest of my modeling?
Thank you so much for your help!
Cheers
qwertzuiop
Solved! Go to Solution.
Hi @qwertzuiop ,
We can create a seprate calculated table to meet your requirement:
SortTable =
ADDCOLUMNS (
DISTINCT ( 'Table'[Wochentag-kurz] ),
"Index", SWITCH (
'Table'[Wochentag-kurz],
"Mo", 1,
"Di", 2,
"Mi", 3,
"Do", 4,
"Fr", 5,
"Sa", 6,
"So", 7,
0
)
)
Then set the name column sort by index column and create a relationship between the origin table.
Then we can use the name column in new sort table as the slicer field without changing the origin table.
BTW, pbix as attached.
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @qwertzuiop ,
We can create a seprate calculated table to meet your requirement:
SortTable =
ADDCOLUMNS (
DISTINCT ( 'Table'[Wochentag-kurz] ),
"Index", SWITCH (
'Table'[Wochentag-kurz],
"Mo", 1,
"Di", 2,
"Mi", 3,
"Do", 4,
"Fr", 5,
"Sa", 6,
"So", 7,
0
)
)
Then set the name column sort by index column and create a relationship between the origin table.
Then we can use the name column in new sort table as the slicer field without changing the origin table.
BTW, pbix as attached.
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@qwertzuiop You can do this in M (Power Query) or DAX in a calculated column. This post covers both options -> https://community.powerbi.com/t5/Desktop/Sort-by-Day-of-week/td-p/338758
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
20 | |
18 | |
15 | |
13 |
User | Count |
---|---|
37 | |
23 | |
21 | |
18 | |
12 |