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
igordossantos
Helper I
Helper I

FORMAT setting integer to string - DAX

All, 

What am I doing in correctly on the formula below?

 

% Profiles Started = VALUE ( FORMAT ( DIVIDE ( TotalNumberOfSkills, [Total # Resources] ) * 100, "0.0" ) )

 

The result of the above is returning a string value.

 

Am I doing something incorrectly? Is there an alternative to formatting percentages in DAX? 

2 REPLIES 2
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @igordossantos,

 

You don't need to use DAX functions to format the value of the measure in this scenario. In Power BI Desktop, you can just use Format option under Modeling tab to format the measure as Vvelarde mentioned above.

 

You can just use the formula below for the measure "% Profiles Started", then follow steps below to change format to Percentage for it.

% Profiles Started = DIVIDE ( TotalNumberOfSkills, [Total # Resources] )

1. Select the measure you want to format on the Fields.

 

m1.PNG

 

2. Under Modeling tab, just choose Percentage for the Format of the measure.

 

f1.PNG

 

Regards

Vvelarde
Community Champion
Community Champion

@igordossantos

 

The change the format you can go to modeling:

 

%.png




Lima - Peru

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 Fabric 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.