cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WiliAdele
Regular Visitor

How to do it like in view?

Hello everyone,

I am nearly finished with my example project but having difficulties setting parameters. 

 

What I have:

  • Direct Query to Stored Procedure with parameters
  • Costum visualisation that uses the parameters. 
  • Gateway, database server and reporting server running on same computer under same username. 
  • A working webpage running on App.PowerBI and a working webpage running locally with the reporting server. 

What I dont have:

  • A way to set the parameters inside the webpage
  • Something like SSRS: 

Capture20.PNG

  • Or a popup like Power BI Desktop:

Capture19.PNG 

 

It seems like an arbitrary simple feature, am I just not looking at the right place?

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

HI @WiliAdele,

 

>>Direct Query to Stored Procedure with parameters

AFAIK, Power bi direct query model not support to invoke stored procedure with query parameters, you need to use import mode to instead.

 

>>A way to set the parameters inside the webpage

Current power bi service support to modify query parameters on service, maybe you can try to use rest api to update these parameters.

Power BI Embedded Query Parameters API

 

>>Something like SSRS:

You can consider to use power bi premium em, it allow you to use embedded feature and share to users without pro licenses, it also give you licenses to use power bi report server.(similar as SSRS)

 

Reference link:

Power Bi Pricing

Power BI Premium - what is it?

 

Gain dedicated capacity you allocate, scale, and control

Distribute and embed content without purchasing per-user licenses

Publish reports on-premises with Power BI Report Server

Unlock more capacity and higher limits for your Pro users

 

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @WiliAdele,

 

>>Direct Query to Stored Procedure with parameters

AFAIK, Power bi direct query model not support to invoke stored procedure with query parameters, you need to use import mode to instead.

 

>>A way to set the parameters inside the webpage

Current power bi service support to modify query parameters on service, maybe you can try to use rest api to update these parameters.

Power BI Embedded Query Parameters API

 

>>Something like SSRS:

You can consider to use power bi premium em, it allow you to use embedded feature and share to users without pro licenses, it also give you licenses to use power bi report server.(similar as SSRS)

 

Reference link:

Power Bi Pricing

Power BI Premium - what is it?

 

Gain dedicated capacity you allocate, scale, and control

Distribute and embed content without purchasing per-user licenses

Publish reports on-premises with Power BI Report Server

Unlock more capacity and higher limits for your Pro users

 

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show episode 9

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 25

Ted's Dev Camp - August 25, 2022

Watch Session 25 of Ted's Dev Camp.

Top Solution Authors