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
I have a table where similar data gets pulled in every day. I am in need of getting a graph which represents difference between today's and previous day data ( so 0, if previous date doesnt exist).
Idea in my mind is to pull previous day data from previous day row and substract with current row data, put it in another column (+/-), present a graph based on that column.
First 3 column exist, I need to generate DiffFromPreviousDay, how do I do it?
| Project | date | Numbers | DiffFromPreviousDay |
| a | 28/04/2020 | 10 | 0 |
| b | 28/04/2020 | 21 | 0 |
| c | 28/04/2020 | 23 | 0 |
| d | 28/04/2020 | 21 | 0 |
| e | 28/04/2020 | 22 | 0 |
| a | 29/04/2020 | 10 | 0 |
| b | 29/04/2020 | 22 | 1 |
| c | 29/04/2020 | 23 | 0 |
| d | 29/04/2020 | 20 | -1 |
| e | 29/04/2020 | 22 | 0 |
Solved! Go to Solution.
Hi @itsmeshankar1 ,
try this sample out:
https://drive.google.com/file/d/1mQERw_bnJPVmo2-mqtY_aT_6RfBTEbuC/view
Hope it helps.
Cheers,
Marco
Hi @itsmeshankar1 ,
try this sample out:
https://drive.google.com/file/d/1mQERw_bnJPVmo2-mqtY_aT_6RfBTEbuC/view
Hope it helps.
Cheers,
Marco
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 |
|---|---|
| 50 | |
| 47 | |
| 29 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 88 | |
| 74 | |
| 39 | |
| 26 | |
| 24 |