This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi,
I have a standard date column named "MyDate"
I want to create a custom column with year + quarter number, like: 2023 Q1
If I use this, it is working well: Date.Year([MyDate]) I am getting year number in my "MyQuarter" column
this is also fine: Date.QuarterOfYear([MyDate]) again I am getting quarter number in my "MyQuarter" column
but the combination not:
Date.Year([MyDate]) & " Q" & Date.QuarterOfYear([MyDate])
where I am doing a mistake
Thank you for your help
Hi AlienSx,
Thank you very much !!
= Table.AddColumn(#"Changed Type", "Year - Quater", each Number.ToText([Year])& " Q"&Number.ToText([Quater]))
Text.From(Date.Year([MyDate])) & " Q" & Text.From(Date.QuarterOfYear([MyDate]))
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.