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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.