Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Deqmin
Frequent Visitor

How to display by month year (e.g. March 2018) in sankey and with correct monthly sequence order

Hi,

I'm having difficulty to show data Oct 2018 - Oct 2019 by display month year on Sankey chart with right sequence.

Currently it mix with Oct 2018 and Oct 2019 and the month sequence order is mix, i wish it to display according the month and year in chart.

Please help, thanks.

 

2019_10_25_17_05_46_Power_BI_v.2.0_Power_BI_Desktop.png2019-10-25 17_09_48-Power BI v.2.0 - Power BI Desktop.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Create a sort month column.

sortMonth = format(date,"YYYYMM")

In Model, view make it as the sort column for Month year column

Sort_by_column.png

 

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.

My Recent Blog - https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

Create a sort month column.

sortMonth = format(date,"YYYYMM")

In Model, view make it as the sort column for Month year column

Sort_by_column.png

 

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.

My Recent Blog - https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hi Amit,

 

Is it possible to make Sankey show correct sequence follow by Index? Currently it show random month, i wish it to show Month 2018 then Month 2019 from top to bottom. Please help, Thanks.

Month Mix.png Index.png

Hi @Deqmin ,

 

Sorting the date column by index should work.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi,

I did sort by Index, but still the output displayed show month year below 😞 

Is there a way to help this? 

By Index.PNG

Thank you so much for your help, problem solved.Heart

 

Month Year Sorting in Sankey.PNGSankey.PNG

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.