This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi all,
I'm requesting some data using the web connector. Part of the URL I am connecting to has a date range, see below:
query=created:%20[2018-01-30T00:00:00%20TO%202018-01-30T23:59:59]
The date has to be expressed in this way. Is there a way I can make this date range dynamic so it always references yesterday?
I've tried using some of the datetime functions but can't get it to work.
Thanks
Mike
hi, @Anonymous
See this link, it can help in solving your problem
is-it-possible-to-dynamically-update-the-source-url-with-power-query
Please try and test using it. And please mark the right reply as answer if your issue has been resolved, otherwise, please feel free to ask if you have any other issue.
Best Regards,
Rfranca
Hi
It doesn't really explain how to dynamically input the date in the correct format in the power query.
Regards
Mike
Hi @Anonymous,
Here is a similar thread for your reference:
Passing dynamic date parameters to Web query
Regards,
Yuliana Gu
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 25 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 26 | |
| 20 | |
| 19 |