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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

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!

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.

Users online (27)