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! Learn more

Reply
DiePic
Resolver II
Resolver II

Help with DISTINCTCOUNT multiple filters

Hi all,

that my problem:

DiePic_1-1678867013417.png

I've read a lot of posts for this problem, but I'm not able to find the tight solution.

can somebody indicate me where I'm mistaken?
Thanks in advance for any help or suggestion

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @DiePic ,

Please try below steps:

1. below is my test table

Table:

vbinbinyumsft_0-1679019380832.png

2. create a measure with below dax formula

Measure =
CALCULATE (
    DISTINCTCOUNT ( 'Table'[Column2] ),
    FILTER ( ALL ( 'Table' ), LEN ( 'Table'[Column2] ) > 1 && 'Table'[Column1] = 0 )
)

3. render

vbinbinyumsft_1-1679019425658.png

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @DiePic ,

Please try below steps:

1. below is my test table

Table:

vbinbinyumsft_0-1679019380832.png

2. create a measure with below dax formula

Measure =
CALCULATE (
    DISTINCTCOUNT ( 'Table'[Column2] ),
    FILTER ( ALL ( 'Table' ), LEN ( 'Table'[Column2] ) > 1 && 'Table'[Column1] = 0 )
)

3. render

vbinbinyumsft_1-1679019425658.png

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

DiePic
Resolver II
Resolver II

I try to read a lot of posts about similar cases, but I'm not able to find a solution.

Can somebody help or give a suggestion?

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.

Top Solution Authors