Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
How to transform the month to show in "MMM" (Jan, Feb) abbreviations and show the corresponding year in the x-axis?
Thanks.
Solved! Go to Solution.
you can use FORMAT(date,"mmm")
https://learn.microsoft.com/en-us/dax/format-function-dax?wt.mc_id=DP-MVP-5004616
Proud to be a Super User!
Additionally, create a Calendar Table.
Additionally, create a Calendar Table.
you can use FORMAT(date,"mmm")
https://learn.microsoft.com/en-us/dax/format-function-dax?wt.mc_id=DP-MVP-5004616
Proud to be a Super User!
After create to "MMM" format, how to sort the month in correct order?
create a number column like 202401, 202402, 202403.
=year(date)*100+month(date)
then sort the month name column by the number column
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
102 | |
101 | |
78 | |
70 | |
64 |
User | Count |
---|---|
140 | |
106 | |
100 | |
83 | |
73 |