Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi
I have the below table
I don't have the separate date column as this data is very small. My data is based on the calendar year. I sort the month year based on month number and visualize the month year vs value, getting below graph
My axis (mont year) is not sorting. I have the data from June 2021 - April 2022. This is monthly data. My data source is excel, and next month we change the data and it becomes July 20222 - April 2022.
I need to sort this month's year in the graph (June 2021 - April 2022) and also ensure it sorts automatically if the date is updated.
Could you please advise?
Solved! Go to Solution.
@Anonymous you need to set the "sort by" column for your Month-Year column to "MonthNumber".
From Data view, select the "Month-Year" column and set the "Sort By" column to "MonthNumber".
EDIT - you may also want to create a column in the format YYYYMM which combines year and monthnumber, and sort by this column instead. That will enable proper sorting across calendar years.
Below is an example with a similar dataset.
The marked solution does not work.
you need to use the following method, by multiplying the Year by 100 + number of month..
here is a video on it:
https://www.youtube.com/watch?v=Oq5WOmo94_Q&ab_channel=BILand
@Anonymous you need to set the "sort by" column for your Month-Year column to "MonthNumber".
From Data view, select the "Month-Year" column and set the "Sort By" column to "MonthNumber".
EDIT - you may also want to create a column in the format YYYYMM which combines year and monthnumber, and sort by this column instead. That will enable proper sorting across calendar years.
Below is an example with a similar dataset.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
84 | |
83 | |
64 | |
61 | |
55 |
User | Count |
---|---|
171 | |
109 | |
105 | |
73 | |
71 |