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! Learn more

Reply
Anonymous
Not applicable

Have slicer options filtered based off empty data in another table.

Hey All, 

 

I currently have two tables. One which has all the details of projects based off a project number. The second table has a list of only the projects that have been exported and can be used for the reporting. At the moment when I add the 'Project' column to the slicer it shows every project even though many are empty. How do I set up a filter or measure so it only shows the project name of those projects which have been exported to the second table. I know I could add a column easily to the second table to put the project name but this messes with other filters on the page and reduces what projects can be seen. I ideally need a way of filtering out the current table I'm using to purely show lines related to the other table, rather than editing or changing either of the tables.

 

In the photo below you can see there is a 'Project' slicer and a 'Group/Database' slicer. I need the group/database slicer to not filter the projects but the projects to filter the groups/database also. Currently this works when using the 'Projects' column in the currently used table but not when using the job number from the other table.

 

brad_koeppler_0-1655088131318.png     brad_koeppler_1-1655088203814.png      brad_koeppler_3-1655088639514.png

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Anonymous ,

I created some data:

Table1:

vyangliumsft_0-1655270325292.png

Table2:

vyangliumsft_1-1655270325294.png

Use Table1's [Project] and [Group/Database] as slicers.

vyangliumsft_2-1655270325295.png

Here are the steps you can follow:

1. Create measure.

Flag =
VAR _SLEECT=SELECTCOLUMNS('Table2',"project",[Project])
return
IF(
    MAX('Table'[Project]) in _SLEECT,1,0)

2. Place [Flag]in Filters, set is=1, apply filter.

vyangliumsft_3-1655270325295.png

3. Result:

vyangliumsft_4-1655270325296.png

Best Regards,

Liu Yang

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

2 REPLIES 2
Anonymous
Not applicable

Hi  @Anonymous ,

I created some data:

Table1:

vyangliumsft_0-1655270325292.png

Table2:

vyangliumsft_1-1655270325294.png

Use Table1's [Project] and [Group/Database] as slicers.

vyangliumsft_2-1655270325295.png

Here are the steps you can follow:

1. Create measure.

Flag =
VAR _SLEECT=SELECTCOLUMNS('Table2',"project",[Project])
return
IF(
    MAX('Table'[Project]) in _SLEECT,1,0)

2. Place [Flag]in Filters, set is=1, apply filter.

vyangliumsft_3-1655270325295.png

3. Result:

vyangliumsft_4-1655270325296.png

Best Regards,

Liu Yang

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

Hariharan_R
Solution Sage
Solution Sage

Hi,

if you are looking for the one of the slicer should not filter the other slicer then you can use "Edit Interactions" option.

 

Choose the project slicer and disable the selection for the other slicer.

 

Hariharan_R_0-1655097517836.png

Thanks

Hari

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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