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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

How to find difference/Compare for date field between two rows in table in power BI

Hi Team, I need to identify the different values between rows in Power Bi and highlight the difference value. Below table shows actualstartdate && Estimated Effort has difference value marked as Red. Can you please any one can help on this how can we achieve it. ThanksinAdvance

issue.PNG

 

5 REPLIES 5
Anonymous
Not applicable

HI @Anonymous,

Since power bi data model tables do not contain row and column index, you need to add specific filters to lockdown row contents to calculate. I'd like to suggest you share the logic about records that they need to be highlighted then we can coding formula based on these rules.

For example: 

You need to highlight get the difference between first and last milestone records based on the project group.

For this scenario, you can use project name to find out records and extract the first and last one records to calculate.

Regards,

Xiaoxin Sheng

lbendlin
Super User
Super User

what about the first line and the third line? these have different values too?

Anonymous
Not applicable

we need to compare first row with second row if there we find difference then we need to highlight it,

similarly 2nd and 3rd row......

third and forth row are different too but you didn't highlight that ?

Anonymous
Not applicable

Milestone is diff right we need to compare milestone and project

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors