The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
Solved! Go to Solution.
Your slicer shows future months because of Auto Date/Time Hierarchy or a disconnected Date Table.
Create a measure to show only months with data: HasData = IF( COUNTROWS( 'YourTable' ) > 0, 1, 0 )
@Anonymous
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
Proud to be a Super User!
Your slicer shows future months because of Auto Date/Time Hierarchy or a disconnected Date Table.
Create a measure to show only months with data: HasData = IF( COUNTROWS( 'YourTable' ) > 0, 1, 0 )