Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Syndicate_Admin
Administrator
Administrator

Getting Rest API data with Dynamic Token

Hello community. I hope they are okay. I bother them because I'm trying to get data from a dynamic token rest API where I first have to get the updated token and then use this get the data. The problem I have is that PowerBi does not give me to use a query (the token) as a parameter of another query (that of the data itself), so it throws me the following error:

Captura de pantalla 2021-12-01 113338.jpg

What I was researching is by using one query over another query.

I already tried converting the token query into a function, calling it, unifying everything into a single query but I have not had results.

Can you give me a hand with this?

Of course, thank you very much.

1 REPLY 1
negi007
Community Champion
Community Champion

@Syndicate_Admin please go through some of below links for assistance.

 

https://community.powerbi.com/t5/Power-Query/Pull-data-from-a-REST-API-Authentication/td-p/246006


step by step
https://growteq.nl/2017/01/11/self-service-data-ophalen-vanuit-exact-online-in-power-bi/


https://community.powerbi.com/t5/Power-Query/OAuth2-REST-API-as-data-source/td-p/414748

 

 




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.