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
Denis_Slav
Helper III
Helper III

Use slicer to switch Columns in Matrix

Hi All, 

Maybe is there any way to resolve next issue without bookmarks?

I've got a tble with the set of columns. I'd like to use slicer to switch them in a matrix. 

Denis_Slav_1-1650036395057.png

 

I already tryied SWITCH, but I couldn't use this measure as column or rows.

1 ACCEPTED SOLUTION
Denis_Slav
Helper III
Helper III

@Samarth_18 @v-henryk-mstf Thanks, but it's not what i'm looking for. 

 

I found solution to do what I want:

https://www.youtube.com/watch?v=dYmzb5UMkXw 

View solution in original post

3 REPLIES 3
Denis_Slav
Helper III
Helper III

@Samarth_18 @v-henryk-mstf Thanks, but it's not what i'm looking for. 

 

I found solution to do what I want:

https://www.youtube.com/watch?v=dYmzb5UMkXw 

v-henryk-mstf
Community Support
Community Support

Hi @Denis_Slav ,

 

Generally speaking, slicer as a filter to filter the object is row, can not dynamically filter column, but I think you can create a button, combined with the function of bookmark, display the same effect, reference the following:

vhenrykmstf_0-1650437839534.png

vhenrykmstf_1-1650437858186.png

Selected column = 
SWITCH(
  SELECTEDVALUE(Slicer_column[slicer_])
   ,"Column1",SUM(Sales[Column1])
   ,"Column2",SUM(Sales[Column2])
   ,"Column3",Sum(Sales[Column3])
   ,BLANK()
)

click button1

vhenrykmstf_2-1650437904935.png

click button2

vhenrykmstf_3-1650437923857.png


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

Samarth_18
Community Champion
Community Champion

Hi @Denis_Slav ,

 

You could refer to below article.

 

https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/#:~:text=Click%20on%2... 

 

Thanks,

Samarth

 

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

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.