Forum Discussion
Date Slicer Returns Blank Results When Using Dim_Date to Fact Monthly Costs
- 9 months ago
Updated: Download example PBIX file
Add a column to your date table that is the first of the month for each date e.g.
Then use that First Date column in the date slicer. It will work fine with your month slicer, which is presumably getting the month from the same date table.
Phil
Hey!
First can you check if your dimtable date column is of the date or datetime type?
Sometimes if the dim datetable has datetype as it's main date column (so 04-12-2025 00:00:00 instead of 04-12-2025) It won't match correctly.
- jaryszek9 months ago
Super User
There is the match. But designing it like that just can not work...because when user will select 2025-02-02 Month does not have a value like that becuase key is only 2025-02-01 (so first day in a month).
I could add per each month record specific Date buty it would increase table by 30 times...(per each day).
Best,
Jacek