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.
Dear Users,
I am new to Power BI. I have a date in a DD/MM/YYYY format and I want to create another column based on this column with just Month and year in Power BI, so the format of the new column is MMM-YY.
Solved! Go to Solution.
Hello, please try this solution below. Replace #"Added Custom" with your prior step and [Column1] with the column containing your date.
Table.AddColumn(#"Added Custom", "MMM-YY", each Date.ToText ( [Column1], "MMM-yy" ))
Use...
NewColumn = FORMAT('Table'[Date],"MMM-YY")
Thank you for your solution as well. now I have understood this, it is simpler as well.
Hello, please try this solution below. Replace #"Added Custom" with your prior step and [Column1] with the column containing your date.
Table.AddColumn(#"Added Custom", "MMM-YY", each Date.ToText ( [Column1], "MMM-yy" ))
Superb! thanks a ton!!
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.