March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
Hello,
I am having trouble sorting the dates Below. I created an additional column based off our Ship date. The column I created is
Sort_YearMonth(Ship) = 'FBAP Event Detail Fact'[ship_dt].[Year] * 100 + 'FBAP Event Detail Fact'[ship_dt].[Month]
Solved! Go to Solution.
Hi
Could I ask, have you attempted to sort by the visual and it has sorted them alphabetically.
If so, I would suggest using a data table, linking to the date in your table. You are able to create custom columns from this to display the date in your desired format I.e. 202010 or 2020 - April/ yyyy-mmm
Hi,
You should ideally create a Calendar Table with Year and Month extracted via these calculated column formulas
Year = year(calendar[date])
Month name = format(calendar[date],"mmmm")
Month number = month(calendar[date])
Sort the Month name column by the month number column. Ensure there is a relationship from the ship_dt column to the date column of the calendar table. To the x-axis of your visual, drag Year and Month from the Calendar table.
Hope this helps.
Hi
Could I ask, have you attempted to sort by the visual and it has sorted them alphabetically.
If so, I would suggest using a data table, linking to the date in your table. You are able to create custom columns from this to display the date in your desired format I.e. 202010 or 2020 - April/ yyyy-mmm
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
85 | |
69 | |
54 | |
45 |
User | Count |
---|---|
204 | |
105 | |
98 | |
65 | |
54 |