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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
PowerBITestingG
Resolver I
Resolver I

Hiding secondary table if main table has one value selected

I have 2 tables, the main, and secondary

 

When users click on a row on the first table, I am displaying the related rows in the secondary table.

 

When there is not one selection I would like the secondary table to be blank

 

I would think that just using HASONVALUE(Column) as a filter would work, but for some reason its not affecting the filters

 

Any ideas?

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

Hi @PowerBITestingG ,

Test like the below:

HasOneFilter = 
    IF(
        HASONEFILTER(table1[Name]),
        VALUES(table1[Needs]), "")

 

And a similar case refer:

 
 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

View solution in original post

2 REPLIES 2
v-luwang-msft
Community Support
Community Support

Hi @PowerBITestingG ,

Test like the below:

HasOneFilter = 
    IF(
        HASONEFILTER(table1[Name]),
        VALUES(table1[Needs]), "")

 

And a similar case refer:

 
 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

amitchandak
Super User
Super User

@PowerBITestingG , Choose a column from table one which will get filtered or use more and create a measure like below and use that in visual level filter and check value =1

 

calculate(int(isfiltered(Table[Column])) , allselected())

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors