Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have a multi-tenant application, My approach is, for each tenant I will create a separate workspace in online power bi and upload report from desktop power bi. The reports are stored as .pbix file. The reports are same for all clients only different is in the query, I hardcoding tenant condition (like where tenantid =xxxxxx). For each new tenant signup, I will manually create a workspace and open report in power bi desktop and change the tenant condition, then be uploading to the new workspace.
Now I planning to do this programmatically, but I stuck on how to I can modify the report query where condition programmatically and uploading to workspace
Solved! Go to Solution.
Thanks for your reply. based on the link (click here) we can upload the file to online power bi
Hi @shan,
>>Now I planning to do this programmatically, but I stuck on how to I can modify the report query where condition programmatically and uploading to workspace
I'm afraid that you can't achieve this operations. Current power bi only support to manually choose the publish workspace.
Maybe you can try to submit this to ideas forum.
Regards,
Xiaoxin Sheng
Thanks for your reply. based on the link (click here) we can upload the file to online power bi
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.