Forum Discussion
Sort the visualization by month
- 4 years ago
This is because your MonthNum has different values for Same Month
e.g. Jan has 169,183,197 etc causing issues while sorting
to make this work your each text value must have the same Numeric value for sorting.
Try create a calculated column to give you values
- Jan =1
- Feb =2
and so on.
Then apply sort by option and it will work for you.
Note: This calculated column should be done in Power Query or in Data Source.
This should work.
Make sure that you don't have any trailing or leading spaces in your data.
Try Trim before applying this step.
Trimmed month column. Still showing the numbers: 15, 14, 1 only 😞
- FarhanAhmed4 years agoCommunity Champion
is it possible for you to share the PBIX file after removing sensitive data
- tuncay4 years agoHelper III
Unfortunately, this is not possible. Maybe I could try doing something else. Any ideas?
edit: I had to add a blank space after the values 😄 (e. g.: "Jan ") works now, thank you
- FarhanAhmed4 years agoCommunity Champion
See this file helps.
Also make sure that Trim, Clean is being applied also check the case sensitivity of the data itself while comparing.
if possible kindly share the screenshot of the calculated column like below