Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
DtMatt
New Member

Count across multiple columns

Hi everyone,

Can someone help with this one please?

 

If I have various columns of data in Excel and in Power-Bi I need a measure (or new column) that counts all the 'Outstanding' rows across the 9 different columns and shows the total.

For example: Outstanding = 22

 

How can I do this?

 

Thanks 🙂 

 

DtMatt_0-1700308821371.png

 

2 ACCEPTED SOLUTIONS

10 REPLIES 10
Ahmedx
Super User
Super User

to know how to do this watch my video

40.mp4

Thanks @Ahmedx 

I have other columns in the data that are feeding other visuals, so when I unpivot the columns, all other visual break.

Any ideas?

I can give a different solution without unpivot but it will be a not good practice

Screenshot_2.png

Yes, this one worked.

Thanks @Ahmedx 

select these columns together and unpivot the other columns and then you don’t need to add a column index

Screenshot_1.png

So because I'm using these columns in other visuals, when I unpivot, I get this:

 

DtMatt_0-1700316947982.png

 

try this

Screenshot_3.png

DtMatt
New Member

When I use this... it only shows the total as 4, when it should be 13

 

Measure =
  COUNTROWS(
    FILTER(
      'IT Progress Data',
      [202 Last Activitiy] = "Outstanding" && [203 Last Activitiy] = "Outstanding"
     )
  )

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.