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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
HannahWL
Regular Visitor

Visualising the count of 'yes' answers on a card

Hi everybody,

 

 

I am trying to visualise using a card visualisation the number of 'yes' occurrences pulled from a single column. This column has either yes or no entries. I would like to represent this as a simple card - with the count of 'yes' occurrences. Any help would be great. 

 

Thanks, 

Hannah 

1 ACCEPTED SOLUTION
meet2aftab
Helper I
Helper I

Hi Hannah,

You can create a calculated measures with below expression that you can use in you Card

 

Count of YES=

CALCULATE(COUNTA('YourTable'[Column]), 'YourTable'[Column] IN { "Yes" })

 

Thanks,

Aftab

View solution in original post

1 REPLY 1
meet2aftab
Helper I
Helper I

Hi Hannah,

You can create a calculated measures with below expression that you can use in you Card

 

Count of YES=

CALCULATE(COUNTA('YourTable'[Column]), 'YourTable'[Column] IN { "Yes" })

 

Thanks,

Aftab

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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