Forum Discussion

tonybrogan's avatar
tonybrogan
Advocate I
4 years ago
Solved

Card Filter Not Working

Apologies all if I am missing something obvious or a simple solution.

 

I have created a number of cards returning a total from calculated columns and I would like the option to select it and the associated table is updated accordingly.  

 

Unfortunately I cannot work out how to do this without using a separate filter, I thought this would just be automatic but no joy and cannot find a workaround.

 

Any ideas greatly appreciated.

 

Thanks  

  • Hi tonybrogan ,

     

    I agree with HotChilli. This is not supported in Power BI.

     

    But there is a workaround based on button and bookmark like so:

     

     

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

5 Replies

  • HotChilli's avatar
    HotChilli
    Community Champion

    I think you want to click on the card and the table visuals will update somehow but that's not how filtering works.

    The card total will be a measure but there's no logic to how that measure will affect data in the visuals.

  • Icey's avatar
    Icey
    Community Support

    Hi tonybrogan ,

     

    I agree with HotChilli. This is not supported in Power BI.

     

    But there is a workaround based on button and bookmark like so:

     

     

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • tonybrogan's avatar
      tonybrogan
      Advocate I

      Thanks for this, looks an ideal fix for what I need so will give it go.

    • elkhawase's avatar
      elkhawase
      Frequent Visitor

      Thank you so much that sorts out the issue if it's a matrix with rows and Values, but if it doesn't have Rows or if it's a card for ex, it won't filter the measure in visual filters, so as a solution to whoever needs this, we can use a workaround as 2 measures to make the font and the background of the card transparent if nothing is selected.

  • 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 Card

     

    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