How To Swap REST API Bearer Token in Power Query To Allow Easy Data Refresh in Power BI

preview_player
Показать описание
In this tutorial, we're diving into the world of REST APIs and Power Query to bring you a game-changing method for creating ad-hoc reports in Power BI.

If you've been following along with my Power BI REST API series, you know how powerful it can be. We've explored functionalities on Microsoft Learn and imported data directly into Power Query. However, to extract data, you need to identify yourself with a time-limited token from Microsoft Learn.

But what if you only need a one-time report without worrying about frequent updates? That's exactly what we're tackling today. I'll show you how to leverage the magic of Power Query parameters to make this process a breeze.

This tutorial is perfect for Power BI users looking to efficiently pull data from REST APIs without the need for constant refreshes. Whether you're a beginner or an experienced user, you'll find valuable insights here.

👍 Don't forget to like, share, and subscribe for more data-driven tutorials! Hit the notification bell to stay updated with the latest tips and tricks. Let's empower your data journey together! 💡📊

Have a good one!
Roland

💪 New videos coming every week 🤹‍♂‍
🤘 New short videos coming every week 👨‍🏫

🔗LINKS:

🎬 MORE VIDEOS:
Power BI & Power Automate - How to automate reporting process -

Chapters:
00:00 Topic Of The Day - REST API Bearer Token
00:49 Intro
00:57 BI-Lingual Analytics
01:17 Ad-hoc REST API Report
01:49 Microsoft Learn - Get Group Users
02:30 Bring Data To Power BI
03:30 Bearer Token Limitation
03:56 Create A Power Query Parameter
04:42 Add a New User
04:52 Token Expiry
05:02 Swap REST API Bearer Token
05:34 Bringing Together What We Learnt
06:32 What's Next - Azure App
06:47 Questions - Comments
06:56 End

▼▼▼▼▼▼▼▼▼

Make sure to hit the 👍 button and ❗❗ SUBSCRIBE ❗❗ to my channel.
If you have any questions, just let me know either in the comments down below 👇 or send us an e-mail 📩.

▲▲▲▲▲▲▲▲▲

🤝 HOW TO CONNECT 🤝
📍 – Sydney, Australia

📽 GEAR:
📷 – Sony ZV-E10
🎙 – Audio Technica AT2020
🔦 – Neewer 18” Ring Light, Elgato Key Light
🎧 – BOSE QC35
🖥 – ASUS VC279H + Xiaomi Mi Curved 34"
💻 – Intel i7-12700K, Gigabyte Aorus Master 3080 12GB, Corsair Vengeance LPX 64GB, Samsung 980Pro 1TB

#PowerBI #RestAPI #PowerQuery
Рекомендации по теме
Комментарии
Автор

Have you used this method before? Let me know here 👇👇👇

BILingualAnalytics
Автор

Thank you for this video it is helpful. but I have a question about the data source API static so to make it Dynamic

nuredinomer
Автор

Very exicted to see the more robust way !! I am trying to get a simple Power BI report with current users with their rights on APPS, Workspace and reports. Is not (yet) avaible in the admin workspace in the purview dataset in power bi. .... Can't wait to see your solution so I can use it at my clients

controloverreports
Автор

Moreover in current values what did you copy bearer token or Api?

nuredinomer
Автор

Many thanks for the video! Still I get “Access to the resource is forbidden”. What type of credentials/access permissions you have used?

vladpylypenko
Автор

Where is your video about automated token generation for the powerbi rest api?

rstiekema
Автор

Thanks for the video, I am looking to do the exat same thing but instead with a POST request. What do I need to change in Power BI?

duncanvanpagee
Автор

Hey, I didnt understand how the bearer token refresh itself. In this video you have manually pasted the bearer token from microsoft learn. Can you help me how to get the new or refreshed bearer token using power automate? Awaiting for your help.

ashikshaik