Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Matrix +/- feature

Hello all, 

I have a matrix as follow:

In this format, in roder to toggle up or down, I have to click +/- sign for each category. 


Well, my question is: Can I provide a function or measure that Expand/collapse all categories with just clicking one parameter or so? 



  • Iamnvt's avatar
    Iamnvt
    7 years ago

    yes, then you need to use Bookmark feature:

    1. Bookmark the page after expand all

    2. Bookmark the page after collapse all

    3. Insert 2 buttons; assign the bookmark for each button.

4 Replies

  • kcantor's avatar
    kcantor
    Community Champion

    Anonymous 

    This could be accomplished using Bookmarks and Buttons. I have a report that I use the drill down from Month to Week either open or invoiced by selecting a button linked to a bookmark. The simply choose Invoiced by Week, Invoiced by Month, Open by Week, or Open by month. Using the bookmarks I change both the axis and the calculation. The axis can be changed through multiple levels before the bookmark is set. 

    https://www.wiseowl.co.uk/power-bi/exercises/power-bi-desktop/drill-through-and-bookmarks/4361/

    • Iamnvt's avatar
      Iamnvt
      Continued Contributor

      hi,

       

      you can right click to the +,- button. It has expand all, collapse all function there.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Iamnvt 

        Thank you for your help. 

        Can I implement this in a separate button on top of the page??