Forum Discussion

WiliAdele's avatar
WiliAdele
Regular Visitor
8 years ago
Solved

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?

  • Anonymous's avatar
    Anonymous
    8 years ago

    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

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    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