cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Stivl
Regular Visitor

Displaying Data as frequency of occurrence, Getting data into the right place to make this happen.

Apologies in advance for the terminology, I hope I'm communicating as best I can about the issue I'm trying to solve. 


I'm collecting data on First Contact Resolution (among other things) for our company - the form we have asks to answer if First Contact Resolution was achieved. The responses are Yes, No - Out of Staff Control, No - Staff Controllable, No - System Outage.
Once you answer which of these is applicable (a response), they each drop down into a list of reasons. For this example those reasons show as Reason 1, Reason 2 etc. We will eventually have 20+ reasons for each metric.

We also have a measurement similar to this for Digital - have we educated the customer to self-serve online for next time. Digital has 6 responses, and then each response has a list of reasons.

The data this spits out then looks like this:

Data Table.JPG

I am trying to now put this into a graph to show me all of the reasons. All of my visualisations for the other data work fine, but I want to be able to filter the responses and then have it show me how many times the reasons for that have occurred. 

In my current data I have a filter that works that then shows a whole list of reasons, but I want to be able to see the frequency of occurence of those reasons. My current data looks like this (blacked out for privacy), with the responses filtered at the top, with the reasons listed below:

Comments List.JPG

But what I'm aiming for is something like this with a filter at the top to switch between the responses.

Final Table Look.JPG

So my question is two-fold because I can't seem to get my data into the right position to make this work.
1. What expressions should I be using to pull my data into a format that I can use to make these filters work, and 
2. Is there a function to show the number of times a certain response occurrs and show that in a nice list?

Any assistance and any further help on what I'm trying to achieve is greatly appreciated. Thank you!

1 REPLY 1
lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue. I can only help you with meaningful sample data.
Please paste the data into a table in your post or use one of the file services like OneDrive or Google Drive. Screenshots of your source data are not useful.
Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.

https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.