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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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 Employee
Microsoft 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors