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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello,
I am looking to create a measure that returns the value for a previous day, on any given selected date.
I have the following Measure but this returns the previous day from the last day of the dataset. So for example, if the latest date is 19th Sept it will return on 18th Sept. However, it doesn't work for earlier days.
Hi @Anonymous
Try modifying your measure like below.
Measure =
VAR lastRank = MAX ( 'V3 Measure for Changes'[rank] ) - 1
RETURN
CALCULATE (
[Total EOD Balance in GBP],
FILTER (
ALL ( 'V3 Measure for Changes' ),
'V3 Measure for Changes'[rank] = lastRank
)
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 16 | |
| 12 | |
| 10 | |
| 7 | |
| 6 |