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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.