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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi Everyone,
I would like to ask for your help on computing for the previous value of a measure.
I have a table that looks like this:
To give context on this, the values above are base on the total score that are our exhibitors per event year are giving us which has the following formula
What I would like to attain is the previous value of the previous year just like this table:
I tried using this formula
Solved! Go to Solution.
This looks like a good candidate for OFFSET.
Try this:
PreviousNPSScore =
CALCULATE (
[NPS_score],
OFFSET (
-1,
ORDERBY ( research_kpi[Year], ASC )
)
)
This looks like a good candidate for OFFSET.
Try this:
PreviousNPSScore =
CALCULATE (
[NPS_score],
OFFSET (
-1,
ORDERBY ( research_kpi[Year], ASC )
)
)
Thank you so much for this. This has been solved😊