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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
Employee

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.