Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi everyone, hope you're doing great
I need some help to resolve an issue:
I'm getting data from a REST API, I have researched on internet and followed to an instruction, but after I inputted mandatory parameter then click OK, it just loading...forerver... 😃 I inputted these parameter on postman and it work properly.
Solved! Go to Solution.
Please follow the documentation. Use RelativePath and Query parameters. https://learn.microsoft.com/en-us/powerquery-m/web-contents#example-1
Please follow the documentation. Use RelativePath and Query parameters. https://learn.microsoft.com/en-us/powerquery-m/web-contents#example-1
Thank you for your answer. Could you please guide more detailed? I'm a little confused.
What part of the documentation is confusing?
I dont know where to input bearer token to M query below:
let
searchText = "Power Query"
in
Web.Contents(
"https://www.bing.com",
[
RelativePath = "search",
Query = [q = searchText]
]
)
Could you guide me?
Hi @Anonymous ,
Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.
If these also don't help, please share more detailed information and description to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
This suggestion doesn't help to solve at all, it's just a high level guidance. But I appreciate his suggestion so I accept it as solution to close the topic.
Where are you currently stuck?
I have copied code from postman and used ChatGPT to convert it to M language, it worked. Thank you @lbendlin for your help. Have a good day 😃
That goes in the Headers section as Authentication.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
2 |