Forum Discussion
vikramkumawat
Advocate II
2 years agoHow to change power bi data source parameter in .NET MVC application ?
Hello, I made a Power BI report that connects to a SQL database and lets me change databases by updating a parameter. This works well when I publish the report and change the parameter in Power BI o...
vikramkumawat
Advocate II
2 years agoAnonymous thank you for your reply.
Your solution will work and it will update the Paramter which is being used to fetch the database.
The scernario is, we have multi tenant application and each tenant has it's own database. Now, we want to load the report for the logged in tenant.
e.g. if the Tenant1 is logged in then our mvc application should pass the Tenant database name as parameter value and it should load the report for that tenant, if Tenant2 logged in then it should load the report for that tenant only and so on.
So is it possible?