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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Cookistador
Helper III
Helper III

How to pass post api in Power BI?

Hello everyone,n

 

I am a total newbie to this interface of power BI, at my company a rerst api is used with Tableau Web connector to retrieve some information from a website and then tableau sent back this data into the right format

 

As it is not possible to use this connector into Power Query, I am working on a POC, and I needed to build a post api, so this is the information I have from my services, in tableau the user can modified a few parameters

 

This is the webservice I have to use: https://mywebsite.com/api/queries (it is a POST)

 

The user can select some filter like data and country and add the parameters they would like to retrieve

Cookistador_1-1713879346107.png

 

For example this selection will return the following requerst payload:
[{query: "stack(ts2mat(3,"2000","2022"), "country", ["AT"])", env: {freq: "A"}}]

 

I tried to follow the following guide, but I'm not able to achieve this, I think I'm doing something wrong with my request payload

 

Any steps to achieve this step?

 

Many thanks in advance for your help

 

 

 

 

1 ACCEPTED SOLUTION
v-jialongy-msft
Community Support
Community Support

Hi @Cookistador 

 

Hope the following documents will help you solve your problem:

Using the POST Method with REST APIs Inside Power BI - Data with Dom

Power BI REST APIs for embedded analytics and automation - Power BI REST API | Microsoft Learn

 

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-jialongy-msft
Community Support
Community Support

Hi @Cookistador 

 

Hope the following documents will help you solve your problem:

Using the POST Method with REST APIs Inside Power BI - Data with Dom

Power BI REST APIs for embedded analytics and automation - Power BI REST API | Microsoft Learn

 

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!