web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Identifying the contra...
Power Apps
Unanswered

Identifying the contracts with large overlap of line items

(1) ShareShare
ReportReport
Posted on by 4

Hello,

I have the following challenge:

I have a list of contract line items:

Contact IDLine item IDDescription
1000110Item A
1000120

Item B

1000130Item C
1000210Item D
1000220Item A
1000310Item A
1000320Item B
1000330Item D
1000340Item E
1000410Item F

 

I would like to identify for each Contract ID which other contract have an overlap of line item Description of more than 49%.

So the expected out come should be the following:

Base Contract IDComparison Contract IDPercent Overlap
100011000366.6
100021000150.0
1000210003100.0
100031000150.0
100031000250.0

 

I hope that something like this is possible with M code and would appreciate any advice.

Thank You.

Categories:
I have the same question (0)
  • teylyn1 Profile Picture
    362 on at

    That kind of analysis is not easy to do with M code.  It is not clear how you calculate the overlap. This would typically be done in the data model, not in Power Query.

  • Cthies1965 Profile Picture
    4 on at

    Hello,

    update to this post...

    Solution has been provided by a post available here:

    https://community.fabric.microsoft.com/t5/Power-Query/Identifying-contracts-with-a-large-over-lap-of-line-items/m-p/4022505#M131789.

    Thanks again to @AlienSx.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard