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.
Hi All,
Data looks like this :
Audit ID | Emp Name | Frontline Failuers |
1 | ABC | Credit not offered |
2 | DEF | Did not approach their Manager;System Probing;Reconfirming |
3 | EFR | No Failure |
4 | TGR | Lack of Authorisation |
5 | RUJ | Objection handling;System Probing |
6 | IKU | Did not approach their Manager |
7 | OLJ | System Probing |
8 | OLI | Credit not offered;Objection handling |
9 | TGR | Lack of Authorisation |
looking for a result like this using DAX :
Frontline Failures | Count |
Credit not offered | 2 |
Did not approach their Manager | 2 |
No Failure | 1 |
Lack of Authorisation | 2 |
Objection handling | 2 |
Did not approach their Manager | 2 |
System Probing | 3 |
Thanks
Solved! Go to Solution.
Hi @Seer_Bug ,
COUNT CONTAINSSTRING =
CALCULATE (
COUNT ( 'Table'[Frontline Failuers] ),
FILTER (
ALL ( 'Table'[Frontline Failuers] ),
CONTAINSSTRING (
'Table'[Frontline Failuers],
SELECTEDVALUE ( 'Search'[Frontline Failures] )
)
)
)
Hi @Seer_Bug ,
COUNT CONTAINSSTRING =
CALCULATE (
COUNT ( 'Table'[Frontline Failuers] ),
FILTER (
ALL ( 'Table'[Frontline Failuers] ),
CONTAINSSTRING (
'Table'[Frontline Failuers],
SELECTEDVALUE ( 'Search'[Frontline Failures] )
)
)
)
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
24 | |
14 | |
13 | |
10 | |
7 |