Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
itsmeshankar1
Regular Visitor

Requirement to get data from another row based on previous day with given date

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?

 

ProjectdateNumbersDiffFromPreviousDay
a28/04/2020100
b28/04/2020210
c28/04/2020230
d28/04/2020210
e28/04/2020220
a29/04/2020100
b29/04/2020221
c29/04/2020230
d29/04/202020-1
e29/04/2020220
1 ACCEPTED SOLUTION
MarcoPessina
Resolver IV
Resolver IV

1 REPLY 1
MarcoPessina
Resolver IV
Resolver IV

Hi @itsmeshankar1 ,

try this sample out:

https://drive.google.com/file/d/1mQERw_bnJPVmo2-mqtY_aT_6RfBTEbuC/view

 

Hope it helps.

Cheers,

Marco

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors