Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I am working on a report for my organization. In this report, I am fetching data from our server using REST API.
let
AuthKey = "",
url = "https://weburl/api",
body = "{""from"":""03/07/2017"", ""to"":""03/07/2017""}",
Source = Json.Document(Web.Contents(url,
[
Headers = [#"Authorization"=AuthKey,
#"Content-Type"="application/json"],
Content=Text.ToBinary(body)
]
)),
txn= Source[txn],
But I want to associate/change "from" and "to" in the API call using a daterange for date filter of power BI. That means if I change the date in date range control, PowerBI will fetch the data and update the report.
How can I do this?
Hi @ritesh24,
Currently, it is not possible to pass selected values from slicer to Power Query so that the dataset loaded into desktop can be dynamically changed. Please be aware of that the values available in data view is fetched from Power Query.
Here is a similar thread for your reference: Passing json parameters to REST API data source
Best regards,
Yuliana Gu
I am working on a report for my organization. In this report, I am fetching data from our server using REST API.
let
AuthKey = "",
url = "https://weburl/api",
body = "{""from"":""03/07/2017"", ""to"":""03/07/2017""}",
Source = Json.Document(Web.Contents(url,
[
Headers = [#"Authorization"=AuthKey,
#"Content-Type"="application/json"],
Content=Text.ToBinary(body)
]
)),
txn= Source[txn],
But I want to associate/change "from" and "to" in the API call using a daterange for date filter of power BI. That means if i chnage the date in date range control, PowerBI will fetch the data and update the report.
How can I do this?
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
84 | |
83 | |
64 | |
60 | |
55 |
User | Count |
---|---|
179 | |
108 | |
105 | |
71 | |
70 |