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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

In Matrix when I select a value in slicer that value should show in the matrix rest should be hided

Hi Guys,

            When i select a value in the slicer the matrix should show that value only rest should be hided.

in this below image i have selected clicks clicks values are showing in the matrix and the other values impressions, sales and spend are showing blanks but my requirement is to hide these columns. Please help me on this thanks in advance.M1.PNG

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

 

How about show values of "Clicks", "Sales", "Spend", "Impressions" in one measure? And then the result will be what you want.

 

 

Best regards

Icey

 

If this post helps,then consider Accepting it as the solution to help other members find it faster.

View solution in original post

4 REPLIES 4
Icey
Community Support
Community Support

Hi @Anonymous ,

 

How about show values of "Clicks", "Sales", "Spend", "Impressions" in one measure? And then the result will be what you want.

 

 

Best regards

Icey

 

If this post helps,then consider Accepting it as the solution to help other members find it faster.

MFelix
Super User
Super User

Hi @Anonymous ,

 

What is the measure you are using for the metric picker?

 

For having a  setup like this you need to have a disconnected table with the measures names that you use for your columns on the matrix and then a measure similar to this one:

MeasureSelection =
SWITCH(
SELECTEDVALUE(MeasuresTable[MeasureName]),
       "Measure1", [Measure1],
       "Measure2", [Measure2]
       )

And use this measure has your values on the matrix.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

@MFelix It won't work for my requirement.

Similar formula only i have used to create the metricpicker.

And where are you getting the values for the slicer? Is it a disconnected table? Is it the same table?

 

Can you share how your model is setup? 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.