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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Can the user supply values to a RESTfull API call

Hi,

 

I have a RESTfull API that generates reports based on some user supplied parameters. Is it possible for PowerBI to ask for these user supplied parameters? The general scenario I'm trying to achieve is:

  1. In PowerBi each individual user should be able to put in some different values.
  2. The values are sent to a RESTfull API.
  3. The API will collect and transform data based on the values received and serve the resulting data in the response.
  4. PowerBI receives the response from the API and presents it to the user in a report.

E.g. users should be able to generate a report showing information about customer subsets. However, the users only want to generate the report for a specific subset of the customers, say a user wants to see a report about female customers, who are 40-50 years old, and have children. Is it possible to create a form or something like that, that accepts that input from the user, sends it to a RESTfull API and receives a response with information about female customers, who are 40-50 years old, and have children?

 

I hope it makes sence. 

Thanks 🙂

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

Hi chorn,

 

You can use URL filter as post request to achieve your requirement, URL filter support uses expression syntax like pattern below:

URL?filter=Table/Field eq 'value'

It also supports one field filter and multiple fields filters, for more details, please refer to this documentation:

https://docs.microsoft.com/en-us/power-bi/service-url-filters.

 

Regards,

Jimmy Tao

View solution in original post

1 REPLY 1
v-yuta-msft
Community Support
Community Support

Hi chorn,

 

You can use URL filter as post request to achieve your requirement, URL filter support uses expression syntax like pattern below:

URL?filter=Table/Field eq 'value'

It also supports one field filter and multiple fields filters, for more details, please refer to this documentation:

https://docs.microsoft.com/en-us/power-bi/service-url-filters.

 

Regards,

Jimmy Tao

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.