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
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 III
Advocate III

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.



Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

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



Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

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.



Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors