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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
jockefe
Helper II
Helper II

format string percent does not work in power bi

I have a SSAS Olap cube with a calculated measure

 

CREATE MEMBER CURRENTCUBE.[Measures].[percent test] AS
1/2
,VISIBLE = 1
,FORMAT_STRING = 'Percent';

 

This works fine in management studio and in excel - displays 50%

But independent of what visual I use in Power BI it gives me 0.5

 

I use SSAS live connection and have no possiblity to chnage the format in Power BI.

7 REPLIES 7
Anonymous
Not applicable

Hi @jockefe,

 

I've just reproduced this case by adding your measure to one of my cubes and it works perfectly fine in both Power BI Desktop and Power BI service (web browser). Can you please specify which version of SQL Server you are using, how you build the report (desktop app vs web browser), and which version of Power BI Desktop you use (if any)? 

 

Best Regards,
Pawel

I use SQL Server 2016 CU3

Latest version of Power BI

I build the repoort in PBI Desktop

Anonymous
Not applicable

I tested it on SQL Server 2016 SP1 + CU3 and Power BI Desktop June 2017 (x64). And I don't know why it's not working for you.

Hikmer
Microsoft Employee
Microsoft Employee

Did you figure this out? We are experiencing the same issue. 

Unfortunately not
I raised a ticket to MS and they said that this is expected/by design
Hikmer
Microsoft Employee
Microsoft Employee

What I am encountering, is that is WAS working...now it is not formating correctly.  As of last week, visualizations no longer show percentages (we are using the "0.00%" and "0.0%" format strings).  In Excel and PowerBI tables, the percent formating is correct.  Only when using a PowerBI chart or visualizations is it not honoring the format string.  It is way frustrating trying to figure out the problem.  

Change the formatting of your calculated measure coming from your Multi Dimensional cube from "Percent" to "#.##%" for example, and test.

Worked for us.

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.