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

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

Reply
Chanleakna123
Post Prodigy
Post Prodigy

Count Distinct turns different when we filter ,

1.PNG

 

hi , i don't know why i filter the Count Distinct turn all different . the total on table is 272 , Open is 86 and close is 200 , 

when i try filter it's open 86 and Closed 200 , but when i unclick and see the table instead , those turn to 272 with Close and Open . 

not sure what happen from the file . can you help me? i shared you below Pbi link 

 

https://drive.google.com/file/d/1qnR7otuTCxxfA1VOe_leNUKRHtzNorxj/view?usp=sharing

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Chanleakna123,

 

After play with your sample, I found you are summary 'case id' with 'distinct count' mode.

 

I think it means your table have 14 cases with same case id has multiple status(opened and closed) at same time(duplicate post?), power bi summary them and remove duplicate part.

 

You can try to use below measure to find out duplicate case id:

Duplicate Status =
CONCATENATEX (
    FILTER (
        SUMMARIZE (
            ALLSELECTED ( 'Report of Commitee' ),
            [Case ID],
            "Status", COUNTROWS ( VALUES ( 'Report of Commitee'[Status] ) )
        ),
        [Status] > 1
    ),
    [Case ID],
    ","
)

 

Notice: please do mask on sensitive data before share sample file.

 

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Chanleakna123,

 

After play with your sample, I found you are summary 'case id' with 'distinct count' mode.

 

I think it means your table have 14 cases with same case id has multiple status(opened and closed) at same time(duplicate post?), power bi summary them and remove duplicate part.

 

You can try to use below measure to find out duplicate case id:

Duplicate Status =
CONCATENATEX (
    FILTER (
        SUMMARIZE (
            ALLSELECTED ( 'Report of Commitee' ),
            [Case ID],
            "Status", COUNTROWS ( VALUES ( 'Report of Commitee'[Status] ) )
        ),
        [Status] > 1
    ),
    [Case ID],
    ","
)

 

Notice: please do mask on sensitive data before share sample file.

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors