Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. 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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 68 | |
| 34 | |
| 33 | |
| 30 |