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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
AnassEss
Helper I
Helper I

HIDE TABLE UNTIL MULTIPLE FILTERS SELECTED AND CARD BLANK

Hi guys,

 

I could solve some problems at my power BI Desktop exercice but I still have 2 problems:

 

1. I need to hide a table where we have 3 filters: 3 slicers (CLIENTS, Type and device) I can hide the table when it comes to client or type slicer but whenever I put Device in the condition the meassure never works. Tried this query: 

ShowColumn =
IF(
    HASONEFILTER(BBDD[Client]) || HASONEFILTER(BBDD[Type]),
    2,
    1
)
So in this query, we get the number 1 when we don't filter and nº 2 when we filter by this columns (with this I can hide or show table). The problem comes when I add HASONEFILTER(BBDD[Device]), in this case the other 2 conditions work and show nº 2 but filter by device shows 1(similar to the case where we don't filter by anything).
 
 

2. I got a card with the name of clients (name changes every time i select slicers and works correctly). I would like it to be blank until i select a filter. For some reason every time I make a measure and put it to the card it doesn't work(can't even put the measure to check what happens).

 

If anyone has some insights I would appreciate it

 

Thanks in advance and Kind Regards.

2 REPLIES 2
Idrissshatila
Super User
Super User

Hello @AnassEss ,

 

check this out https://youtu.be/O5k8iud_Mcw?si=WSOk8aT9kOMFUy7H

 



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!




I appreciate it and the video is really useful but not in this case since I don't want to hide the whole thing and it is not based on a slicer such as hide and show, it is based on multiple slicers that are interconected. Any suggestions for nº 2 problem?

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!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.