The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello community!
i'm in need of help, I'm not able to get the total of tickets assigned and resolved for each member of my team.
On powerbi I have 3 tables, Calendar Table, Incidents table & Teams Table.
Incidents:
Team:
I want to get the total created, resolved and assigned tickets for each team member.
The current active relationship is Incidents[assigned to] with Team[names]
I'm lost and don't know how to get the right number for each column, it seems the relationship is only counting the "assigned to" column regardless.
thanks in advance
Solved! Go to Solution.
@Anonymous , You can join both Created date and resolved date with the calendar table. One join will inactive, You can activate that usinguserelationhip
1n case your date has timestamp, create the date column first
Open Date = Datevalues([Sys Created Date]) // do same for resolve date
calculate( count(Table[ticket]),USERELATIONSHIP ('Table'2[Open Date ], 'Date'[Date]))
Hi @Anonymous ,
I think this may be what you want:
Total Resolved = CALCULATE( COUNTA(Incidents[resolved_by]),USERELATIONSHIP(Incidents[resolved_by],Team[Full Name]))
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you @amitchandak
One question, will this relationship with dates will allow me to see the tickets created / tickets resolved by each team member, even if there is no relation between [Created By] and [Resolved By]?
Hi @Anonymous ,
I think this may be what you want:
Total Resolved = CALCULATE( COUNTA(Incidents[resolved_by]),USERELATIONSHIP(Incidents[resolved_by],Team[Full Name]))
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , You can join both Created date and resolved date with the calendar table. One join will inactive, You can activate that usinguserelationhip
1n case your date has timestamp, create the date column first
Open Date = Datevalues([Sys Created Date]) // do same for resolve date
calculate( count(Table[ticket]),USERELATIONSHIP ('Table'2[Open Date ], 'Date'[Date]))
User | Count |
---|---|
10 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
21 | |
14 | |
14 | |
9 | |
7 |