Forum Discussion
Date Table and Bar chart sorting
- 3 years ago
I upload an example pbix here: https://file.io/xuQARjwJTpIQ.
I'm unable to sort the bar chart below (using data table) while I can easily sort the one above (without using data table).
Thank you for your help!
its really impossible to help you with what you have provided. please can you share your pbix? and can you show how you have set up your date table?
also what are you expecting, why is one better than the other, please provide enough information to assist.
- odraode_3 years agoFrequent Visitor
I upload an example pbix here: https://file.io/xuQARjwJTpIQ.
I'm unable to sort the bar chart below (using data table) while I can easily sort the one above (without using data table).
Thank you for your help!
- vanessafvg3 years agoCommunity Champion
hi there, the issue is that you are using the month name column on the date hierarchy, but month name is a string, not a number, and so you have to tell power bi how to sort the month name .
See file attached but what I did was on the month name column in the date 2 table i set the month name to use the month column to sort, so that it understood the order i expect, and that sorted the issue out.