Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I'm looking to create a fiscal year column from a date entry but am having difficulty finding a current solution that matches my goal. For example, I'm looking for "FY21, 1st Qtr" from the date 7/1/2020 12:52:00 AM. The fiscal year begins July 1st.
Thanks in advance for your help!
Solved! Go to Solution.
You could do this with a calculated column like the following
Fiscal Qtr =
var year = YEAR('Date'[Date])
var month = MONTH('Date'[Date])
var quarter = QUARTER('Date'[Date])
var fiscal_year = if (month >= 7, year + 1, year)
var fiscal_year_name = "FY" & mod(fiscal_year, 100)
var fiscal_quarter = if(quarter > 2, quarter - 2, quarter + 2)
var fiscal_quarter_name = SWITCH(fiscal_quarter, 1, "1st Qtr",2,"2nd Qtr",3, "3rd Qtr", 4, "4th Qtr")
return fiscal_year_name & " " & fiscal_quarter_name
Hello @Anonymous
This may help you.
https://blog.enterprisedna.co/filter-your-data-by-unique-financial-years-quarters-power-bi-modeling-technique/
You could do this with a calculated column like the following
Fiscal Qtr =
var year = YEAR('Date'[Date])
var month = MONTH('Date'[Date])
var quarter = QUARTER('Date'[Date])
var fiscal_year = if (month >= 7, year + 1, year)
var fiscal_year_name = "FY" & mod(fiscal_year, 100)
var fiscal_quarter = if(quarter > 2, quarter - 2, quarter + 2)
var fiscal_quarter_name = SWITCH(fiscal_quarter, 1, "1st Qtr",2,"2nd Qtr",3, "3rd Qtr", 4, "4th Qtr")
return fiscal_year_name & " " & fiscal_quarter_name
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
123 | |
79 | |
49 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |