Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi,
I am working on embedding a PBI report in to a .Net Web application.
We have users logging in to the website through different regions in to the website, and the web API link is generated based on the user REGION that he/she belongs to.
Eg: http://dummy.corp.TT.com/WebApi/api/subjectarea/Getsubjectarea/REGION1
I am looking for a option where i can parameterize the REGION in the web API link to pass in to PBI, where i can only show data in the PBI report for the REGION the user belongs to.
Is there a option where i can pass/change the wep api link dynamically in to gateway for datarefresh so that we can provide that particular REGION's data to the customer.
http://dummy.corp.TT.com/WebApi/api/subjectarea/Getsubjectarea/#REGION#
Note : Data is in JSON format
Solved! Go to Solution.
HI @Pbi_Enthu,
>>Is there a option where i can pass/change the wep api link dynamically in to gateway for datarefresh so that we can provide that particular REGION's data to the customer.
Current power bi not support dynamic push parameters to gateway.
For your scenario, I'd recommend you to setting RLS with mapping username and regain data to achieve dynamic filter effect.
Logic: add region information to user table, use region link other tables, then use username to apply filter effect on user table.(apply cross filter effect to other tables)
Regards,
Xiaoxin Sheng
HI @Pbi_Enthu,
>>Is there a option where i can pass/change the wep api link dynamically in to gateway for datarefresh so that we can provide that particular REGION's data to the customer.
Current power bi not support dynamic push parameters to gateway.
For your scenario, I'd recommend you to setting RLS with mapping username and regain data to achieve dynamic filter effect.
Logic: add region information to user table, use region link other tables, then use username to apply filter effect on user table.(apply cross filter effect to other tables)
Regards,
Xiaoxin Sheng
Hi
Power BI embedded just released Query Parameters for Power BI Embedded
https://azure.microsoft.com/en-gb/updates/power-bi-embedded-query-parameters-api/
Can you advise if there is any sample to this? I am also trying to achieve a simular effect
Thanks
Alexander
User | Count |
---|---|
54 | |
31 | |
31 | |
30 | |
24 |
User | Count |
---|---|
46 | |
43 | |
16 | |
16 | |
14 |