Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello,
It's there any possibility to have date picker to import data from SQL server?
In my file I'm using two parameters with date and time in my SQL query.
Best regards
Krzysztof
Hi @KRZYSZTOFB ,
According to your description, when the date parameter is used in conjunction with a PowerBI query, an error message of the following type appears.
We cannot apply operator & to types Text and Date.
Just like below:
The best way is to set the dynamic start date and end date for the date table in Power Query after successfully connecting to the sql data source, the detailed steps can be found in the following blog.
Using A Dynamic StartDate & EndDate For Power BI Query Date Tables (enterprisedna.co)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@KRZYSZTOFB , No , It has table from Power bi Table.
Check if the Dynamic M parameter can help https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters
Hello,
I have created file according to link You have shared.
Filtering works properly but since i've bind my table to parameter, I'm not able to use calendar on slicer.
I have only two options visible: List and Dropdown:
Field is slected properly - as Date.
Everything was fine before binding.
Do you have idea how to fix this?
Best regards
K.B
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 36 | |
| 33 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 73 | |
| 72 | |
| 38 | |
| 35 | |
| 26 |