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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
mpapreja
New Member

Custom Number Format for the Numerical Fields in Power BI

Dear Experts

 

Thanks for your support in advance. 

 

Can i use following format in Power BI which works in excel

 

[>=10000000]##\,##\,##\,##0;[>=100000] ##\,##\,##0;##,##0

 

 

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @mpapreja ,

Here are the steps you can follow:

1. Create calculated column.

Column =
IF([Column1]<10000000,
","&MID([Column1],LEN([Column1])-6,2)&","&MID([Column1],LEN([Column1])-4,2)&","&RIGHT([Column1],3),
LEFT([Column1],LEN([Column1])-6)&","&MID([Column1],LEN([Column1])-4,2)&","&RIGHT([Column1],3))

2. Result:

vyangliumsft_0-1661157454364.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

2 REPLIES 2
v-yangliu-msft
Community Support
Community Support

Hi  @mpapreja ,

Here are the steps you can follow:

1. Create calculated column.

Column =
IF([Column1]<10000000,
","&MID([Column1],LEN([Column1])-6,2)&","&MID([Column1],LEN([Column1])-4,2)&","&RIGHT([Column1],3),
LEFT([Column1],LEN([Column1])-6)&","&MID([Column1],LEN([Column1])-4,2)&","&RIGHT([Column1],3))

2. Result:

vyangliumsft_0-1661157454364.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

lbendlin
Super User
Super User

mostly yes.  

Use custom format strings in Power BI Desktop - Power BI | Microsoft Docs

 

You can also use FORMAT to achieve the Indian number display.

Measure = 
var yournumber = <your number here>
var twoples = ROUNDUP((LOG10(yournumber)-3)/2,0)
var fmt = REPT("##\,", twoples) & "###.00"
return FORMAT(yournumber, fmt)

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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