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
Dmitriy
Frequent Visitor

Show result in table only if it is filtered

I have a table of employers and 3 filters by name, second name and department.

I need to make my table to show results only if any of these filters are being active.

How I can do it?

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

hi, @Dmitriy

You could use ISFILTERED to create a measure get your requirement.

 if name, second name and department are in your result visual?

If no, you could add a measure like this 

Measure = IF(ISFILTERED('Table'[name])=TRUE()||ISFILTERED('Table'[Second Name])=TRUE()||ISFILTERED('Table'[department])=TRUE(),1,2)

Then drag it into visual level filter and set filter is 1

1.JPG

 

If yes, you need add a new name, new second name and new department column and use them in visual

and then drag measure into visual level filter and set filter is 1

 

Result:

beforebeforeafterafter

 

Best Regards,

Lin

 

 

Community Support Team _ Lin
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

5 REPLIES 5
v-lili6-msft
Community Support
Community Support

hi, @Dmitriy

You could use ISFILTERED to create a measure get your requirement.

 if name, second name and department are in your result visual?

If no, you could add a measure like this 

Measure = IF(ISFILTERED('Table'[name])=TRUE()||ISFILTERED('Table'[Second Name])=TRUE()||ISFILTERED('Table'[department])=TRUE(),1,2)

Then drag it into visual level filter and set filter is 1

1.JPG

 

If yes, you need add a new name, new second name and new department column and use them in visual

and then drag measure into visual level filter and set filter is 1

 

Result:

beforebeforeafterafter

 

Best Regards,

Lin

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi,

Do you know how I can do this where if you only use one of the filters then the other columns stay blank in a table?

 

My report has a filtering page, and in the report pages I have a 'Selected FIlters' key which should be blank unless a filter has been used. The key is made up of several one column tables, one for each of the filters. I'd like them to only show a result if that field has been used as a filter. All of these fields  are in the same table.

(Courses)

(Qualifications Type)

(Field of Education)

 

So far I have been able to make all tables blank using ISFILTERED on one of my fields (Courses), but only this filter returns results in the tables. When I use the other filters nothing appears in any of the tables.

 

I have used the solution in this thread but only the (Courses) tables is blank and the others are now showing all thier data. When I use a filter all of the tables show filtered results, but I want the other tables to remain blank unless used.

 

Is there a way to do this?

 

Thanks

hi leishka

 

I need  same thing , do you find any way to do that please?

great explanation, thank you

Greg_Deckler
Community Champion
Community Champion

Should be able to use ISFILTERED: https://docs.microsoft.com/en-us/dax/isfiltered-function-dax



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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