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
Anonymous
Not applicable

Distinct Count does not Match Total Displayed in Filter

Experts, Please help!

 

I have a measure that DISTINCTCOUNTS a column and displays it as a Total Per Country.

However, when I look at my visual filters, the count/total does not match.

Ex. Afghanistan should be 12 as per matrix visual, but filter is showing it as 5. Albania should be 3 not 1, etc.

How do I rectify this in the filters? The count is correct in the matrix visual.

 

TIA!

 
 
 
 

 

 

 

err.png

5 REPLIES 5
Anonymous
Not applicable

Hi jenner2019,

 

The filter visual will obviously show the number of times a country is reapeated for example if America is repeated twice in filter visual you will see 2".

For Total quantity you can either use sum or just drag the field it will automatically segregate country wise

countvisual.PNG

Anonymous
Not applicable

Hi, 

 

I understand that. My issue is, I am doing a distinct count on ID from the FactTable, which is linked by CountryID to the DimTable.

 

In the FactTable, for example, there were 100 non-unique IDs under CountryID 4  - Australia. When I DISTINCTCOUNT IDs for Australia, it became  50. However in the filter visual, it is showing 6.

 

 

Anonymous
Not applicable

And yes, I did just drag the  Country field, but the filter visual is still displaying the count wrong =(

Anonymous
Not applicable

can you post the sample data which are using in the visual and also the measure 

Anonymous
Not applicable

 

Hi, thanks. 

I just created a subset of the data. But still showing a mismatched matrix value vs filter visual. 

 

 

err2.pngerr1.png

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