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
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
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.