cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CrimsonDawn
Frequent Visitor

Date Slicer not displaying as a calendar

I have used two date slicers that are used for parameter binding for direct query. I am not able to display those slicers as calendar even though they are in date format. As soon as i did parameter binding with those slicer it turned to dropdown.

2 REPLIES 2
RicoZhou
Community Support
Community Support

Hi @CrimsonDawn ,

 

Please make sure you add the date column or date/time column into the slicer instead of the date hierachy.

Here I create a sample with Date and Date/Time type Parameters in Power Query Editor. And turn on "Enable load".

RicoZhou_0-1656051721702.png

RicoZhou_1-1656051733698.png

If you turn on "Auto date/time for new file" in Option, Power BI will create a date hierachy in your data model. When you add the date or date/time column into the slicer, Power BI will add the hierachy automaticly. If you add hierachy into slicer, you could dropdown only.

RicoZhou_2-1656052161123.png

I suggest you to select the column in Field.

RicoZhou_3-1656052178474.png

And then if your column in date or date/time type, you will be able to use all kind of function as below.

RicoZhou_4-1656052192089.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

I tried that. Its not a hierarchy when its added to slicer but still it only has dropdown and list

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.