Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.