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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Earl40
Helper I
Helper I

Help counting rows based on multiple criteria

Im trying to create a measure to count the # of items based on  multiple criteria. In my table I want to count the items where system column is "OCI" and the type column is "Notification" and origina column is "AB" and the date colum (which shows month and year e.g October 2023) is February 2024. I then want this number to display in my card as the value

 

Any help would be greatly apreciated

1 ACCEPTED SOLUTION

Hi,

 

You can create a measure and display that measure in your card visual.

ItemsCount = CALCULATE( COUNTROWS(your_table), your_table[system] = "OCI", your_table[type] = "Notification", your_table[origina] = "AB", FORMAT(your_table[date_column], "MMMM YYYY") = "February 2024" )

 

 

Or Just Count(Item_id) and apply the multiple critirea in your filters tab. Filter just on the visual.

 

Cheers

View solution in original post

1 REPLY 1

Hi,

 

You can create a measure and display that measure in your card visual.

ItemsCount = CALCULATE( COUNTROWS(your_table), your_table[system] = "OCI", your_table[type] = "Notification", your_table[origina] = "AB", FORMAT(your_table[date_column], "MMMM YYYY") = "February 2024" )

 

 

Or Just Count(Item_id) and apply the multiple critirea in your filters tab. Filter just on the visual.

 

Cheers

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.