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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
LoCTiTe
Regular Visitor

Using custom Format string turns measure into text, does not work with Excel analyze

When changing the format of my measure to a custom string - I want to display in millions, with one decimal and add "M" at the end - it seems like PowerBi interprets the measure as text. In Analyze in Excel, I can no longer add the measure to values in the pivot table.

 

This is the custom string I am using, I'm unsure whether it's correct or not, but it looks good in PowerBi desktop app: 

#0,,.0M;-#0,,.0M;"-"

 

format measure to display 0,0M by default.png

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

That is correct, and working as designed.  You can create a duplicate of the measure but without formatting. Use that for your Analyze in Excel needs.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

That is correct, and working as designed.  You can create a duplicate of the measure but without formatting. Use that for your Analyze in Excel needs.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.