cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

Percentages with Measures

Hello,

 

I have a dataset that I exported from Excel and I have trying to create some measures. I am trying to create measures to give me the percents so I would have percents for "No Overdue," "<8 Overdue," and "8 or > Overdue." I am having trouble trying to create a measure that would allow me to do this. The numerator for the measure would be each of the columns that I listed, and the denominator would be total employees.

 

power bi 1.JPG

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @BrandonP2121 

 

You can use SUM( table[Column Name] ) instead of a measure, it will sum each month individually as long as the month column is placed in the visual.

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

 

View solution in original post

4 REPLIES 4
Super User III
Super User III

Hi @BrandonP2121 

 

You can create Measure for % of Overdue like below, and use the same logic for the rest.

 % of Overdue = DIVIDE( [Totl Employees],  [No Overdue] )

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Does it matter if I want to sort this by month, or can I just add the month filter onto this? It also isn't letting me pull the columns into the Measure? Does it only allow you put put your own measures in, or can you put the columns into a new measure?

Hi @BrandonP2121 

 

You can use SUM( table[Column Name] ) instead of a measure, it will sum each month individually as long as the month column is placed in the visual.

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

 

View solution in original post

Okay, I did that and I got the numbers for each month to display which brings me one step closer. The last step I am trying to do is divide by the total number of employees and display that number as a percent. I tried adding that to what I just did with the Sum(table[column]) but it didn't seem to work.

Helpful resources

Announcements
November Update

Check it Out!

Click here to read more about the November 2020 Updates!

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform October Community Highlights

Check out the top community contributors across all of the communities

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors