I am trying to bring branches of the same stream into PowerBI but it is not working on my side. If the stream contains something in the Main branch, yes, I can visualize the geometry from the main branch. But if I try to get the visual of one branch that I have created, I only see the geometry from the main branch, even if I can see the geometry of the other branch in the Speckle server.
thanks for your answer. For some reason the second issue has fixed itself now (I am quite certain that I am doing the same I was doing a couple of days ago, even this morning, but I must be wrong ). So now, it is possible to load branches from streams where there is no main branch. And I am not getting the message I was getting before.
Regarding the first issue, I have been able to narrow it down a little bit. If I copy the URL from this button, I get the geometry from the main branch, even if it is a different branch.
But if I go inside the branch in the Speckle platform and copy the URL from the web browser, I get the correct geometry in PowerBI. Obviously, the URLs are different
I think this happened due to a confusion of concepts on your part. To clear this confusion, we recently announced that we would rename the core concepts of Speckle. tldr; Streams â Projects, Branches â Models, Commits â Versions
I understand that you are trying to view the federated model of all branches under your project (stream) URL. However, our Data Connector does not work that way. When you paste a project (stream) URL, you only receive the âmainâ model (branch). If âmainâ model doesnât have any version uploaded, you get the error you shared. We are planning to change this behaviour in the future.
To receive multiple models in Power BI, you need to paste the model (branch) URL of each model and combine them into a single query. The Data Connector will then receive the latest version (commit) uploaded for each model (branch) URL. We have created a tutorial that demonstrates how to do this. Please take a look and let me know if you have any further questions.
To be honest, I was not trying to bring the branches all together from the same stream . I had not even considered that possibility at all, but it is good to know that it is there. I was bringing branches separately and I was getting the behavior that you are describing below.
However, today I tried to do everything again from scratch and I can bring branches (models) from a stream(project) where the main model does not have anything uploadedâŚ
Having said this, when I copy the URL from the branches I have seen this behavior. When I click on the button I get the same message I was getting some days ago âThe branch main in stream c5f88bdf1f has no commitsâ. This is probably the way I was doing it some days ago. But if I copy it from the web browser, it works well.