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
Anonymous
Not applicable

Filter visuals based on Cards

I have multiple Cards on my canvas and want to allow the user to click on one of the Card Visuals to filter other visualisations across the canvas.  How can this be achieved?

1 ACCEPTED SOLUTION

Here is a workaround I have utilized - looks just like a card:

 

https://powerdax.com/using-card-slicer-power-bi/

powerdax.com

View solution in original post

9 REPLIES 9
RHOU
Advocate II
Advocate II

mattkocak
Kudo Kingpin
Kudo Kingpin

I recently developed the Slicer Button custom visual that allows one to use a card as a filter (more specifically as a "slicer"). Using a bookmark has some drawbacks and this custom visual allows a card to be used more similarly to a slicer visual.

Using Slicer Button on CardUsing Slicer Button on Card

 

Below if a YouTube video demonstrating how to setup and use the visual as well as a link to the GitHub repository.

 

Basic Setup & Use: https://www.youtube.com/watch?v=8x2QoE8M2yA&ab_channel=MattKocak

 

GitHub Repository: https://github.com/mattkocak/powerbi-visuals-slicerbutton

 

I'm happy to clarify anything that's unclear regarding the visual. I also have a blog post on the topic titled Turn your cards into slicers with the Slicer Button custom visual.

 

If you found this post useful, it's helpful to me if you give it a thumbs up and accept it as a solution!

 

Best,

Matt

v-chuncz-msft
Community Support
Community Support

@Anonymous ,

 

You may also try adding value to the Matrix visual.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Super User
Super User

By not using Cards. 🙂 Seriously, Card visuals do not filter anything.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

If Cards are not used, what would be a good alternative to "buttons" for filtering visuals in the same page?

Use a list slicer set to a General | Orientation of Horizontal and an Items | Outline


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

That approach works but it does not display the data value associated to the "button".

 

Looks like there is no other way except using a combination of a horizontal list slicer & Card.

Here is a workaround I have utilized - looks just like a card:

 

https://powerdax.com/using-card-slicer-power-bi/

powerdax.com

@Anonymous - Can you show me a picture of what you are trying to go for? I might be able to come up with a way. One thought, use actual buttons and tie them to bookmarks that you create that have the data filtered how you want.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.

Top Solution Authors