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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
s15
Helper III
Helper III

Convert a numeric to percetange after using measure

I have two values: Sales and Gross Sales. I created a measure to calculate the margin. The measure looks like below

 

Margin = 100 - (SUM(financials[ Sales])/SUM(financials[Gross Sales])*100)

 

margin.PNG

 

 

Is there a way to display the value in percentage. It's 7.20%

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @s15,

 

First of all change your measure to: 

Margin = 1 - (SUM(financials[ Sales])/SUM(financials[Gross Sales]))

Then just select the measure and on the bar choose Modeling and Percentage and your measure will be in %.

 

percentagew.png

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

1 REPLY 1
MFelix
Super User
Super User

Hi @s15,

 

First of all change your measure to: 

Margin = 1 - (SUM(financials[ Sales])/SUM(financials[Gross Sales]))

Then just select the measure and on the bar choose Modeling and Percentage and your measure will be in %.

 

percentagew.png

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors