Forum Discussion
Date table - can't sort other columns by date Getting error
Hi All
I am so stuck on this. I created a date table with the code below but when I try to sort the Month column by the date so my dates show up in the correct order in charts, I get the error:
"We can't sort the 'Month' column by 'Date'. There can't be more than one value in 'Date' for the same value in 'Month'. Please choose a different column for sorting or update the data in 'Date'"
All the dates are unique so I can't figure out what else to do.
Hi Cathryn ,
Did you want to get result like below?
If so, you could set "sort by " on Month like below
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 Replies
- CathrynHelper III
Thank you. I tried your suggestion and it didn't work when I tried to then sort in my charts by year and then month.
But, I recreated the calendar table in a previous version of my pbix file and it created the date hierarchy for me and using that, it showed the months and years in order.
Thank you so much for your quick response.
Cathryn