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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

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

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

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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