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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

How to filter a table to only show where a specific entry (a string) appears more than once?

I have the following table in a Power Bi Report:

External IdentifierEntity IdSourceEntity Name
00/0000/0dc7706b1-6406-4a71-bdda-d6891c411c60AJohn Smith
80909090dbe1894-c972-491b-af87-28f935d73e9eBABC Company
12345678cf955264-8a21-4640-93fb-b0974831033fDAmy Small
006f38ee9-d75d-4adb-ab10-b75f32c47da1CJeff West Family Trust
00/0000/0a248692e-763f-41c3-abf4-26917a55a39cAWorld Bank
8090909ee43373c-cdf9-4a24-9384-4e2f6be44400BRichard James
0146fcb63-5940-4eb4-84ef-fad33b42841cCCCC Productions
0e13cce4e-c792-4010-90c2-e6f1a34ed66cBMary Davis
00/0000/0b4146ae1-0ef1-4d35-8049-28cd18d510a4AX Investments

 

I want to filter the table so I only see the rows where an External Identifier appears more than once. Is there a way to do this?

 

Edit: Is it possible to get the count of external identifier per source?

Filtered Table 

1 ACCEPTED SOLUTION

@Anonymous , You could try this:-

Ext_count =
COUNTROWS (
    FILTER (
        'Table',
        'Table'[External Identifier] = EARLIER ( 'Table'[External Identifier] )
            && 'Table'[Source] = EARLIER ( 'Table'[Source] )
    )
)

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@Samarth_18 thanks for the answer. This seems to work. If I have an additional column called source is it possible to do the above but per source?

External IdentifierEntity IdSourceEntity Name
00/0000/0dc7706b1-6406-4a71-bdda-d6891c411c60AJohn Smith
80909090dbe1894-c972-491b-af87-28f935d73e9eAABC Company
12345678cf955264-8a21-4640-93fb-b0974831033fBAmy Small
006f38ee9-d75d-4adb-ab10-b75f32c47da1CJeff West Family Trust
00/0000/0a248692e-763f-41c3-abf4-26917a55a39cAWorld Bank
8090909ee43373c-cdf9-4a24-9384-4e2f6be44400ARichard James
0146fcb63-5940-4eb4-84ef-fad33b42841cCCCC Productions
0e13cce4e-c792-4010-90c2-e6f1a34ed66cDMary Davis
00/0000/0b4146ae1-0ef1-4d35-8049-28cd18d510a4AX Investments

So essentially I want to get the count for each external identifier per source.

Samarth_18
Community Champion
Community Champion

Hi @Anonymous ,

 

You can create a column as below and use it as filter on your visual:-

Ext_count = COUNTROWS(FILTER('Table (4)','Table (4)'[External Identifier] = EARLIER('Table (4)'[External Identifier])))

image.png

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Anonymous
Not applicable

Thanks for the tip. I am almost at the right solution. Is it possible to apply the above solution but get the count of external identifiers per source?

@Anonymous , You could try this:-

Ext_count =
COUNTROWS (
    FILTER (
        'Table',
        'Table'[External Identifier] = EARLIER ( 'Table'[External Identifier] )
            && 'Table'[Source] = EARLIER ( 'Table'[Source] )
    )
)

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.