cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gggar
Helper I
Helper I

Limit Calendar Picker Display to Certain Range

Hello,

 

I have two questions. Please find below the attached image.

 

First.

Is it possible to make the calendar picker to display certain range of dates?

Currently I have data from 1-Jan-21 onwards. I don't want the calendar to display dates before that.

Currently it's possible to select the dates before, i.e. from 2020. User can click on it, eventhough it won't show data anyway.

 

 

Second.

How can we change the date value format in "from" and "to" calendar textboxes?

As you can see in the attached image, they are displayed as 1/1/2021 and 5/8/2021.

I want to change it to 1-Jan-21 and 8-May-21. 

I already changed the format of my date field to this, but it doesn't work.

 

 

Anyone knows the answer? Any help will be greatly appreciated! Thank you.

 

 

Screenshot 2021-05-08 233048.png

 

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @gggar ,

 

I am sorry to tell you that your two requirements cannot be fulfilled.

But I found this custom visual you can refer to

 

21.png

22.png

 

 

Best Regards,

Stephen Tao

 

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

 

View solution in original post

3 REPLIES 3
v-stephen-msft
Community Support
Community Support

Hi @gggar ,

 

I am sorry to tell you that your two requirements cannot be fulfilled.

But I found this custom visual you can refer to

 

21.png

22.png

 

 

Best Regards,

Stephen Tao

 

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

 

View solution in original post

gggar
Helper I
Helper I

Hi @Fowmy ,

 

For the 1st question, thanks for the suggestion.

Tried that, however unfortunately calendar for 2020 is still displayed.

gggar_0-1620494648925.png

 

I don't want it to be displayed at all. The calendar needs to be displayed at Jan 2021 at minimum.

Do you have any solution for that?

 

For the 2nd question, noted.

 

Thank you.

Fowmy
Super User IV
Super User IV

@gggar 

Regarding the First question, yes you can do it by setting the start date in the filter pane for the date slicer as follows. 

 

Fowmy_0-1620493518012.png

For your 2nd question on the format of the dates, I don't think you can do it. I would like to suggest posting an idea at https://ideas.powerbi.com/ideas/ or search and vote for any idea already exists.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Blog - Data Visualization

Website   YouTube    LinkedIn   PBI User Group

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors