Forum Discussion
TOP N filter by Top 3
I am trying to filter the top 3 PCM Names by an average CSAT score, however, it shows all the PCM listed. The average top 3 should be 3.9 and above. Needs assistance please help and apologize if I have missed on rules for the forum.
There is two different first one below is CSAT and the other is Closure
| Full Name | Case Number | Responded Date (America/Cancun) | Closed Date (America/Cancun) | CSAT | CES | Comments | PCM | Product |
| Aleksandar Adamovic | 154247 | 7/1/2021 1:30 AM | 7/1/2021 1:29 AM | 5 | 5 | Saud Ansari | Fortify | |
| Ashwin Adithiya | 121032 | 1/30/2021 4:08 AM | 1/22/2021 5:33 PM | 5 | 5 | Salman Patel | Portal | |
| Ashwin Adithiya | 121371 | 2/2/2021 4:04 PM | 1/26/2021 4:01 PM | 3 | 3 | The feature is not available right now in the portal | Salman Khan | Security - Software |
| Aaron Falzon | 120790 | 1/31/2021 4:41 PM | 1/31/2021 2:08 AM | 4 | 4 | While the Partner care team were very good at opening a line of communication, we still feel that the NOC are often letting us down. | Ronak Waghela | Portal |
| Aashir Shaikh | 135328 | 4/30/2021 10:56 AM | 4/28/2021 2:03 AM | 5 | 5 | Saud Ansari | HD Service | |
| Aashir Shaikh | 154803 | 6/30/2021 12:58 PM | 6/30/2021 12:56 PM | 5 | 5 | Salman Khan | Control | |
| Alyssa Bly | 162411 | 8/3/2021 11:09 AM | 7/30/2021 8:16 PM | 5 | 5 | Ronak Waghela | Assist Help Desk | |
| Peter Jobst | 123590 | 2/18/2021 4:14 PM | 2/10/2021 5:15 PM | 1 | 1 | I doubt there is anything connectwise can do to stop sucking. We really HATE that we have to deal with Connectwise as a Continuum | Salman Patel | Portal |
| Donna Grafing | 134973 | 4/26/2021 4:03 PM | 4/26/2021 1:51 PM | 5 | 5 | Salman Patel | Portal | |
| Wendi Yadauga | 156644 | 7/20/2021 4:22 PM | 7/13/2021 3:54 PM | 3 | 3 | Ronak Waghela | Portal | |
| Accounting Department | 136168 | 5/5/2021 9:51 AM | 5/4/2021 4:57 PM | 4 | 4 | N/A - I was the last person to be assigned this. I'm sorry I cannot provide further feedback. I appreciate your support while looking into this case. | Salman Khan | Not Product Related |
| Dawn . | 142958 | 6/7/2021 6:23 AM | 6/5/2021 6:52 AM | 5 | 5 | Ricky Thakur | Fortify | |
| Dawn . | 138626 | 6/7/2021 5:46 AM | 5/26/2021 3:00 PM | 5 | 5 | Ricky Thakur | Fortify | |
| Onsite Helper | 121842 | 2/7/2021 3:12 PM | 1/29/2021 5:01 PM | 2 | 2 | please call us to validate if we are indeed aware of overdue account first. due to your upgrades and system changes, our auto pay setup was disregarded and we would normally check auto pay accounts. | Sagar More | Portal |
| Adam Collis | 155721 | 7/10/2021 7:26 AM | 7/10/2021 6:06 AM | 2 | 3 | When agreeing a future action, some sort of date for when it will be done should be agreed. In this instance it was especially important as the issue has been left unresolved for many months. Some form of commitment is required or even conformation nothing will be done. | Rajeshkumar Patwa | Control |
| Case Number | Legacy Case Number | Edited By | Category | Inquiry/Problem/Request | Product (CWS) | Stakeholder | Age | Closed Date | Edit Date | Field / Event | New Value | Case Type | Event | Case Owner | Status | PCM |
| 164117 | Rajeshkumar Patwa | Service Delivery Complaint - SLO/ASA not met, ticket delays | Problem | Assist Help Desk | HelpDesk | 3 | ### | 8/9/2021, 7:01 AM | Status | Closed | Partner Facing | Not Applicable | Saud Ansari | Closed | #N/A | |
| 164251 | Rajeshkumar Patwa | Service Delivery Complaint - SLO/ASA not met, ticket delays | Problem | Assist Help Desk | HelpDesk | 3 | ### | 8/9/2021, 7:14 AM | Status | Closed | Partner Facing | Not Applicable | Partner Care Case Queue | Closed | #N/A | |
| 164081 | Rajeshkumar Patwa | Billing | Inquiry | Portal | Partner Care | 4 | ### | 8/9/2021, 8:13 AM | Status | Closed | Partner Facing | Not Applicable | Ronak Waghela | Closed | #N/A | |
| 163673 | Rajeshkumar Patwa | Service Delivery | Inquiry | Command - Server | NOC - Tech Advantage | 5 | ### | 8/9/2021, 8:56 AM | Status | Closed | Partner Facing | Not Applicable | Partner Care Case Queue | Closed | #N/A | |
| 164319 | Ricky Thakur | Billing - invoice errors or confusion | Problem | Not Product Related | Accounts Receivable | 0 | ### | 8/9/2021, 9:46 AM | Status | Closed | Partner Facing | Not Applicable | Ronak Waghela | Closed | #N/A | |
| 164303 | Ronak Waghela | Product Functionality | Inquiry | Command - Server | NOC - SRT | 0 | ### | 8/9/2021, 2:07 AM | Status | Closed | Partner Facing | Not Applicable | Partner Care Case Queue | Closed | #N/A | |
| 164320 | Ronak Waghela | Product Errors - Software bugs, product performance, product down time | Problem | Portal | NOC - PST | 0 | ### | 8/9/2021, 5:00 AM | Status | Closed | Partner Facing | Not Applicable | Partner Care Case Queue | Closed | #N/A | |
| 164314 | Ronak Waghela | Service Delivery Complaint - Partner does not like existing scope/polices/procedures | Problem | Command - Server | NOC - SRT | 0 | ### | 8/9/2021, 6:06 AM | Status | Closed | Partner Facing | Not Applicable | Partner Care Case Queue | Closed | #N/A | |
| 164133 | Ronak Waghela | Service Delivery | Inquiry | Command - Server | NOC - SRT | 3 | ### | 8/9/2021, 8:46 AM | Status | Closed | Partner Facing | Not Applicable | Partner Care Case Queue | Closed | #N/A |
There is something wrong with the table formatting you've provided.
I did however attempt to solve.
Average CSAT = AVERAGE(Table1[CSAT])Rank PCM Simple = IF ( HASONEVALUE ( Table1[PCM] ), RANKX ( ALL ( Table1[PCM] ), [Average CSAT] ) )Top 3 PCM = IF( HASONEVALUE(Table1[PCM]), IF( [Rank PCM Simple] <= 3, [Average CSAT] ) )
4 Replies
- Ashish_Mathur
Super User
Hi,
This pattern should work
Average CSAT score = average(data[csat])
Top 3 = calculate([Average CSAT score],topn(3,all(data[PCM]),[Average CSAT score])),values(data[PCM]))
To your visual, drag the second measure.
Hope this helps.
- ChrisMendoza
Resident Rockstar
Please provide sample data which we can use. See https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
- saud968
Memorable Member
ChrisMendoza shared the data please help
- ChrisMendoza
Resident Rockstar
There is something wrong with the table formatting you've provided.
I did however attempt to solve.
Average CSAT = AVERAGE(Table1[CSAT])Rank PCM Simple = IF ( HASONEVALUE ( Table1[PCM] ), RANKX ( ALL ( Table1[PCM] ), [Average CSAT] ) )Top 3 PCM = IF( HASONEVALUE(Table1[PCM]), IF( [Rank PCM Simple] <= 3, [Average CSAT] ) )