This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
In Power BI is it possible to refer the new column previous row value?.
I have an excel that looks like this with columns Date, Actual, Planned and Expected
The formula for Expected column is as above
How can I get the values of Expected column if I port the same excel in Power BI.
I have referred to a couple of solutions for accessing a previous row value but none of the solutions is referring to accessing the same column of the previous row.
Thank you in Advance.
Rahul
Solved! Go to Solution.
Kindly find my results:
Pbix attached.
Kindly find my results:
Pbix attached.
@rahul_sudhakar , Try like
Expected =
var _maxA = maxx(filter(Table, not(isblank(table[Actual]))),Table[Date])
return
CALCUALTE(sum(Table[Actual]), filter(all(Table),Table[Date]=_maxA)) + CALCUALTE(sum(Table[Planned]), filter(all(Table),Table[Date]>=_maxA && Table[Date]<=max(Table[Date])))
HI @rahul_sudhakar ,
You can check this blog to get values from previous row in the same column.
Regards,
Harsh Nathani
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 33 | |
| 23 | |
| 23 |