Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Dear Helpers,
I hope there is a solution to my issue:
I have an API Call that gets the latest energy prices from ENTSO-E Platform. I call the API as follows:
Source = Xml.Tables(Web.Contents("https://transparency.entsoe.eu/api?securityToken=" & "MYTOKEN" & "&documentType=A44&" & "in_Domain=" & #"ENTSO-E-Zone-DE" & "&out_Domain=" & #"ENTSO-E-Zone-DE" & "&periodStart=" & "202112312300" & "&periodEnd=" & Date.ToText(Date.AddDays(Date.From(DateTime.LocalNow()),-1),"yyyyMMdd")&"2300", [Headers=[#"Content-Type"="application/xml"]])),When I publish it to the service it says, that it can't refresh automatic as I use a dynamic datasource. I guess that the calculated period end is the problem. Is there any way to solve this issue or a best practice with dynamic API calls?
I look forward to your suggestions
Best regards
Manuel
Solved! Go to Solution.
Please refer Solved: REST API Dynamic Datasource aren't refreshed - Microsoft Power BI Community
Setting a scheduled refresh on a Dynamic Data Source in Power BI | by dataninja | DataDrivenInvestor
Please refer Solved: REST API Dynamic Datasource aren't refreshed - Microsoft Power BI Community
Setting a scheduled refresh on a Dynamic Data Source in Power BI | by dataninja | DataDrivenInvestor
Dear @arvindsingh802 ,
thank you very much for your reply. I have now this code, however get a 404 error message as I don't know where to put the [Headers=[#"Content-Type"="application/xml"]] Part:
Xml.Tables(
Web.Contents(
"https://transparency.entsoe.eu/api",
[
RelativePath="",
Query=
[
securityToken="MYTOKEN",
documentType="A75",
processType="A16",
in_Domain=#"ENTSO-E-Zone-DE",
periodStart="202112312300",
periodEnd=Date.ToText(Date.AddDays(Date.From(DateTime.LocalNow()),-1),"yyyyMMdd")&"2300"
]
]
)
)
Can you help me out?
Best regards
Manuel
Your solution worked, I had another mistake in my code
Check out the April 2026 Power BI update to learn about new features.
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.
| User | Count |
|---|---|
| 10 | |
| 10 | |
| 9 | |
| 7 | |
| 7 |
| User | Count |
|---|---|
| 42 | |
| 31 | |
| 26 | |
| 19 | |
| 19 |