The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi All,
Please i unable to sort the month and year data based on the month number through sorting.
Iam using the 2019 and 2020 data while assinging the month numbers for both the year January it is coming month number as 1.
Do we have any method to follow that if i assign should get 2020 january month as 13, February 2020 as 14 so on !!
Thanks for your help
You want Sequential, https://community.powerbi.com/t5/Quick-Measures-Gallery/Sequential/m-p/380231?search-action-id=10196...
Hi @Anonymous ,
Am I assuming correctly that you are trying to display more than 12 months on the same axis? If that's the case, I normally create a new text column with dates in YYYY/MM format and sorting those in alphabetical order. Hope that helps.
Best,
Tom
no i presenting 14 months data and it is not working that approach. January 2019 as coming as 1 and also January 2020 also coming as 1, which is resulting the presentation of data not coming in sequential order
hi @Anonymous
Just drag [Year] and [Month] in the visual together, as below, then sort by Year Month asc
and you could also use Sort By column in the power bi desktop.
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
https://radacad.com/sort-by-column-in-power-bi
Regards,
Lin