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
angle_Fbi
Helper II
Helper II

date hierarchy showing future value

hi guys

 

i have a data which from jan 2024 up to jan 2025

when i use date hierarchy so inserct slicer it shows me a slicer from jan 2024 to december 2025 ( when actually there is no data there in my table )

 

kindly assest me to remove the extra month from my slicer ( keep in mind that on monthly basis i am updating this visual.  so after on month i will be showing Feb data then march... etc )

 

 

notice:  there is no any other table in my visual or relationhships 

 

angle_Fbi_0-1738501541170.png

 

2 REPLIES 2
PhilipTreacy
Super User
Super User

@angle_Fbi 

 

The data you have shown is not dates, it's one column of numbers and one column of text.  PBI will ot recogise tese as dates so you need to create/use a proper date column, preferably in a date table.

 

You can then use the dates for the slicer.

 

Please supply your data file if you need further assistance.

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


rohit1991
Super User
Super User

Hi @angle_Fbi ,

Fix: Remove Extra Future Dates from Slicer in Power BI

Your slicer shows future months because of Auto Date/Time Hierarchy or a disconnected Date Table.

Solution 1: Turn Off Auto Date/Time

  1. Go to File > Options and Settings > Options
  2. Under Data Load, uncheck Auto Date/Time
  3. Refresh your model

Solution 2: Filter the Slicer

  1. Select the Month-Year slicer
  2. In the Filter Pane, add a condition:
    • Show only existing months from the data table

Solution 3: Use a DAX Filter

Create a measure to show only months with data: HasData = IF( COUNTROWS( 'YourTable' ) > 0, 1, 0 )

  • Apply it as a visual-level filter
  • Set HasData = 1

 

"The goal is to turn data into information, and information into insight." – Carly Fiorina

Need Power BI help? Connect on LinkedIn.



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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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