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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Alexa1104
Frequent Visitor

PBI count of unique and duplicates considering also some filters

Hello,

I have a difficult situation I am struggling with for some days now and I couldn't find any solution to it.

I will present it briefly : 

I have summarized in a new table the main columns involved . So I need to show in a visualization per each month:

-how many unique tests have been performed. 

-how many tests that have duplicates have been performed (but we count only 1 time each test)

- nr of their duplicates

Note : a test may be performed multople times per variant. 

A test which has been performed per more variants, is considered unique per each variant (duplicates if they exist are counted apart). 

I have tried many ideas, including the ALLEXCEPT function, but I can't manage to split this : tests which are performed more than 1 time : split into tests counted once + their duplicates. 

And all of this has to be applied after I select some filters : Started by CMD, Testname should not contain "stable_SW". (monthly)

 

Thank you in advance

Alexa1104_0-1707215152658.png

 

1 REPLY 1
amitchandak
Super User
Super User

@Alexa1104 , You Should create a measure

 

Non Distinct = Countrows(Table) - distinctcount(Table[Test ID])

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.