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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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😊
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.