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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Count multiple items

I have a table that has a status column and it lists the following three options:

 

In Progress

Complete

Late

 

I want to count only the number of items listed as In Progress and Late. 

 

I know how to do it for one, but don't know how to calculate the number of items for more than one status. 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your datamodel looks like, but I tried to create a sample pbix file like below.

Please check the below picture and the attached pbix file.

I hope the below sample can provide some ideas on how to create a solution for your datamodel.

Jihwan_Kim_1-1667843204978.png

 

 

Jihwan_Kim_0-1667843192404.png

 

Progress or late count measure: =
COUNTROWS ( FILTER ( Project, Project[Status] IN { "In Progress", "Late" } ) )

 

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

2 REPLIES 2
Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your datamodel looks like, but I tried to create a sample pbix file like below.

Please check the below picture and the attached pbix file.

I hope the below sample can provide some ideas on how to create a solution for your datamodel.

Jihwan_Kim_1-1667843204978.png

 

 

Jihwan_Kim_0-1667843192404.png

 

Progress or late count measure: =
COUNTROWS ( FILTER ( Project, Project[Status] IN { "In Progress", "Late" } ) )

 

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
PabloDeheza
Solution Sage
Solution Sage

Hi @Anonymous !
You can do the following:

CALCULATE(
	COUNT( ItemsColumn ),
	StatusColumn IN {"In Progress", "Late"}
)

Let me know if that helps!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors