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 All,
I have one Date column, So i want create FN year lastday calculated column by using my date column.
here, i'm sharing my example.
Date FNYear
01-01-2019 31-03-2019
02-01-2019 31-03-2019
03-01-2019 31-03-2019
04-01-2019 31-03-2019
05-01-2019 31-03-2019
06-01-2019 31-03-2019
31-03-2019 31-03-2019
01-04-2019 31-03-2020
02-04-2019 31-03-2020
03-04-2019 31-03-2020
04-04-2019 31-03-2020
Adv thanks
Naveen
Solved! Go to Solution.
Hi @Anonymous ,
In your scenario, we can use the following DAX query:
FNYear = IF ( MONTH ( Table1[Date] ) <= 3, DATE ( YEAR ( Table1[Date] ), 3, 31 ), DATE ( YEAR ( Table1[Date] ) + 1, 3, 31 ) )
Please refer to the following result:
Best Regards,
Teige
Hi @Anonymous ,
In your scenario, we can use the following DAX query:
FNYear = IF ( MONTH ( Table1[Date] ) <= 3, DATE ( YEAR ( Table1[Date] ), 3, 31 ), DATE ( YEAR ( Table1[Date] ) + 1, 3, 31 ) )
Please refer to the following result:
Best Regards,
Teige
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 |
---|---|
99 | |
68 | |
44 | |
37 | |
29 |
User | Count |
---|---|
156 | |
92 | |
62 | |
44 | |
41 |