Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
New to Power BI and this forum.
Not sure if this was supposed to ask this question in this group or the visuals group.
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
The [Ticket Table] has the tickets assigned to each of the employees:
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.
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
% ticket complete: =
VAR _ticketbyname =
COUNTROWS ( VALUES ( ticket[ticket#] ) )
VAR _ticketbyteam =
CALCULATE (
COUNTROWS ( VALUES ( ticket[ticket#] ) ),
ALL ( employee[name] ),
VALUES ( employee[team] )
)
RETURN
IF (
HASONEVALUE ( employee[name] ),
DIVIDE ( _ticketbyname, _ticketbyteam ),
"select name"
)
Hi,
Please check the below picture and the attached pbix file.
% ticket complete: =
VAR _ticketbyname =
COUNTROWS ( VALUES ( ticket[ticket#] ) )
VAR _ticketbyteam =
CALCULATE (
COUNTROWS ( VALUES ( ticket[ticket#] ) ),
ALL ( employee[name] ),
VALUES ( employee[team] )
)
RETURN
IF (
HASONEVALUE ( employee[name] ),
DIVIDE ( _ticketbyname, _ticketbyteam ),
"select name"
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 21 | |
| 10 | |
| 8 | |
| 8 |