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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

custom format code

Hello,

 

This is a basic question. In excel I have the ability to display data as a custom format code of 0.00x (i.e. I'm working with Forward P/E multipliers that are formatted with a lower case "x" after the number).

 

I'm not seeing how I can do this in BI. 

 

Please help. 

2 ACCEPTED SOLUTIONS
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Anonymous

 

In Power BI, you can directly add custom format code. But you can change the formate for data field under Modeling tab.

 

Capture.PNG

 

Or you can use Text.Format() in Power Query. See: The Text.Format() Function In Power BI/Power Query M

 

Regards,

View solution in original post

Anonymous
Not applicable

You would need to write the measure using a FORMAT() function. https://msdn.microsoft.com/en-us/library/ee634924.aspx

View solution in original post

3 REPLIES 3
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Anonymous

 

In Power BI, you can directly add custom format code. But you can change the formate for data field under Modeling tab.

 

Capture.PNG

 

Or you can use Text.Format() in Power Query. See: The Text.Format() Function In Power BI/Power Query M

 

Regards,

Anonymous
Not applicable

Thank you but this doesn't solve my question.....I don't want to do a custom format on a text field. I want to add a custom format to the end of a decimal in the form of "x". 

 

Any help here would be greatly appreciated! 

Anonymous
Not applicable

You would need to write the measure using a FORMAT() function. https://msdn.microsoft.com/en-us/library/ee634924.aspx

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors