*Photo by Nicholas Doherty on Unsplash
by Estitxu Larralde
This project showcases a comprehensive data pipeline and visualization journey fully implemented in Microsoft Fabric, using data from the World Bank SE4ALL (Sustainable Energy for All) initiative. It explores how access to sustainable energy evolves over time and across regions—covering metrics like electricity access, renewable energy usage, and clean cooking fuel adoption. From ingesting the raw JSON files to building a relational model and publishing an interactive report, this project highlights the power of Fabric for end-to-end data workflows.
The dataset was extracted via the PhotoWorld Bank Data360 API, focusing on SE4ALL indicators. The SE4ALL initiative, launched in 2010 by the UN Secretary General, established three global objectives to be accomplished by 2030:
Ensure universal access to modern energy services
Double the global rate of improvement in energy efficiency
Double the share of renewable energy in the global energy mix
The SE4ALL database supports this initiative by providing historical country-level data on electricity access, clean cooking fuel adoption, renewable energy share by technology, and improvements in energy intensity. In total, over 141,000 rows were extracted. In addition to the main dataset, several reference tables (for countries, indicators, energy source composition, etc.) were imported from CSV files.
A Fabric pipeline was built to handle paginated API requests:
Using PySpark notebooks, the raw JSON data was transformed:
We designed a star schema:
This structure enables intuitive and efficient data exploration through Power BI.
A fully interactive Power BI report was developed within the Fabric environment, without needing Power BI Desktop.
While Fabric is powerful, a few limitations were encountered during development:
This project demonstrates how Microsoft Fabric supports a modern, cloud-native data pipeline—from ingestion and transformation to modeling and reporting—all in one unified environment. By implementing a clean star schema, we ensured a scalable and efficient data model. The Power BI report built directly within Fabric enabled intuitive, interactive, and professional storytelling based on the dataset.
While the dataset offers rich insights into global energy access and consumption, the purpose of this project was to focus on the end-to-end technical workflow rather than conduct an in-depth exploratory or statistical analysis.
For those interested in the findings and policy implications of this data, we recommend exploring the World Bank’s Global Tracking Framework report, which provides detailed analyses and global insights:
👉 Global Tracking Framework Report – World Bank
🗃 View the full notebook, csv files, Power BI report in different formats, and source code in my GitHub repository.