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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
mcampos0809
Regular Visitor

Missing Comma

I have a measure that counts the number of employees.  The number of employees is more than a thousand employees.  I have to click on the measure to access the  measure tools and click the comma icon because the number is greater than a thousand.  I have another measure that counts the number of departments with some special characters.  I want to concatenate the two measures, but when I do, I lose the comma from the first measure.  Here is the Dax of which I have:

 

Number of Employees and Departments = CONCATENATE(CONCATENATE(CONCATENATE([Number of Employees], " ("), [Number of Departments]), IF([Number of Departments] = 1, " dept.)", " depts.)"))

2 REPLIES 2
mcampos0809
Regular Visitor

When using the card visual and using the DAX provided, I am not able to see the comma.Number of Employees and Depts..PNG

It should be 4,472 (18 depts.)

 

Thanks again for your help.

amitchandak
Super User
Super User

@mcampos0809 , Try like

 

[Number of Employees] & " (" & [Number of Departments] & IF([Number of Departments] = 1, " dept.)", " depts.)" )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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