March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I am getting data using the direct query and wanted to create a fiscal year range from date but it does not work from below DAX it gives
2022-2023.0 and similar redundant
This should work, but can be refactored
Fiscal Year =
VAR CurrentYear = YEAR(cmhc_drawscheduleitem[cmhc_date])
RETURN
IF(
MONTH(cmhc_drawscheduleitem[cmhc_date]) >= 4,
CurrentYear & "-" & (CurrentYear+1),
(CurrentYear-1) & "-" & CurrentYear
)
User | Count |
---|---|
119 | |
77 | |
58 | |
52 | |
46 |
User | Count |
---|---|
171 | |
117 | |
63 | |
57 | |
51 |