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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. 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.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.