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
Anonymous
Not applicable

How can I add or remove columns dynamic in my matrix visual?

I have created a matrix visual in my repot - which is getting it's column values\data from different Measures I have created in the report data tables. 

 

I want to create a slicer which will have these different measure names as it's values and user can select which columns to display in the matrix visual at any point of time.

 

So if the user selects only Actual and Plan to show from the slicer the matrix should only display 3 columns (1 - Unit \ 2- Actual \ 3 - Plan). Rest of the columns should be hidden\removed from the matrix. 

 

 Screenshot 2022-02-25 162638.png 

2 REPLIES 2
Anonymous
Not applicable

Thanks @DataInsights  This solution solved part of my problem however I was just trying to see if there is anyway we can apply sorting\conditional formmatting on the added columns. I tried from my side but it seems like as everything is coming for a measure. 

DataInsights
Super User
Super User

@Anonymous,

 

Try this solution:

 

https://community.powerbi.com/t5/Desktop/Dynamic-column-selection-for-matrix-visual/m-p/687993 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.