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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
nicolast29
Helper V
Helper V

filtering table not working

Hi

May be i need holidays, but i don't understand why my slicer didn't filter my table ...

nicolast29_0-1712929773370.png

Here a link toa share file

filter matrix.pbix

 

thanks a lot

 

1 ACCEPTED SOLUTION
Sergii24
Super User
Super User

Hi @nicolast29, this issue seems to be related to the use of "Date Hierarchy":

Sergii24_0-1712930870766.png


If we replace date hierarchy with any other column it works perfectly fine!

Sergii24_1-1712930957751.png

Instead, if you want to use "Auto date/time" hierarchy, you need to add any column of DIM_Calendrier to the visual.

"Auto date/time" creates in a background a hidden date table for you, but it looks like that created relationship is one-to-many from the hidden table to "🗓️ DIM_Calendrier". So you can use the hidden one as a filter, but when adding it to a visual, you need at least one column from "🗓️ DIM_Calendrier", so PowerBI understands that you want to filter "🗓️ DIM_Calendrier" and not the hidden table (which you can't because of single direction of relationship).

As a general reccomendation, I would suggest to turn-off "Auto date/time" for all pbix files and use directly columns of your Calendar table.

Sergii24_2-1712931067707.png

 

 

View solution in original post

2 REPLIES 2
nicolast29
Helper V
Helper V

thanks a lot

Sergii24
Super User
Super User

Hi @nicolast29, this issue seems to be related to the use of "Date Hierarchy":

Sergii24_0-1712930870766.png


If we replace date hierarchy with any other column it works perfectly fine!

Sergii24_1-1712930957751.png

Instead, if you want to use "Auto date/time" hierarchy, you need to add any column of DIM_Calendrier to the visual.

"Auto date/time" creates in a background a hidden date table for you, but it looks like that created relationship is one-to-many from the hidden table to "🗓️ DIM_Calendrier". So you can use the hidden one as a filter, but when adding it to a visual, you need at least one column from "🗓️ DIM_Calendrier", so PowerBI understands that you want to filter "🗓️ DIM_Calendrier" and not the hidden table (which you can't because of single direction of relationship).

As a general reccomendation, I would suggest to turn-off "Auto date/time" for all pbix files and use directly columns of your Calendar table.

Sergii24_2-1712931067707.png

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.