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

To hide the matrix in case of selection

Please help, I have created the matrix with multiple values

25_3-1665417343670.png

 

I want it to be shown only in case the user selected the exact title from the slicer. I have already tried with this measure:

QuestionSelectCheck = IF(HASONEFILTER(Query3[Please indicate the title of the solution]),"1","2") but it doesn`t provide me a possibility to choose the value from filter as it should be 25_1-1665417269239.png25_2-1665417291067.png

 

Kindly help as there is no reason to see this matrix until the needed title is chosen 

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi @Anonymous,

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Anonymous
Not applicable

https://1drv.ms/u/s!Asx0w5w5JIE_dHZ6vb6KbAgssmM?e=nRWcFq

I do not want to see a matrix if training is not selected

HI @Anonymous,

After checking your sample file, I find the value seems to form different fields. The current measure filter seems not suitable for this scenario.
I'd like to suggest you duplicate a table to use unpivot column feature to convert these fields to attribute and value. Then you can simply create a matrix and add a filter to value fields to exclude the not matched values.

Unpivot columns - Power Query | Microsoft Learn

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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.