cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

New Member

## Custom Number Format for the Numerical Fields in Power BI

Dear Experts

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

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

1 ACCEPTED SOLUTION
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:

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

2 REPLIES 2
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:

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

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)
``````

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

#### Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

#### Fabric Community Update - August 2024

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

Top Solution Authors
Top Kudoed Authors