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
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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
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
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.