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
MD12
Regular Visitor

Want to create a measure which count the specific values from a column.

FB735103-182F-443E-BF4B-EE527758BC0A.jpeg

 Want to create a mesure which counts the triagelevel 4 and 5 only.

1 ACCEPTED SOLUTION
TotunG
Resolver I
Resolver I

Hey, I guess by COUNT you mean just COUNT the occurrence. Try this measure and mark as a solution if it works:

Replace 'Table' with your Table name and [Number] with [TriageLevel]

COUNTIF = CALCULATE(COUNT('Table'[Number]),'Table'[Number]=4 || 5)

View solution in original post

3 REPLIES 3
TotunG
Resolver I
Resolver I

Hey, I guess by COUNT you mean just COUNT the occurrence. Try this measure and mark as a solution if it works:

Replace 'Table' with your Table name and [Number] with [TriageLevel]

COUNTIF = CALCULATE(COUNT('Table'[Number]),'Table'[Number]=4 || 5)
MD12
Regular Visitor

Triage level is a text column not a whole number.

Still should work?

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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