I am sure there is a simple answer, but I am not sure why my date slicer isn’t working.
The data has a number of test results for each batch, and I want to pull the most recent test result.
When I add a date slicer, the data disappears, I have checked the formats between the DimDate and Fact table and they seem to be the the same.
For example when using the slicer to chose range between dates 28/01/2022 and 30/03/2022 you would see the date 30/01/2022 as the test result date, or Attribute 3 , Batch 769-745-21 or before date 29/11/2022 , the result would change to 17/11/2022 for the same line , etc.
Relationship between DimDate and Test_Attribute is based on the date part, but the column in Test also has time part, there are no rows in that table that appear on the midnight that’s why you get a blank.
Either add a new column for just the date or use Tabular Editor to build the relationship only on the date part.