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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
shiex1
Frequent Visitor

Date slicer having more month than the date column in date table

Hello everyone,

 

I havet this date slicer to select a specific billing cycle (month). The slicer has all 2024 months in the drop down. However, the date column in the date table only has up to March 2024. Can anyone help me understand why the drop down has more months than the values in the table? Additionally, how can i limit the month in the drop down slicer for 2024 to only have January at this point despite that the date values in date table is currently at March 2024.

 

Thank you.

shiex1_0-1707932289811.png

shiex1_1-1707932358943.png

 

 

2 REPLIES 2
talespin
Solution Sage
Solution Sage

hi @shiex1 

 

Date dimension should have all the dates, but you can filter your slider values based on any logic you want.

 

You could do something like this, modify the logic to your need.

Create a Calculated Column in your Date table.

IsOrderDate =

VAR _CurrSelectedDate = 'Date'[Date]
VAR _IsOrderDate = CALCULATE( MAX(Orders[Order Date]), Orders[Order Date] = _CurrSelectedDate)
RETURN IF( ISBLANK(_IsOrderDate), 0 , 1)

 

Put a filter on your slicer in Filter pane. It will show only those dates that you want to show.

lbendlin
Super User
Super User

This is standard and recommended behavior.  Your slicer should be fed by your Dates dimension table Date column, not by your fact date column.

 

Is this actually distracting your report users?

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!

December 2024

A Year in Review - December 2024

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