Forum Discussion
PBIP - can I have one folder per project?
In the blog post it says i can have "Multiple Reports and Datasets at same folder". Can I instead have one folder per report + dataset?
Eg if I have a Sales report + dataset and a HR report + dataset, I want these inside 2 folders "Sales" and "HR". I tried this but I am unable to update my workspace from git using the git integration.
The reason I want this is to be able to use git submodules.
Hey Kurren ,
I'm pretty sure that this is not possible at the current moment, because a workspace does not know the concept of folders.
Regards,
Tom
9 Replies
- TomMartens
Super User
Hey Kurren ,
I'm pretty sure that this is not possible at the current moment, because a workspace does not know the concept of folders.
Regards,
Tom
- Kurren
Helper II
Thanks. That's a shame, the workspace could just scan all folders and subfolders for all pbip/pbir files
- Kurren
Helper II
Hi TomMartens . To clarify, I am not asking for a power bi workspace to contain folders, please see my comment above.
- RuiRomanoMS
Microsoft Employee
Thanks Kurren for the feeback.
To ensure I understand your goal, you want to store the items in Git using a folder structure like:- Sales
- Sales.Report
- Sales.Dataset
- HR
- HR.Report
- HR.Dataset
And when you connect the workspace into Git, Fabric simply scans the .pbir and .pbidataset recursively and creates the HR and Sales report in the workspace side by side. You are not asking to create folders in the service workspace, correct?
Onething that is possible though, is to use the "Git folder" configuration and target the "Sales" or "HR" folder and it will only deploy the items within the folder.
- Kurren
Helper II
Apologies for the delay in getting back to you. Yes I want to have a git folder structure like this:
- Sales
- Sales.pbip
- Sales.Report
- Sales.Dataset
- HR
- HR.pbip
- HR.Report
- HR.Dataset
I understand that power bi workspaces don't support folders, that's not what I am asking. I am asking for the git integration to scan all subfolders of the repository for the relevant dashboard files instead of just the first level of the git repository. To clarify, I am fine if after scanning, all the dashboards end up in the flat power bi workspace.
This will allow me to keep the dashboards in separate repositories using git submodules but then include them all into one workspace.
- RuiRomanoMS
Microsoft Employee
Thanks for the feedback.
Its not possible at the moment, but its something we are considering to improve.
Until we support folders in workspace, the problem is not reading the folders but writing back from workspace to git.
I'm curious to understand your thoughts on this:
- If we let you connect and recursively read all folders, what should happen when you create a new report in the service? To which folder it should go?
- Sales
- Sales
- arpost
Post Prodigy