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 All,
I have two columns date and values. I would like to generate a new column which will show previous days values. How can i achieve that?
Thanks and Regards
Solved! Go to Solution.
Hi @Anonymous
This could help:
Measure 3 = CALCULATE(MAX(Table1[Values]),FILTER(ALL(Table1),[Date]=MAX(Table1[Date])-1))
Hi @Anonymous
This could help:
Measure 3 = CALCULATE(MAX(Table1[Values]),FILTER(ALL(Table1),[Date]=MAX(Table1[Date])-1))
@Anonymous ,
Try this:
Yesterday =
var _cdate = MAX('Table'[date])
var _calc = Calculate(MAX('Table'[values]),ALL('Table'),'Table'[date]<_cdate)
return _calc
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Proud to be a Super User!
Dear @Anonymous
I hope the following link will help you
https://community.powerbi.com/t5/Desktop/Previous-date-values/td-p/134347
Regards,
Munna
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |