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
AnonEMoose
Regular Visitor

Possibility of dynamically hiding values in multiple columns based on a slicer?

I'm not even sure if Power BI has the capability to this, but what I'm trying to do is essentialy "hide" values dynamically based on a slicer or some other way to specify values (less than 2, between 2 and 4, only 5, etc). I've been able to add a slicer for each column, but it ends up hiding the entire rows (which I don't want), but also having a slicer for each column isn't ideal either. 

C1C2C3C4C5C6C7C8
43452224
34432354
44451233
32341124
33455214
22221114
55352424
55351213
55351213

So I guess I'm looking for a slicer or other type of way to hide values from multiple columns at the same time, without hiding the rows. I'm mentally prepared to hear this isn't possible, but thanks in advance nonetheless. 

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @AnonEMoose ,

 

you create a numeric parameter that you would use to specify the number , then you apply the following dax

C1 value = IF(SELECTEDVALUE('Table'[C1]) < Parameter[Parameter Value],BLANK(),SELECTEDVALUE('Table'[C1]))




Idrissshatila_0-1704915519033.pngIdrissshatila_1-1704915544471.png

if you want to have values between, then you create another numeric parameter and adjust the dax to greater than parameter one and less than parameter 2.

 

attached is the pbix that i used to demonstrate the above.

 

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Idrissshatila
Super User
Super User

Hello @AnonEMoose ,

 

you create a numeric parameter that you would use to specify the number , then you apply the following dax

C1 value = IF(SELECTEDVALUE('Table'[C1]) < Parameter[Parameter Value],BLANK(),SELECTEDVALUE('Table'[C1]))




Idrissshatila_0-1704915519033.pngIdrissshatila_1-1704915544471.png

if you want to have values between, then you create another numeric parameter and adjust the dax to greater than parameter one and less than parameter 2.

 

attached is the pbix that i used to demonstrate the above.

 

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




This was 90% of what I needed, and I was able to figure out the other 10%. Thank you for your help!

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.