Forum Discussion

It_Is_Me's avatar
It_Is_Me
New Member
3 years ago
Solved

Requesting Help to Calculate Multi-Level Fail Rate on a Line Chart+Slicer Combination

Hello,

I have a set of data that looks like the one I have pasted below.

Data - 

There are two regions - R1 and R2. And each region has three groups - R1 has G1, G2, G3 and R2 has G4, G5, G6.

Then, there are Volumes and Fails for each date-region-group combination, from which the Fail Rate is calculated (Fail/Volume).

My requirement - 

I need to show the Fail Rate on a Line Chart.

It should only show the Fail rate for each date. Then, there would be two slicers for region and group.

So,when I select R1 in the region slicer, then the chart should show the Fail Rate for R1. If I select G5 in the Group filter, then the chart should show the Fail Rate for G5.

Challenge -

The challenge that I am facing with the below data is that, when I represent this on a Line Chart, and then put in a slicer and select R1, then it sums up the Fail Rate, which is incorrect.

How can resolve this? 

As explained, I need the original view as only date-wise Fail Rate and as and when slicers are selected, then those rates should pop-up.

I know, I can calculate three separate fail rates, one for Date-wise, one for region-wise and one for group-wise, but then I will have to put that into three charts and not one.

I hope my explaination makes sense.

 

Any support will be much appreciated.

Thank You so much. 

DateRegionGroupVolumeFailFail Rate
5/12/2023R1G136652570.070123
5/12/2023R1G276883520.045786
5/12/2023R1G369301740.025108
5/12/2023R2G424901810.072691
5/12/2023R2G520432100.10279
5/12/2023R2G621521620.075279
5/13/2023R1G227621200.043447
5/13/2023R1G335902020.056267
5/13/2023R2G423841860.07802
5/13/2023R2G513424260.317437
5/14/2023R1G149212010.040845
5/14/2023R2G631623780.119545
5/15/2023R1G182565000.060562
5/15/2023R1G260442640.04368
5/15/2023R1G353024960.09355
5/15/2023R2G494933210.033814
5/15/2023R2G588411380.015609
5/15/2023R2G620123600.178926
5/16/2023R1G269422970.042783
5/16/2023R1G381662010.024614
5/16/2023R2G434841090.031286
5/16/2023R2G550772510.049439
5/17/2023R1G139224740.120857
5/17/2023R2G678612200.027986

 

Thank You

 

1 Reply