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.
Hey all
I am just seeing if there is a way to edit a date column with the format of DD/MM/YY to just be MM/YY? The reason for this is because I am trying to filter spend for a given month but it's hard to do when everyone has a different bill day.
Solved! Go to Solution.
Hi,
In the Calendar Table, create 2 additional columns for Year and Month
Year = YEAR(Calendar[Date])
Month = FORMAT(Calendar[Date],"mmmm")
Drag these columns to your visual
You may also try this calculated column in the Calendar Table
Year-Month = FORMAT(Calendar[Date],"YYY-MM")
Hope this helps.
If you need this for filters alone, the dates field when used in a Slicer visual allows other useful features like dates between (start and end), or Relative (like, in the last/this/next x days/months/years, etc).
Hi,
In the Calendar Table, create 2 additional columns for Year and Month
Year = YEAR(Calendar[Date])
Month = FORMAT(Calendar[Date],"mmmm")
Drag these columns to your visual
You may also try this calculated column in the Calendar Table
Year-Month = FORMAT(Calendar[Date],"YYY-MM")
Hope this helps.
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 |
---|---|
113 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |