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

Hiding table before filtering

Hello,

 

I´m having a problem that I can´t seem to figure out. I´ve created a measure to help me hide tables when no "row" of a table has been selected which looks like this:

 

SGs Filtrados =
IF(
ISFILTERED(v_sup_supplier_family_dwe_tecp),1,0
)
 
The measure does it job perfectly, however the data in the table is not hiding and I don´t understand why:
rodriperez10_1-1621456293080.png

 

As you see the value of the measure is 0, but the table is still showing data.

 

Does anybody knows how to solve it?

Thanks


 

1 ACCEPTED SOLUTION
v-janeyg-msft
Community Support
Community Support

Hi, @rodriperez10 

 

According to your description, I think you used the wrong function. The isfiltered() function returns TRUE when columnName is being filtered directly. It is generally used to judge whether the data in the slicer has been selected. It doesn't filter the data of the row

You can create a measure based on the row data you want to filter,Like this:

SGs Filtrados =
IF ( table[column] <> BLANK (), 1, 0 )

If you still have problems, please feel free to ask me.

 

Best Regards

Janey Guo

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-janeyg-msft
Community Support
Community Support

Hi, @rodriperez10 

 

According to your description, I think you used the wrong function. The isfiltered() function returns TRUE when columnName is being filtered directly. It is generally used to judge whether the data in the slicer has been selected. It doesn't filter the data of the row

You can create a measure based on the row data you want to filter,Like this:

SGs Filtrados =
IF ( table[column] <> BLANK (), 1, 0 )

If you still have problems, please feel free to ask me.

 

Best Regards

Janey Guo

 

If this post helps, then please consider Accept it as the solution to help the 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.