Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
TheInvoker
Frequent Visitor

How to setup a datetimezone picker for a datetimezone parameter?

In my query editor, I have 2 parameters (start, end) which are types datetimezone.

 

I want to expose 2 datetimezone pickers to the user so they can pick the 2 dates and let that update the graph.

 

Is this possible to do?

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

Hi  @TheInvoker @

I suggest you to use this customer visual "Smart filter by OKVIz".

vyangliumsft_0-1646706380994.png

You can enter the date format in power bi in the checkbox that appears, and the checkbox below will automatically display the date format that matches your input.

vyangliumsft_1-1646706380996.png

https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380859?src=office&tab=Overview

 

Best Regards,

Liu Yang

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

4 REPLIES 4
v-yangliu-msft
Community Support
Community Support

Hi  @TheInvoker,

The current date will always be included, and by clicking the button with the yellow dot, you can select the time.

vyangliumsft_0-1647221634719.png

 

Best Regards,

Liu Yang

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

v-yangliu-msft
Community Support
Community Support

Hi  @TheInvoker @

I suggest you to use this customer visual "Smart filter by OKVIz".

vyangliumsft_0-1646706380994.png

You can enter the date format in power bi in the checkbox that appears, and the checkbox below will automatically display the date format that matches your input.

vyangliumsft_1-1646706380996.png

https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380859?src=office&tab=Overview

 

Best Regards,

Liu Yang

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

Will it always have the current date in it? And can I pick times as well?

TheInvoker
Frequent Visitor

I saw the tutorial for slicers and parameter binding, but the problem is that the user is required to pick from a dropdown of limited values. I want the user to be able to enter any arbitrary datetime like how a datetimepicker looks like in google chrome browser using <input type="datetime"/>.

 

I can also change it to string value instead of datetimezone. If I do a string format, is there a way the user can type a text and let that bind to the parameter?

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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