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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Jeyeline
Helper III
Helper III

DAX to count a particular column(string) across different months

Hello Team,

  I would like to visualize data based on two columns- Broken Issue which is either Yes or No and Created date. Now I want to collect data across months for the broken issue "Yes". That is no. of work items with the broken issue for all the months.

 

Seeking guidance on how to create DAX for this?

 

 

1 ACCEPTED SOLUTION
talespin
Solution Sage
Solution Sage

Hi @Jeyeline ,

 

Your date field will filter the table you feed to Calculate, it can be written in many ways and also depends on your datamodel and what fileds you have in your visual. Assuming its just date in visual, you can add this measure. Please replace table name and field name.

 

Measure

---------

CALCULATE( COUNT(Table[Broken Issue]), Table[Broken Issue] = "Yes")

View solution in original post

1 REPLY 1
talespin
Solution Sage
Solution Sage

Hi @Jeyeline ,

 

Your date field will filter the table you feed to Calculate, it can be written in many ways and also depends on your datamodel and what fileds you have in your visual. Assuming its just date in visual, you can add this measure. Please replace table name and field name.

 

Measure

---------

CALCULATE( COUNT(Table[Broken Issue]), Table[Broken Issue] = "Yes")

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.