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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
adityavighne
Continued Contributor
Continued Contributor

Text count number shows with comma

Hi,

 

I want to distinctcount of 8999294758_4748747 which is in text format.

 

now this distinctcount display I want to be separated with comma eg. final count is 3991 so I want 3,991 in this format

 

when I convert this text to the whole number this gives an error any other solution DAX

5 REPLIES 5
v-qiuyu-msft
Community Support
Community Support

Hi @adityavighne ,

 

The value of Distinctcount() function should be number. It looks like you used Format function to force thousands separator for the distinct count value, right? 

 

Please keep the DAX of distinctcount only, at this time, the returned values are numbers. Then select the measure/column then enable Thousands Separator. 

 

q1.PNG

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the reply. 

Hi @adityavighne,

 

If my reply is helpful for you to resolve the issue, would you please mark a helpful reply as an answer so we can close this thread? 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the reply.

 

This was not what I want. 

 

I solved this creating measure of the same column and then using ( , ) formatting for values and it's working.

 

Thank you!

 

Regards,

Aditya 

Anonymous
Not applicable

Hi adityavighne ,

 

Could you please tell me how you resolved this issue.

 

Thanks

Preetham

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.