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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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