cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
electrobrit
Post Patron
Post Patron

how to get a total on a % column to reflect total % of the group selected

I am stumped on what I could do differently to get the totals to do the calculations of the group vs just working for the individual. (I don't even have the option to  do an average of the group selected.)

electrobrit_0-1675131509462.png

Sample pbix 

 

thanks for your help..

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@electrobrit , You can get avg like

 

Gross Billable % = 
AVERAGEX(values(TimeDetail[full_name]), CALCULATE( IF(SELECTEDVALUE(
TimeDetail[full_name]) IN  {"EmployeeB", "EmployeeD"},
[Net Billable %],
           CALCULATE([Billable Hours]/[PeriodWorkingHours]))))

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@electrobrit , You can get avg like

 

Gross Billable % = 
AVERAGEX(values(TimeDetail[full_name]), CALCULATE( IF(SELECTEDVALUE(
TimeDetail[full_name]) IN  {"EmployeeB", "EmployeeD"},
[Net Billable %],
           CALCULATE([Billable Hours]/[PeriodWorkingHours]))))

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors