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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Slicers depend on each other

Hello all

 

I have several filters in my report.

I would like to have a dependency on the filters. When i change the "year" filter, it should refresh filter "subcat" with only the options available that have data to show.

 

(I made a new projcet where it works as expected with 3 filters)

 

My current project without any selected filters:

1.PNG

 

When i select a date:

2.PNG

It refreshes the Year correctly

 

But in the subcat are all options still available even though there are options without data:

3.png

I would like to hide the options without any valid values, is this possible? Why does it work with the year but not with the subcat?

 

Thank you and kind regards 

9 REPLIES 9
PattemManohar
Community Champion
Community Champion

@Anonymous Please provide the snapshot of your data model. Is the SubCat field (Slicer) is available in the same table where you are pulling other two filters ? If not, if it is in separate table then those two tables have a valid relationship ? Sample data and snapshot of your data model will be really helpful





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

Proud to be a PBI Community Champion




Anonymous
Not applicable

Hi @PattemManohar

 

I will try to generate some sample data..

I have pulled two tables from our db, mainTable and a code Table. mainTable contains a column with SubCat, but its decoded. I made a "join" with the Code Table to show the encoded version. So in the SubCat Slicer abover its actually using a column of a different table

 

I just added another slicer with the original Subcat entry(decoded) and tried again, when doing the same filtering it shows an "Empty" entry.

@Anonymous Yes please, sample data will be helpful.





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

Proud to be a PBI Community Champion




Anonymous
Not applicable

@PattemManohar

 

It will take some time but i will upload it asap.

 

Just in meanwhile, as we probably found the issue (Slicer values from another table), is there a way to include them anyways?

@Anonymous Good, then you need to have a relationship between those tables to filter values as per slicer selection (As you expect).





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

Proud to be a PBI Community Champion




Anonymous
Not applicable

I already had a relation, see below.

Do i need to specify someting?

 

1.PNG

 

 

 

the red column "Text" is the one i use in my "SubCat" slicer.

Capstone
Resolver I
Resolver I

Is this a star schema ? Then have you tried bi directional filtering on the subcat table with your fact table ?

Anonymous
Not applicable

Hello @Capstone

Thank you for the quick response.

Unfortunately i dont know neither what a star schema nor directional filtering is..

Anonymous
Not applicable

Just tried it again, with the original SubCat column slicer it wont show any blank/empty results. But how'd came they are shown as Blank/Empty and not just hidden?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors