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
Steve1309
New Member

Calculate %ge at row level for values in 2 columns

I have a table with 3 Columns

Name   Total  Missed

a            598   194

b            35      8

 

I'd like to create a 4th column to show the percentage of Missed against Total

 

Like this

 

Name   Total  Missed %Missed

a            598   194       32.4

b            35      8          22.8

 

I'm sure this is easy but as a new PowerBi user I'm struggling with this. Not sure whether I need to create a new measure and if so, how. Help greatly appreciated.

Thanks 

2 ACCEPTED SOLUTIONS
TheoC
Super User
Super User

Hi @Steve1309 

 

You can create a Calculated Column. Something like the below:

 

Column = 

VAR _1 = Table[Missed] / Table[Total]

RETURN

IF ( _1 = 0 , 0 , _1 )

 

Then just click the percentage % button in the main ribbon.

 

Hopefully this helps!

Theo

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

View solution in original post

Thank you so much. I think I tried everything but the simplest solution!

View solution in original post

3 REPLIES 3
TheoC
Super User
Super User

Hi @Steve1309 

 

You can create a Calculated Column. Something like the below:

 

Column = 

VAR _1 = Table[Missed] / Table[Total]

RETURN

IF ( _1 = 0 , 0 , _1 )

 

Then just click the percentage % button in the main ribbon.

 

Hopefully this helps!

Theo

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

Thank you so much. I think I tried everything but the simplest solution!

@Steve1309 no trouble at all mate. DAX can be very complex, but it can also be very simple. All the best with your Power BI journey! 🙂

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.