# Power BI Help - Top 2 Box

#### FanofExcel18

##### New Member
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:
 Team Score Team 1 5 Team 2 5 Team 3 2 Team 4 4 Team 5 5 Team 1 4 Team 2 1 Team 3 5 Team 4 5 Team 5 5 Team 1 5 Team 2 1 Team 3 5 Team 4 5 Team 5 5 Team 1 5 Team 2 5 Team 3 4 Team 4 5 Team 5 4 Team 1 4 Team 2 4 Team 3 5 Team 4 5 Team 5 5 Team 1 5 Team 2 5 Team 3 5 Team 4 4 Team 5 3 Team 1 4
I need the results to look like this:

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

#### citizenbh

##### Board Regular
The solution in Excel PowerPivot is similar in Power BI.
Create 3 measures and then create a pivot table
TeamScore45.xlsx

#### FanofExcel18

##### New Member
The solution in Excel PowerPivot is similar in Power BI.
Create 3 measures and then create a pivot table
TeamScore45.xlsx
Thank you for this! I haven't used much of PowerBi but this was a great example to learn from. I've done a ton this morning due to this!

My pleasure!

1,081,798
Messages
5,361,356
Members
400,628
Latest member
teresajm

### This Week's Hot Topics

• populate from drop list with multiple tables
Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
• Find list of words from sheet2 in sheet1 before a comma and extract text vba
Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
• Dynamic Formula entry - VBA code sought
Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...