Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
4 | |
4 | |
4 | |
3 |