How bhattkaushal/olympics-dashboard works
1. Project type
- This repository is a single Power BI analytics artifact, centered on Olympics Dashboard.pbix.
- The architecture is not a multi-service app; it is a self-contained BI report with embedded data preparation, semantic modeling, and visual layers.
2. Primary input domain
- The report analyzes historical Olympic Games data.
- The core entities implied by the dashboard are athletes, events, nations/countries, medals, sports, gender, and Olympic editions/years.
3. Data acquisition boundary
- Data is brought into Power BI as imported datasets rather than handled by application code in the repo.
- The README indicates the source data includes athlete details, event outcomes, and country information.
4. Transformation layer
- Power Query Editor is used as the ETL boundary inside the PBIX.
- This layer cleans and formats data, removes nulls and duplicates, and merges relevant tables before the model is built.
- Calculated columns and measures are also created here or in the semantic model layer, depending on how the PBIX was authored.
5. Semantic data model
- The report is modeled around relationships between Athletes, Events, Nations, and Medals.
- This model is the analytical backbone that supports filtering and aggregation across years, countries, sports, and genders.
- Referential integrity and schema optimization are called out as part of the design, suggesting a deliberate star-like analytical model.
6. Calculation layer
- The dashboard relies on Power BI measures and calculated fields for metrics such as medal totals, rankings, participation trends, and breakdowns by demographic or event dimensions.
- These calculations feed the visuals rather than being precomputed outside the report.
7. Report and interaction layer
- The front end is a multi-page Power BI report with interactive visuals.
- The main interaction surfaces are slicers and filters for year, country, sport, and gender, which drive cross-filtering across charts and maps.
8. Visualization subsystem
- The report uses bar, line, and stacked charts for trends and comparisons.
- It also includes geographic visualization through a map visual, specifically mentioning Google Maps visual/custom visuals.
- This implies a mix of standard Power BI visuals and at least one external/custom visual component.
9. Published consumption boundary
- The finished artifact is published to Power BI Service for sharing and browser-based consumption.
- The service link represents the deployment boundary between the local desktop-authored PBIX and the hosted, interactive report.
10. Operational workflow
- The lifecycle is: import data, transform in Power Query, define the model and measures, build visuals, then publish.
- There is no evidence of a separate backend, API layer, or application runtime in this repository beyond Power BI Desktop and Power BI Service.
11. Repository contents
- The repo intentionally remains minimal: one PBIX file plus documentation.
- That means the architecture diagram should center on Power BI internals rather than on source-code modules or application servers.
12. Suggested diagram framing
- A useful architecture diagram would show: Olympic source data feeding Power Query ETL, then the semantic model, then report visuals, then Power BI Service as the distribution layer.
- The main boundaries are data ingestion, transformation/modeling, visualization, and publishing/sharing.
Main entry points: Olympics Dashboard.pbix PBIX artifact · README.md README
Components 16
Input & Docs
Repository-facing files and external Olympic source data feeding the report
- Olympics data · Historical athlete, event, nation, medal, sport, and edition data imported into the report
- README · Repository notes describing the dashboard purpose and data/modeling intent
README.md
Power BI Desktop
Embedded import, transformation, modeling, and report authoring inside the PBIX
- PBIX artifact · Single self-contained Power BI report containing data prep, model, measures, and visuals
Olympics Dashboard.pbix - Import layer · Power BI import boundary that brings Olympic data into the PBIX
- Power Query · Power Query Editor boundary for cleaning, formatting, deduping, and merging source tables
- Data cleanup · Null removal, duplicate handling, and field normalization before modeling
- Table merges · Combines relevant source tables into analytical shapes for the model
- Semantic model · Analytical backbone relating athletes, events, nations, medals, sports, genders, and editions
- Relationships · Star-like joins and referential structure supporting cross-filtering and aggregation
- Measures · Calculated totals, rankings, and trend metrics used by the report
- Calculated fields · Calculated columns and derived attributes for slicing and categorization
Report & Interactions
Interactive pages, filters, and visuals exposed to consumers
- Report pages · Multi-page interactive report surfaces assembled in Power BI
- Slicers · Year, country, sport, and gender filters driving cross-filtering
- Trend charts · Bar, line, and stacked charts for comparison and historical trends
- Map visual · Geographic display using Google Maps or another custom map visual
Publish & Consumption
Hosted Power BI Service distribution boundary
- Power BI Service · Hosted sharing and browser-based consumption layer after publish
Connections 19
- Olympics data → Import layer: imported by · Source Olympic data is loaded into the Power BI report
- README → PBIX artifact: documents · Repository documentation describes the dashboard and data intent
- PBIX artifact → Import layer: contains · The PBIX encapsulates the import boundary
- Import layer → Power Query: routes to · Imported data is shaped in Power Query
- Power Query → Data cleanup: cleans · Nulls, duplicates, and formatting issues are handled here
- Power Query → Table merges: merges · Relevant tables are combined for analysis
- Data cleanup → Semantic model: feeds · Cleansed data becomes model-ready tables
- Table merges → Semantic model: feeds · Merged tables populate the analytical model
- Semantic model → Relationships: relates · Entity tables are connected through analytical relationships
- Semantic model → Measures: computes · Measures are defined against the semantic model
- Semantic model → Calculated fields: derives · Calculated fields are created from modeled data
- Relationships → Report pages: supports · Relationships enable report-wide filtering and aggregation
- Measures → Trend charts: drives · Metrics power the comparison and trend visuals
- Calculated fields → Slicers: enables · Derived fields support interactive slicing and grouping
- Report pages → Slicers: includes · Interactive slicers and filters are part of the report UI
- Report pages → Trend charts: renders · Primary charts visualize medal and participation patterns
- Report pages → Map visual: renders · Map visual provides geographic analysis
- Report pages → Power BI Service: published to · Finished report is shared through Power BI Service
- PBIX artifact → Power BI Service: deploys to · The PBIX is the authored artifact published for consumption