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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.