cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
pavankpal
Frequent Visitor

Change query parameters

Hello Team,

I am working on Embedded Power BI. I found your Description in https://azure.microsoft.com/en-in/updates/power-bi-embedded-query-parameters-api/. but i am not able to under stand how we can change Query Parameter .
Please find below details what i am doing and what i need your support.

1. Creating Report in Power BI Desktop.

2. Publish in Power BI Services

3. Register App in Azure Active Directories and get AccesToken

i am doing this Successfully.

Problem: i want pass some parameter value from my web application and this parameter value pass to my Power Bi Report and Report will Be Filter according Parameter Value - Example-> According to Customer ID , Customer can see only own related data , when User Login my Web Application Customer ID will be Pass from Web Application To My Power Bi Report where Report Content table there is ID Column content all user Data by UserID but After Filtration data will Reflect on Report. 

Please provide me support..

Thank You Regards,

Pavan Pal(pavan.ku.pal@hotmail.com)

2 REPLIES 2
v-jiascu-msft
Microsoft
Microsoft

Hi Pavan,

 

I'm afraid this isn't a solution for your scenario. Please refer to the details below.

1. The last sentence from the link in your post is quite clear. If there are two customers who have different permission login to your application, there could be collisions. 

The workaround or solution could be as follows.

1.1 service-admin-rls and developer/embedded-row-level-security

1.2 Create many dataset if possibles.

>>>Note that the parameters are based on the dataset, so they are defined per report/dashboard, but not on the user’s session level. It means that different users who are using the same report at the same time will always see the same parameter’s value.

 

2. About how to change parameters, we just need to invoke the REST API. Please consider the limitations first.

 

Best Regards,

Dale

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

Can share any sample application where we are using REST API.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.