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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
priyapalanki
Frequent Visitor

DistinctCount of Text values

Hi ,

 

I have trouble using DISTINCTCOUNT on a column of datatype 'Text' .  Say I have column "ProductName' with below values.

 

Facebook

Netflix

Facebook

Netflix

Kodi

 

I created a measure DISTINCTCOUNT(ProductName).It is returning 1 instead of 3.

 

Can anyone assist me in solving this issue ?

 

Regards,

Priya

 

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@priyapalanki

 

Hi, with your data DistinctCount return 3. 

 

Did you have a filter applied?

 

DC.png




Lima - Peru

View solution in original post

3 REPLIES 3
Vvelarde
Community Champion
Community Champion

@priyapalanki

 

Hi, with your data DistinctCount return 3. 

 

Did you have a filter applied?

 

DC.png




Lima - Peru

Thanks , this issue is resolved after I remove the filter.

 

 

 

 

Hi @priyapalanki,

I am every glad you have resolve your issue, please mark the corresponding reply as answer, which will help other people find the solution easily and clearly. Thanks a lot.

 

Best Regards,
Angelia

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.