cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MarkusHaas
Regular Visitor

Percentage out of two collums

 Hi, I have two columns, "Total" and "Done". I want to calculate the Percentage, if "Total" is 4 and "Done" is 2 it gets 50%.

In the end I would like to have this in a stacked column chart.

Can anyone help?

1 ACCEPTED SOLUTION

Thanks, but I solved it with the DIVIDE() Function because it can handle Errors, such as "Divide by 0".

 

Percentage = DIVIDE(table[Done],table[Total],0)

View solution in original post

3 REPLIES 3
MarkusHaas
Regular Visitor

Hi, I have two columns "Total" and "Done". I would like to calculate the percentage, that if "Total" is 4 and "Done" is 2 it gets 50%.

Also I would like to have this into a stacked column chart. Thanks!

Anonymous
Not applicable

Hello @MarkusHaas

 

Try this

 

% Percentage=SUM(Done) / SUM(Total)

 

Hope this was helpful

Thanks, but I solved it with the DIVIDE() Function because it can handle Errors, such as "Divide by 0".

 

Percentage = DIVIDE(table[Done],table[Total],0)

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.