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 have a Dates Table with FiscalYear column set from 2020 to 2060
The measure CurrentFiscalYear =
Solved! Go to Solution.
Thank you for helping....yes we do Fiscal Year
I used:
try this :
FiscalYearTest =
VAR currentfiscalyear = year(today())
RETURN
Filter (
distinct (Dates[FiscalYear] ) ,
Dates[FiscalYear] < = currentfiscalyear
)
let me know if it works for you
Thanks, this does not return the Year after the Current Fiscal Year. I am looking for the table to return 2020-2025. Basically Current Fiscal Year +1 year
try this :
FiscalYearTest =
CurrentFiscalYear = IF(MONTH(TODAY()) >= 7, YEAR(TODAY()) + 2, YEAR(TODAY()) +1 )
RETURN
Filter (
distinct (Dates[FiscalYear] ) ,
Dates[FiscalYear] < = currentfiscalyear
)
so if i understand correctly,
if im in month >=7, then my current fiscalyear should be 2025, and thus i need to get data from 2020 till 2026
however,
if the month <=7 then my currentfiscal year is 2024 and thus i need to get the data from 2020 till 2025.
am i right ?
Thank you for helping....yes we do Fiscal Year
I used:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |