{"id":50951496,"url":"https://github.com/vitormrodovalho/powerbi-construction-analytics","last_synced_at":"2026-06-18T02:03:03.719Z","repository":{"id":354053441,"uuid":"1191313829","full_name":"VitorMRodovalho/powerbi-construction-analytics","owner":"VitorMRodovalho","description":"Power BI construction analytics suite - real estate portfolio KPIs (TIR, VPL, VGV), procurement analysis, quality control, cost benchmarking (anonymized)","archived":false,"fork":false,"pushed_at":"2026-04-26T22:01:55.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-27T00:09:04.624Z","etag":null,"topics":["brazil","construction","dax","financial-kpis","portfolio","power-bi","power-query","procurement","quality-control","real-estate"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VitorMRodovalho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-25T05:48:29.000Z","updated_at":"2026-04-26T22:01:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/VitorMRodovalho/powerbi-construction-analytics","commit_stats":null,"previous_names":["vitormrodovalho/powerbi-construction-analytics"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/VitorMRodovalho/powerbi-construction-analytics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VitorMRodovalho%2Fpowerbi-construction-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VitorMRodovalho%2Fpowerbi-construction-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VitorMRodovalho%2Fpowerbi-construction-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VitorMRodovalho%2Fpowerbi-construction-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VitorMRodovalho","download_url":"https://codeload.github.com/VitorMRodovalho/powerbi-construction-analytics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VitorMRodovalho%2Fpowerbi-construction-analytics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34472826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["brazil","construction","dax","financial-kpis","portfolio","power-bi","power-query","procurement","quality-control","real-estate"],"created_at":"2026-06-18T02:03:02.739Z","updated_at":"2026-06-18T02:03:03.709Z","avatar_url":"https://github.com/VitorMRodovalho.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Power BI Construction Analytics Suite\n\n**5 dashboards for real estate construction portfolio management, procurement, and quality control**\n\nAuthor: Vitor Rodovalho\n\n---\n\n## Overview\n\nThis repository contains the extracted DAX measures, Power Query (M) transformations, data model schemas, and relationship definitions from a production Power BI analytics suite used in Brazilian real estate development (incorporadoras). The suite provides unified visibility across construction portfolio health, procurement efficiency, quality control, and cost benchmarking.\n\n### Key Highlights\n\n- **Real estate financial indicators**: TIR (Internal Rate of Return), VPL (Net Present Value), VGV (Valor Geral de Vendas / Gross Sales Value), Margem (Margin)\n- **Multi-format dynamic formatting in DAX**: percentage, currency R$, and whole numbers dynamically selected based on indicator type using VAR + SWITCH(TRUE()) pattern\n- **Procurement analysis across 3 document types**: OC/OS (Ordem de Compra/Ordem de Servico / Purchase/Service Orders), CTR (Contratos / Contracts), REQ (Requisicoes / Requisitions)\n- **Weighted average pattern** using SUMX + KEEPFILTERS for construction progress metrics\n- **Physical-financial progress tracking**: % Fisica Acumulada (Cumulative Physical Progress), % Financeira Acumulada (Cumulative Financial Progress), ICP (Indice de Custo Previsto / Cost Performance Index)\n- **1,209 total DAX measures** across 5 dashboards\n\n## Dashboard Inventory\n\n| # | Dashboard | DAX Measures | Focus Area |\n|---|-----------|:---:|------------|\n| 1 | Portfolio Gestao Imobiliaria (Real Estate Portfolio Management) | 758 | Financial KPIs: TIR, VPL, VGV, cash flow projections |\n| 2 | DVQ (Document Verification \u0026 Quality) | 184 | Construction quality control, payment processes |\n| 3 | Dashboard Portfolio (Portfolio Progress) | 152 | Weighted physical-financial progress, ICP |\n| 4 | Builders Suprimentos (Procurement/Supply Chain) | 82 | OC/OS, CTR, REQ analysis with approval ranges |\n| 5 | Medias de Custos de Servico (Service Cost Benchmarking) | 33 | Land development cost averaging and estimation |\n\n## Repository Structure\n\n```\npowerbi-construction-analytics/\n├── README.md\n├── LICENSE                          # MIT\n├── ANONYMIZATION_RULES.md           # Anonymization methodology\n├── .gitignore\n├── docs/\n│   ├── architecture.md              # Data flow and DAX patterns\n│   ├── business-case.md             # Industry context and value proposition\n│   └── dashboard-catalog.md         # Detailed dashboard descriptions\n├── dax/\n│   ├── portfolio-gestao-imobiliaria/  # 758 DAX measures + columns\n│   ├── dvq/                           # 184 DAX measures + columns\n│   ├── dashboard-portfolio/           # 152 DAX measures + columns\n│   ├── suprimentos/                   # 82 DAX measures + columns\n│   └── medias-custos/                 # 33 DAX measures + columns\n├── power-query/                     # M (Power Query) transformations per dashboard\n├── data-model/\n│   ├── schema/                      # Table schemas per dashboard (CSV)\n│   └── relationships/               # Table relationships per dashboard (CSV)\n└── assets/\n    └── screenshots/\n```\n\n## How to Use\n\n1. **Browse DAX measures**: Each `dax/{dashboard}/measures.md` file contains all DAX expressions organized by table and display folder.\n2. **Explore data models**: Schema CSVs in `data-model/schema/` show all tables, columns, and data types. Relationship CSVs in `data-model/relationships/` show how tables connect.\n3. **Review Power Query**: Each `power-query/{dashboard}.md` file contains the M code for all data source transformations.\n4. **Study patterns**: See `docs/architecture.md` for documented DAX patterns you can reuse.\n\n## Language Note\n\nAll documentation is written in English (EN-US). DAX measure names, Power Query column names, and table names remain in their original Portuguese as these are code identifiers tied to the data model. Portuguese terms are followed by English translations in parentheses on first use.\n\n## Anonymization\n\nAll sensitive information (server addresses, company names, personal identifiers, cloud workspace URLs) has been replaced with generic placeholders. See [ANONYMIZATION_RULES.md](ANONYMIZATION_RULES.md) for the full methodology.\n\n## Tech Stack\n\n- **Power BI** (Desktop + Service)\n- **SQL Server** via UAU-based ERP (real estate management system)\n- **Azure Databricks** (analytics warehouse)\n- **SharePoint** (document and data source integration)\n\n## License\n\nMIT -- see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitormrodovalho%2Fpowerbi-construction-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitormrodovalho%2Fpowerbi-construction-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitormrodovalho%2Fpowerbi-construction-analytics/lists"}