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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
donaldm
Advocate II
Advocate II

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

@donaldm ,

 

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!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

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!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

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

@donaldm - 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!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.