web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dynamically update URL...
Power Apps
Answered

Dynamically update URL with tomorrow date

(0) ShareShare
ReportReport
Posted on by 9

Hello,

 

In excel i have a power query that fetches data from a web JSON API. What i would like to be able to do is to append the URL of this API so that it is automatically appended to include tomorows date at the end.

 

Here is how i currently call the api:

 

Source = Json.Document(Web.Contents("https://api.football-data-api.com/todays-matches?key=xxxxx")),

 

What i need to do is add, in this format, the date of tomorrows date to the end of the API address.

 

&date=YYYY-MM-DD

 

So the end result would look like this:

 

Source = Json.Document(Web.Contents("https://api.football-data-api.com/todays-matches?key=xxxxx&date=YYYY-MM-DD")),

 

Is this possible?

Categories:
I have the same question (0)
  • Verified answer
    mattadams84 Profile Picture
    9 on at

    After some searching, i found my own solution :

    Source = Json.Document(Web.Contents("https://api.football-data-api.com/todays-matches?key=xxxxx&date=" & Date.ToText(Date.AddDays(Date.From(DateTime.LocalNow()), 1), "YYYY-MM-DD"))),

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard