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.
Solved! Go to Solution.
Hi,
Thanks for your response!
There are some things in this calculation that are not correct from what I asked about from the start.
- Should be divided by No of Orders in the end
- Should exclude all rows that has Workgroup = *GDPR*
I did however solve it afterwards it seems!
Hi @Anonymous ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Contact per Order % =
var _sum1=
SUMX(FILTER(ALL(dim_wrapupgroup),
NOT('dim_wrapupgroup'[Wrap Up Group]) in {"BO Action", "BO Support"}
&&
CONTAINSSTRING('dim_wrapupgroup'[Workgroup],"GDPR")=TRUE())
,[No of Calls]+[No of Emails])
var _sumif=
IF(
MAX('dim_wrapupgroup'[Agent Type]) = "Live Agent",
MAX('dim_wrapupgroup'[No of Chats Answered LA]),
IF(
MAX('dim_wrapupgroup'[Agent Type]) = "VA Agent",
MAX('dim_wrapupgroup'[No of Chats Answered VA]),
MAX('dim_wrapupgroup'[No of Chats Answered])
))
return
_sum1+_sumif
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi,
Thanks for your response!
There are some things in this calculation that are not correct from what I asked about from the start.
- Should be divided by No of Orders in the end
- Should exclude all rows that has Workgroup = *GDPR*
I did however solve it afterwards it seems!
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
7 |