Forum Discussion
Auto refresh data from API on web
- Anonymous5 years ago
Done...I went to the dataset in PBI service online and set a auto refresh and worked ¬¬ haha
Thanks guys!!
Please see if this post helps.
Solved: Pull data from a REST API Authentication - Microsoft Power BI Community
Looking at documentation at the link you provided, you'll need to have the following in the header
content-type: application/json
token_exact: <your token>
Regards,
Pat
Hey Pat...
I didn't undertand. I've imported all the data thru Advanced Editor (before your solution):
= Json.Document(Web.Contents("https://api.exactsales.com.br/v2/listarlead?max_results=10000", [Headers=[token_exact="my token"]]))
I've followed your solution and gave me:
= Json.Document(Web.Contents("https://api.exactsales.com.br/v2/" & "listarlead?max_results=10000", [Headers=[#"Content-Type"="application/json", token_exact="my token"]]))
Basically the same.
This will auto refresh the report online?
I'm sorry, I'm newbie in this API field.
Anyways, I've changed to the solution you gave, I'll publish now and pray for tomorrow auto-refresh 😄