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 

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.

 

 

Highlighted
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
Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

‘Better Together’ Integration Forum Launch

‘Better Together’ Integration Forum Launch

We've launched a how-to forum where you can learn about how Power BI integrates with other Power Platform products.

Top Solution Authors
Top Kudoed Authors