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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Dax -Count if help

Hello World,
I have a column called Age category which has 4 categories. 
Past Due 1-30 Days
Past Due 1-30 Days
Past Due 1-30 Days
Past Due 1-30 Days
I want to create a measure to count each categories. I do I use count if here. Please help

assa.PNG

1 ACCEPTED SOLUTION

@Anonymous 

Create a measure

Count = COUNTROWS ( 'Table' )

and place it in the values of the matrix 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@tamerj1 Thank you very much Sir.

tamerj1
Super User
Super User

Hi @Anonymous 

just place the column [Age Category] in a table or matrix visual along with the measure = COUNTROWS ( 'Table' )

Anonymous
Not applicable

@tamerj1 Not sure what you mean. I kept the age category as matrix viz. How do i count it?Capture.PNG

@Anonymous 

Create a measure

Count = COUNTROWS ( 'Table' )

and place it in the values of the matrix 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.