Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi All
I am looking for the way to change
OData.Feed("https://graph.microsoft.com/v1.0/communications/callRecords/getDirectRoutingCalls(fromDateTime="&DateTime.ToText(Date.AddDays(DateTime.LocalNow(),-1),"yyyy-MM-dd")&",toDateTime="&DateTime.ToText(DateTime.LocalNow(),"yyyy-MM-dd")&")", [ Authorization = "Bearer " & access_token ], [ ExcludedFromCacheKey = {"Authorization"}, ODataVersion = 4, Implementation = "2.0" ])
to something like
Web.Contents("https://graph.microsoft.com/v1.0/communications/callRecords/getDirectRoutingCalls",
[ Headers = [#"Content-Type"="application/json", #"Authorization"="Bearer " & access_token],
Query =
[#"fromDateTime"=DateTime.ToText(Date.AddDays(DateTime.LocalNow(),-1),"yyyy-MM-dd"),
#"toDateTime"=DateTime.ToText(DateTime.LocalNow(),"yyyy-MM-dd")] ] )
I am trying to use it in Power BI query and its required to avoid dynamic source issue on dataset refresh in PBI service
Thanks
Solved! Go to Solution.
You will need to use RelativePath rather than Query.
You will need to use RelativePath rather than Query.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 3 | |
| 3 | |
| 2 |