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
banksbc
New Member

Percent of Teams Totals

I have multiple employees in a employee table that shows what team they belong to.  I want to have a card on an employee dashboard that shows the percentage of tickets they have completed  based off the total tickets that team has completed.  The percentage will show on the card based off who is selected in the slicer.

 

Slicer will have each employees name from all teams

 

The [Employee Table] has more than just these two columns but is simplified for this post

banksbc_0-1714256547494.png

The [Ticket Table] has the tickets assigned to each of the employees:

banksbc_1-1714256547648.png

 

Desired result will be a card that shows the percentage of employee's tickets against their respective team's tickets based on whoever is selected in the slicer

Example:

If Bob is selected, the card will show 40%

If Larry is selected, the card will show 60%

etc.

1 REPLY 1
lbendlin
Super User
Super User

Read about REMOVEFILTERS. Link the tables, then calculate the number of tickets for the selected employee, then count it again removing the employee filter. That will give you the ticket count for the team.

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.

Top Solution Authors