Forum Discussion
PowerBI sort by Month Number
- Anonymous4 years ago
Hi Anonymous ,
Please try below steps:
1.Create a month table, and add a index column , then sort the month column by indexMonth_sort:
2.Create a relationship between your month table and fact table
Fact:
Mode:
3.Then add a line chart
Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Can you show me your date table after adding the DateSortColumn?
So I have tried your DAX two different ways as I couldn't close brackets. I get the same error for both.
- lukiz844 years agoMemorable Member
whats the second one? the first is correct and should work, i use the exact same setting in my date table... so it's weird
- Anonymous4 years agoNot applicable
I tried the correct one and it is still giving the same error 😞
I have multiple years, could this be the issue?
- lukiz844 years agoMemorable Member
no, that's the default case ... can you send the pbx file?