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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
instdes
Frequent Visitor

Link Measure Card to Table Visual

Hi,

 

Any help would be greatly appreciated.  I have a Card with the following measure:

 

Errors = var ErrorCount = CALCULATE(COUNTROWS('Table'), CONTAINSSTRING('Table'[HasErrors], "True")) return IF(ISBLANK(ErrorCount), 0, ErrorCount)
 
but I would like it so that when the user clicks the card, it then filters the table visual which contains all of the data.  Thank you in advance.
 
2023-07-11_14-47-29.png
1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @instdes 
Cards have no filter functionality.
Alternatives :
1. Use a table instead of a card.

2. Add a button like the "Show errors" / blank button on the card and use the bookmarks functionality to change your original table to a filtered one.
Here is a link to a published example to use: Published example 
I recorded my steps in modifying the link to mp4 :here 
Link to sample bpix : here 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

2 REPLIES 2
Ritaf1983
Super User
Super User

Hi @instdes 
Cards have no filter functionality.
Alternatives :
1. Use a table instead of a card.

2. Add a button like the "Show errors" / blank button on the card and use the bookmarks functionality to change your original table to a filtered one.
Here is a link to a published example to use: Published example 
I recorded my steps in modifying the link to mp4 :here 
Link to sample bpix : here 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
amitchandak
Super User
Super User

@instdes , usally card visuall not drill, You can use this workaround

https://www.youtube.com/watch?v=NVGjthYx_4Q

 

Make sure you are using measure in the table too

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.