Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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 |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 33 | |
| 31 | |
| 29 |