Power BI Help - Top 2 Box

FanofExcel18

Board Regular
Joined
Jun 7, 2018
Messages
65
Issue: I have data that represents Survey's that I need to calculate in a Top 2 Box fashion for Power BI. I'm new to this and really trying to move towards this. Appreciate any help
Example: Scale of 1 to 5, only scores that matter are 4 and 5's. So if I have 10 scores: 1 = 2, 2=1, 3=1, 4=2, 5=4. My Top 2 box score is 4's(2/10) + 5's(4/10) = 60%
I can easily do this with a countif statement in Excel, but I'm trying to adapt to Power Bi and display this appropriately. =(COUNTIFS(A:A,E2,B:B,5)/COUNTIF(A:A,E2))+(COUNTIFS(A:A,E2,B:B,4)/COUNTIF(A:A,E2))

Here is sample data:
TeamScore
Team 15
Team 25
Team 32
Team 44
Team 55
Team 14
Team 21
Team 35
Team 45
Team 55
Team 15
Team 21
Team 35
Team 45
Team 55
Team 15
Team 25
Team 34
Team 45
Team 54
Team 14
Team 24
Team 35
Team 45
Team 55
Team 15
Team 25
Team 35
Team 44
Team 53
Team 14
I need the results to look like this:


TeamScore
Team 1
100%​
Team 2
67%​
Team 3
83%​
Team 4
100%​
Team 5
83%​
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,214,601
Messages
6,120,460
Members
448,965
Latest member
grijken

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top