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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Slicers Not Working Correctly

I have a simple model. Sales and calendar tables. The calendar table was created using calendar auto and marked as the date table. Whenver I select a specific row in the table for the year 2021, the year slicer still shows every week for the year. data does not exist for them yet. I tried a single and bi-directional relationship. Is this a bug?

9 REPLIES 9
Anonymous
Not applicable

Hi @Anonymous ,

 

The information you have provided is not making the problem clear to me. Can you please explain with an example? 

Can you share some sample data and the expected result to have a clear understanding of your question?

 

Best Regards,

Yuna

FarhanAhmed
Community Champion
Community Champion

Try using "Power Slicer" from Marketplace if you can, and put measure as a filter in it. 

 

This will filter out Slicer selection upon any selection made on other visuals.

 

FarhanAhmed_0-1611722118867.png

 

 

 

 

 







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

Proud to be a Super User!




ebeery
Memorable Member
Memorable Member

@Anonymous please share the details of the relationship you have between the sales and calendar tables (i.e. what are the key fields being related?)

Anonymous
Not applicable

they are linked by date fields. The date in calendar and the transdate in sales.

@Anonymous add a filter to your year and/or week "slicer" to only show items when the "Sales" measure is not blank.

ebeery_0-1611959229026.png


Marco Russo had a great explanation of how/why to do this in a livestream today

https://youtu.be/76CrSzaLbYY?t=1035 

Ok @Anonymous, you're going to have to provide a little more information if we're going to be able to figure this out...

What is meant by "the year slicer still shows every week for the year"?  Can you provide a screenshot unexpected results you're seeing?

amitchandak
Super User
Super User

@Anonymous , Sometimes table to slicer interaction are not on. Check that.

https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions

 

Also do not prefer bi-directional join. You can take a measure from fact and add a visual level filter in the week slicer for that measure is not null.

 

refer this example for the way, work for one slicer too -https://www.youtube.com/watch?v=cyOquvfhzNM

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
Anonymous
Not applicable

That video seems to be showing somethig that has been a default behaviour, when you select the year, you should only be able to select week 5 because no other weeks exist from a data perspective.

Anonymous
Not applicable

These changes make no difference.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.