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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
bbr113
New Member

Find Previous Data Point and Date

Hello,

 

I am new to Power BI and I am inexperienced in creating calculated columns and measures.

 

I have a database that contains dates, vehicle equipment numbers, and km readings from the odometers. So far I have the report below. I need a column that contains the last km reading before the current one and the date associated with it so that we can compare how much the kilometers have increased since the last data entry. I have tried some soultions that I have found on other forums but nothing seems to work so far.

 

Does anyone have a solution to this problem?

Capture.PNG

2 REPLIES 2
v-xicai
Community Support
Community Support

Hi  @bbr113 ,

 

Do you need create column or measure to get the previous date ?

 

Best regards

Amy Cai

v-xicai
Community Support
Community Support

Hi @bbr113 ,

 

I am not sure what desired result would you want, could you please share your sample data or desired output  screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.

 

Best Regards,

Amy

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.