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
Anonymous
Not applicable

Deploy same PBIX file to Power BI online with different data source connections For Diff clients

Hi,

 

I have a situation where i need to deploy same PBIX report to multiple clients. Each client same same database table/views architecture. one client should not be able to see the data of other clients. the same PBIX report can be used for all clients but with different database connections. 

Like in SSRS we had created folder for each client and given access to respective clients only. Deployed SSRS RDLs to each folder and mapped Datasource of SSRS report to respective client database.

 

Now in new PowerBI scenario- we have created a PBIX report which uses some table from database. this is a uses a standard Microsoft Project server databse. Each client has its own Project server database (all DBs has structure but contains different data) and we need to connect that PBIX to respective client's MSPS database. we have more than 1000 clients!

 

Moreover we don't want to use direct query method 😞 as it is slow for us. we will go for dataset which stores the cache values and refreshes data from DB at scheduled interval.

 

My thinking is- If we create workspace for each Client then can we deploy PBIX file there dynamically? so that we dont need to create a report in PowerBI desktop and import data from each client respectively and then deploy to respective workspaces, that's too for >1000 client! ...........  I know it sounds suicidal Smiley Mad

 

Any suggestion to overcome this situation?!!! all are welcome:) 

 

Regards,

 

Sushant

3 REPLIES 3
v-jiascu-msft
Employee
Employee

Hi Sushant,

 

Since there are so many reports, even the power-bi-templates won't help much. I would suggest you try out the Power BI REST API. Upload the pbix reports with power-bi/imports/postimportingroup and then update the data source with datasets/updatedatasourcesingroup

 

 

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.
parry2k
Super User
Super User

@Anonymous may be you want to look at powershell for deployment process and rebind the report using powershell to respective database. it can help to automate the process instead doing it manually for each client.

 

And other scenario could be to create centeralize database and then use Row Level Security, with this you need to deploy only one report with same database, and RLS will show respective data to each client. It will be easy to manage. For example, if you make change to report, you need to update at one place instead of updating report for each client.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Thanks Parry!

 

I have 2 subsequent follow up queries:

for the RLS - in one centralie database-

1-  do you mean to say one dataset which will hold the records from all the client db?

 

2- and in that we need to set RLS as per client to keep data privacy. ?

 

regards,

Sushant Yadav

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.