Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Query
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:
  • Cthies1965 Profile Picture
    4 on at
    Re: Identifying the contracts with large overlap of line items

    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.

  • teylyn1 Profile Picture
    358 on at
    Re: Identifying the contracts with large overlap of line items

    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.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Query

#1
mmbr1606 Profile Picture

mmbr1606 9 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 7

#3
SD-13050734-0 Profile Picture

SD-13050734-0 6

Overall leaderboard

Featured topics