Skip to content

RyugaRyuzaki/powerbi_openbim-components

Repository files navigation

install

- Node JS >=20.0.5
- Power BI Desktop
- python >=3.10(recommended 3.11)

install pbiviz local

- npm i -g powerbi-visuals-tools@latest
(https://learn.microsoft.com/vi-vn/power-bi/developer/visuals/environment-setup)

setup Power BI Desktop

- Open Power BI Desktop
- File>option>Options and Settings>Options

image image - That means allow using cross filtering and python to call api resonse

Setup server

- clone this repo :https://github.com/RyugaRyuzaki/fragment-server
- See README.md install package and run server : npm run dev
- Create uploads folder in that repo
- After server run success,use Postman to upload an ifc file

image - If server send status 200 => OK - Then see uploads folder it will have 2 file .gz and frag.gz - use exam.py to call data in Power BI ( change fileId same your file name)

Get Data in Power BI

- In Power BI Home>GetData>Orther

image - Copy and past exam.py to the script and run - Detail watch the video below

Setup repo

- Open Terminal 
- Make sure pbiviz to installed in your machine run : pbiviz

image

Run

- Run : npm install to install all package
- Change fileId same fileId of exam.py
- To generate run : pbiviz package
- It will be automaticly create a folder dist

https://youtu.be/fshAnjjLPGI

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published