Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
I have a very basic question about Power BI - I am googling since hours but I do not get a clear solution, sorry. We are working on creating a Business Intelligence Solution for eCommerce sellers. Since I personally love Power BI, we are thinking about using Power BI embedded for the product we are going to publish. However, we are not sure if the following scenario is doable with Power BI
- we create dashboards and reports in Power BI desktop and embed these into our webapp.
- when users log in, they see and can work with the dashboards and reports we created, but based on THEIR data
The data structure is the same and the connection settings to the datasets are of course saved in our webapp, but is it actually possible to let Power BI connect to different data sets based on which user is currently logged in?
Thanks for your help!
Hendirk
Solved! Go to Solution.
@hhomann You have not reached dead end as Power BI Embedded has additional APIs to change the server and database that your dataset is pointing to and set a service account credential that the dataset will use to connect to your database. See this link and image below. So you can publish pbix file to your azure workspace and using this APIs programatically change dataset connection string.
@hhomann wrote:
Hi,
I have a very basic question about Power BI - I am googling since hours but I do not get a clear solution, sorry. We are working on creating a Business Intelligence Solution for eCommerce sellers. Since I personally love Power BI, we are thinking about using Power BI embedded for the product we are going to publish. However, we are not sure if the following scenario is doable with Power BI
- we create dashboards and reports in Power BI desktop and embed these into our webapp.
- when users log in, they see and can work with the dashboards and reports we created, but based on THEIR data
The data structure is the same and the connection settings to the datasets are of course saved in our webapp, but is it actually possible to let Power BI connect to different data sets based on which user is currently logged in?
Thanks for your help!
Hendirk
If you could gathering the data into one dataset, you can consider Row level security with Power BI Embedded.
@hhomann You have not reached dead end as Power BI Embedded has additional APIs to change the server and database that your dataset is pointing to and set a service account credential that the dataset will use to connect to your database. See this link and image below. So you can publish pbix file to your azure workspace and using this APIs programatically change dataset connection string.
@ankitpatira thanks a lot for that link! I am checking it with my developer. Is this actually usable with a PHP based framework or only with asp.net?
It is not language specific, as long as Calling Rest API is supported.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |