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
BishwaR
Helper V
Helper V

Hide tables using a card

I have two exact tables A and B.  A filters B but B does not filter B because I disabled the filter on B.

Now the purpose of B is to work as a drillthrough page. 

If I select a row in A it will filter B based on my selection.

 

Now I want to hide Table B and get visible only when I make a selection in A.

Can I create a measure  if Countrow < 2,"FFFFFF00","White" and use a card to cover the table B

 

Thanks

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@BishwaR , Card background and font all should use this in conditional formatting 

 

if( isfiltered(Table[A]), "FFFFFF00","White" )

 

Use in conditional formatting using filed value option. It is based on the column that was expected to be filtred

 

or use countrows(Table)

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@BishwaR , Card background and font all should use this in conditional formatting 

 

if( isfiltered(Table[A]), "FFFFFF00","White" )

 

Use in conditional formatting using filed value option. It is based on the column that was expected to be filtred

 

or use countrows(Table)

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.