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
Flawn
Helper III
Helper III

Slicer appears not to be working on table

Hello All,
I've come across what looks like a bug or some sort of technical issue that I am unable to resolve on my own. I think it is best illustrated via images:

Flawn_0-1729567582023.png

Flawn_1-1729567618855.png

Flawn_3-1729567639560.png


To explain what is shown in the provided screen snips. I have a dropdown slicer that can be used to select for a given date range. While I was noticing this issue using a date table with relationships to the associated table, I wanted to see if the issue still persisted whilst using the native date column (Mcs_bookedon) of the given table. It seems like, for whatever reason - be it with the related date table or with the data-table's own date column - the date slicer is not able to accurately filter for the correct dates. All of the other slicer's for the give table appear to work correctly.

Anybody have any idea as to why this could be happening?

Warm Regards,
Flawn

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

Hi @Flawn ,

 

Ritaf1983's insights are great. 

By the way, you could check if the relationship between the tables where your two date columns are located is correct.

I got 2 tables and they have same columns int two tables as an example.

vstephenmsft_1-1730360864178.pngvstephenmsft_2-1730360870770.png

There are two possible scenarios here:

1.There's no relationship between them.

vstephenmsft_0-1730360784359.png

In my table visual, I had a measure to connect two tables. However, there is no definite relationship between the two tables, so it becomes a Cartesian product expansion.

vstephenmsft_3-1730362499243.png

2.Maybe your relationship is not connected to a date column, but to two other fields connected to two tables.

For example, I'm connecting the index column instead of the date column.

vstephenmsft_4-1730362686364.png

Best Regards,

Stephen Tao

 

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

4 REPLIES 4
v-stephen-msft
Community Support
Community Support

Hi @Flawn ,

 

Ritaf1983's insights are great. 

By the way, you could check if the relationship between the tables where your two date columns are located is correct.

I got 2 tables and they have same columns int two tables as an example.

vstephenmsft_1-1730360864178.pngvstephenmsft_2-1730360870770.png

There are two possible scenarios here:

1.There's no relationship between them.

vstephenmsft_0-1730360784359.png

In my table visual, I had a measure to connect two tables. However, there is no definite relationship between the two tables, so it becomes a Cartesian product expansion.

vstephenmsft_3-1730362499243.png

2.Maybe your relationship is not connected to a date column, but to two other fields connected to two tables.

For example, I'm connecting the index column instead of the date column.

vstephenmsft_4-1730362686364.png

Best Regards,

Stephen Tao

 

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

 

Ritaf1983
Super User
Super User

Hi @Flawn 

It seems that there’s a mismatch between the data types of the column in the calendar table. In the column you placed in the table, the data type is Date/Time, while in the slicer, it’s probably just Date.

That’s why the relationship between them isn’t working as expected. To confirm this, you can place both columns in one table and check that they don’t match.

Ritaf1983_0-1729569449806.pngRitaf1983_1-1729569476957.png

If it is something else 

Please provide a workable sample data and your expected result from that. It is hard to figure out what you want to achieve from the description alone.  

https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Hi Rita,

Both the column from the table, and the filter are the exact same column, so placing them in the same table wouldn't achieve a great deal. Because they are the exact same column, they also couldn't possibly be suffering from a date type mismatch - they are the same column.

To give you an idea of how strange this is - if both the date field and the date hierarchy from the same date column are included in the same table they do not match with eachother:

Flawn_0-1729576603603.png

Both columns are from the 'bookedon' date field, one is just the hierarchy.


I'll try to generate a working datasample but unfortunately this dataset is filled with data that cannot be shared publically, so cleaning away the identifiable and confidential information may take a while. It's why my screencaps are so oddly shaped as well.

Warm Regards,
Flawn

I'm trying to generate


Hi @Flawn 

t can also be seen in your screenshot that something is not right. The date and time column shows the year 2019, while in the "Year" column, it's 2024, the month is wrong too...

Ritaf1983_0-1729577577840.png

 


This is not a bug—the issue lies with something not being properly built in your model.

 

Are you importing data via Direct Query?
Why do you have the same date and time column in two different tables?
Unfortunately, it's very hard to guess what's not working without access to the file and without knowing exactly what you're trying to accomplish—it's roughly equivalent to trying to give a medical diagnosis without seeing the patient. Everything is just a guess.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

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!

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.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.