cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
TheInvoker
Regular 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
Regular 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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors