I’m trying to visualise interractive 3D revit models in Power BI. I was thinking about Embeding speckle Viewer inside Power BI report (to achieve something similar o the image below). Is it possible? Or, does someone have an Idea about How or where to start from?
I’m not a user of PowerBI, but I can think of 2 different routes to go about this:
Easy: You can use the “embed viewer” functionality we just added to the speckle server, this includes some functionality like section box/ viewing selection metadata, etc… I’m guessing powerBI allows you to use iframe content such as google maps, etc… but I’m not sure if this is true. If it doesn’t, you’d have to go for the less easy option.
Less Easy: Our viewer is published as an npm package that you can use freely, although this will not come with any of the “pre-made” toolbar with selection, section-box, etc… and you’d have to code that yourself. This will allow to integrate better, but I’m not sure what are powerBI’s limitations around this.
The docs on the viewer are still WIP, but you can find the package here. Also, if you’re looking an example app where it’s used, you can find a Vue.js component that uses the viewer here.
Quick note to say that I have tried following using this tutorial, it works but then I get some auth errors because of the embedding. It should be something relatively easy to fix on our end…
Hey again,
so I have tested the easy option (embeding speckle viewer in power Bi report using HTML viz) but the stream does not appear. the page keeps loading (see the screenshot below)
Hey @yousra_kadcha! Thanks for checking this out! Not sure what could be happening there, but it sounds like PowerBI is being picky with our embed feature.
Could you try and open the Chrome Developer Tools and send us a screenshot of any errors that may appear in the Javascript Console? It would help us a lot with pin-pointing the issue and if there’s anything we can do on our side we’ll be happy to include it in our upcoming tasks.
I do think that “Uncaught DOMException: Failed to read the ‘localStorage’ property from ‘Window’: The document is sandboxed and lacks the ‘allow-same-origin’ flag.” is responsible of this.
Hi @yousra_kadcha! Just jumping back in this thread to let you know we’ve fixed the issue that was causing the embed viewer to not load in restricted places (such as PowerBI).
This will be included in the release we’ll be doing this week, so stay tuned
As for more “interactive” PowerBI visuals, we’ve already started looking into it and we’ll be releasing the first WIP this week too!
I’ve just seen the announcement in LinkedIn and came to recheck this post to see if it was already ready to use. Thank you so much for having fixed it!
Hi @teocomi and all Specklers!
Great work with Speckle, I’m am also interested in presenting Revit data PowerBI. If you are interested in a use case. At the moment I’m looking into adding any geometrical reference to room data. It would be terrific to see same kind of interactivity I can achieve with Synoptic Panel.
How can I proceed with that?
Cheers!
Thanks, this use case is indeed helpful, so you’d like to see a 2D floorplan and be able to “link” it with other PowerBI data. We’ll definitely keep it in mind
I totally agree. 2D is good (Synoptic Panel is an accessible workaround), but I’m absolutely looking forward to 3D experience offered by Speckle Viewer.
Hi @BaudouinNP ! We know this is a very important feature for you but haven’t yet managed to include it in our short term planning, I’ll discuss it with the team at our next session and will let you know if we start working on it!
Hi @teocomi and all Specklers
I am in the development of a board in which data and 3d models can be visualized. Is there any update about this?
Cheers!