cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jenner2019
Frequent Visitor

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
HusnaBanu413 Resolver I
Resolver I

Re: Distinct Count does not Match Total Displayed in Filter

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

Highlighted
jenner2019
Frequent Visitor

Re: Distinct Count does not Match Total Displayed in Filter

 

Hi, thanks. 

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

 

 

err2.pngerr1.png

HusnaBanu413 Resolver I
Resolver I

Re: Distinct Count does not Match Total Displayed in Filter

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

jenner2019
Frequent Visitor

Re: Distinct Count does not Match Total Displayed in Filter

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.

 

 

jenner2019
Frequent Visitor

Re: Distinct Count does not Match Total Displayed in Filter

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

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors