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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.