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
Tejasvi_munge
Frequent Visitor

Thousand separator using DAX

Hi Team,

 

Suppose, I have value - 234384.

And I need formatting like 2,34,384 not 234,384 using DAX as I am using it in dynamic formatting measure.

 

Thank You.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

So you want commas placed at specific points in the value? Will it be the same point everytime? For that number you could write a Concatante() function using Left() Middle() and Right()

View solution in original post

5 REPLIES 5
tex628
Community Champion
Community Champion

I'm guessing that you are OK with having the values in text format?


Connect on LinkedIn
Anonymous
Not applicable

So you want commas placed at specific points in the value? Will it be the same point everytime? For that number you could write a Concatante() function using Left() Middle() and Right()

No, everytime there will be different values

Anonymous
Not applicable

Do you want to be placing them in a consistent location in the value?

Anonymous
Not applicable

So for that number in your post the formula you could use is:

 

With Commas = CONCATENATE(LEFT('Table'[Column1], 1), CONCATENATE(",", CONCATENATE(MID('Table'[Column1], 2, 2), CONCATENATE(",", RIGHT('Table'[Column1], 3)))))

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.