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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi, I have table like below, for each Loan ID, there are values assigned to it for every date.
What I need is, a new calculated column to be created which will store the value of previous day for the same loan.
What I have tried so far are below two DAX but it is populating Blank value only throughout.
Solved! Go to Solution.
@Anonymous , What you showing should work as a measure with date table.
In case you need a column
Last Day = sumx(Filter(table, [Date] =earlier([Date])-1 && [loan id] = earlier([loan id])), [Value])
Day Intelligence - Last day, last non continous day (Column /measure)
https://medium.com/@amitchandak.1978/power-bi-day-intelligence-questions-time-intelligence-5-5-5c3243d1f9
Please provide your feedback comments and advice for new videos
Tutorial Series Dax Vs SQL Direct Query PBI Tips
Appreciate your Kudos.
@Anonymous , What you showing should work as a measure with date table.
In case you need a column
Last Day = sumx(Filter(table, [Date] =earlier([Date])-1 && [loan id] = earlier([loan id])), [Value])
Day Intelligence - Last day, last non continous day (Column /measure)
https://medium.com/@amitchandak.1978/power-bi-day-intelligence-questions-time-intelligence-5-5-5c3243d1f9
Please provide your feedback comments and advice for new videos
Tutorial Series Dax Vs SQL Direct Query PBI Tips
Appreciate your Kudos.
Previous Day Value =
var _dt = Table[Date]
RETURN
CALCULATE(
MAX( Table[Value] ),
ALLEXCEPT( Table, Table[Loan ID] ),
Table[Date] = _dt
)
Did I answer your question? Mark my post as a solution! Proud to be a Super User!
Connect with me!
Stay up to date on
Read my blogs on
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |