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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

How to count recurrences in my table with multiple columns as parameters

Hi!

I have a table of client complains and i need to count the recurrences, how can i do that?

a recurrence is a more than one row with the same client id, the same address and the same category.

 

my table looks like this:

row id | client id | address    |    category

   1           1           St. Paul      not delivered

   2           2           St. Mary     damaged  

   3           1           St. Paul      not delivered

   4           1           St. Paul      damaged

 

in this case row 4 isn't a recurrence 

1 REPLY 1
harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

 

Create a measure

 

Recurrence =
COUNTROWS (
    FILTER (
        ALL ( 'Table' ),
        'Table'[Client ID]
            = MAX ( 'Table'[Client ID] )
            && 'Table'[Address]
                = MAX ( 'Table'[Address] )
            && 'Table'[Category]
                = MAX ( 'Table'[Category] )
    )
)

 

 

1.jpg

 

Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.