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
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show Episode 10 Recap

The Power BI Community Show

Watch the playback when Amit Chandak, a Power BI Super User, demos how to use Field Parameters to make reports more dynamic.

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!

Health and Life Sciences Power BI User Group

Health and Life Sciences Power BI User Group

Power BI specialists at Microsoft have created a community user group where customers in the provider, payor, pharma, health solutions, and life science industries can collaborate.

Top Solution Authors