Ifc4PowerBI
Import IFC directly into PowerBI
Install / Use
/learn @shift-construction/Ifc4PowerBIREADME
<a name="readme-top"></a>
<!-- *** Thanks for checking out the Best-README-Template. If you have a suggestion *** that would make this better, please fork the repo and create a pull request *** or simply open an issue with the tag "enhancement". *** Don't forget to give the project a star! *** Thanks again! Now go create something AMAZING! :D --> <!-- PROJECT SHIELDS --> <!-- *** I'm using markdown "reference style" links for readability. *** Reference links are enclosed in brackets [ ] instead of parentheses ( ). *** See the bottom of this document for the declaration of the reference variables *** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use. *** https://www.markdownguide.org/basic-syntax/#reference-style-links --> <!-- PROJECT LOGO --> <br /> <div align="center"> <a href=""> <img src="https://github.com/shift-construction/ifc4PowerBI/assets/44708354/043504ab-7bbb-4511-be0d-6d2aa813c5ed" alt="Logo" height="80"> </a> <h3 align="center">IFC for PowerBI</h3> <p align="center"> Pull your IFC metadata directly into PowerBI <br /> <a href="https://github.com/github_username/repo_name">View Demo</a> · <a href="https://github.com/github_username/repo_name/issues">Report Bug</a> · <a href="https://github.com/github_username/repo_name/issues">Request Feature</a> </p> </div> </div> <!-- TABLE OF CONTENTS --> <details> <summary>Table of Contents</summary> <ol> <li> <a href="#about-the-project">About The Project</a> <ul> <li><a href="#built-with">Built With</a></li> </ul> </li> <li> <a href="#getting-started">Getting Started</a> <ul> <li><a href="#prerequisites">Prerequisites</a></li> <li><a href="#installation">Installation</a></li> </ul> </li> <li><a href="#usage">Usage</a></li> <li><a href="#roadmap">Roadmap</a></li> <li><a href="#contributing">Contributing</a></li> <li><a href="#license">License</a></li> <li><a href="#contact">Contact</a></li> <li><a href="#acknowledgments">Acknowledgments</a></li> </ol> </details> <!-- ABOUT THE PROJECT -->About The Project
The goal of this function is to allow all the metadata from IFC files to be brought into PowerBI or Excel for analysis. By creating a function inside PowerQuery we have enabled teams to pull in multiple IFC models either locally or via an integration. As this is a function rather than a custom connector it also supports the cloud version of PowerBI, meaning dashboards can be automatically updated as and when new models arrive.
<p align="right">(<a href="#readme-top">back to top</a>)</p>Built With
<p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED -->Getting Started
This is one example of how to get up and running, there are plenty of different way you can use the function, or even adapt it for your own requirements.
Prerequisites
Before you get to work you will need to have a basic understanding of the PowerBI or PowerQUery in Excel toolset and a copy of either one installed
Installation
- Open up the IFC4PowerBI.pq file in notepad or your text editor of choice
- In PowerBI or Excel create a blank query (in PowerBI it's Home > Get Data > Blank Query, in Excel Data > Get Data > From Other Sources > Blank Query
- Right-click the Query in the query editor (often called "Query1" in new documents) and click Advanced Editor
- Paste the contents of IFC4PowerBI.pq into the Advanced Editor and click done
- You now have a function for opening IFC Binary files in PowerQuery, now you need to find your binaries
- Rename the function by right-clicking it, the name of the function will be how we reference it later, so it's best to use IFC4PowerBI
- The easiest way to do this is to locate a folder with one or many IFC files. New Source > Folder
- Select your folder and click open. Use the PowerBI filters to filter out any files that are not required
- Create a new column Add Column > Custom Column
- In the formula box type IFC4PowerBI([Content]) . This assumes you named the function IFC4PowerBI and you now have a column called Content which contains Binary values
- This will leave you with a new column consisting of a table, which you can expand to find all of the IFC metadata from your models. Make sure you delete the Content column before expanding to avoid exponential memory consumption
Usage
Here are a few ideas to get you started. We have included a PowerBI .pbix file in the repository so that you can get started straight away, just find a folder with one or more IFC files
Assess models in your CDE for compliance
By Pulling in models directly from your CDE of choice via APIs you can automatically dashboard the results, leading to quick turn around on model sutability reviews
<div align="center"> <a href=""> <img src="https://github.com/shift-construction/ifc4PowerBI/assets/44708354/bcc255c7-f7e5-49f4-9497-d8d00beacda5" alt="CDE" width="300"> </a> </div>Quantity Takeoff
Get your model data into Excel and use Pivot tables to understand and probe your data further
Model Progress Metrics
By extracting the data from multiple revisions of the same model you can quantify the changes that have taken place:
- Are there more elements
- Is the metadata quality improving
- Have certain elements dissapeared
Roadmap
- [ ] Add number handling seperate to text strings
- [ ] Look for efficiencies
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the GPL 3.0 License. See LICENSE.txt for more information.
Contact
Matthew Osment - LinkeIn - matthew@shift-construction.com
<p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- MARKDOWN LINKS & IMAGES --> <!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
Security Score
Audited on Sep 8, 2025
