Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
hi all,
i have following measure
Solved! Go to Solution.
Make sure the [year] column dragged to table visual comes from another table that has no relationship with the slicer.
Make sure the [year] column dragged to table visual comes from another table that has no relationship with the slicer.
Because it is a dynamic measure. You should try this:
test = IF ( HASONEVALUE(calender[year]); VALUES(TODAY(calender[year])-5 )
or this
test = IF ( HASONEVALUE(calender[year]); VALUES(TODAY()-5 )
or this
test = IF ( HASONEVALUE(calender[year]); VALUES(YEAR(TODAY())-5 )
I dont remember the proper way, but the idea is to use today's year instead of the five years less than the selected value.
TODAY dont work ![]()
Try using Max(Year), Max(Month), Max(Day) or something like that
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!