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
Nicolas_P
New Member

Get data with bearer token

Hello community!


I kindly ask you to help me with other question:

I have an api with standart uathorization via POST (login/pass), after i get an answer with bearer token. (using Postman)

With this token i'll do a second request via GET method and some parametrs, and in final i get an answer with data. 
Sorry, maybe not technical description))) 


So, how can i get the data to Power Bi report? 
Also, i need to update this report once a week, in API data will be updated automatically.

I will be grateful for you answers or some links to resolve this problem.

1 ACCEPTED SOLUTION
DavisBI
Solution Specialist
Solution Specialist

Hi, @Nicolas_P 

 

You can use [Get Dataset] to get data from Power BI Service, and if you're worried that you won't be able to get the latest dataset due to the schedule refresh plan, you actually can do this via REST API [Refresh Dataset], and then use [Get Dataset] immediately.

 

Mark this post as solution if this helps, thanks!

View solution in original post

3 REPLIES 3
Nicolas_P
New Member

Request was issued, many thx!

DavisBI
Solution Specialist
Solution Specialist

Hi, @Nicolas_P 

 

You can use [Get Dataset] to get data from Power BI Service, and if you're worried that you won't be able to get the latest dataset due to the schedule refresh plan, you actually can do this via REST API [Refresh Dataset], and then use [Get Dataset] immediately.

 

Mark this post as solution if this helps, thanks!

Hello @DavisBI !

Currently can't understand how the Get dataset can help me with correct request, maybe you can provide some code example?

 

Regards, Nicolas.

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.