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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

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

Jan NL Carousel

Fabric Community Update - January 2025

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