Skip to content

AnnaYunC/ssas-metadata-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSAS Metadata Analyzer & Model Optimization

This repository contains tools, scripts, and documentation for the analysis and optimization of an Enterprise SSAS Tabular Model (Power BI Dataset).

🎯 Project Overview

The goal of this project is to programmaticly analyze the semantic layer of an existing SSAS model to identify performance bottlenecks, understand code dependencies (DAX/M), and propose state-of-the-art (SOTA) optimizations.

📁 Repository Structure

  • data/sample_metadata/: Contains dummy/anonymized metadata extracts (XMLA, JSON drops, Excel layer documentation).
  • docs/: Optimization reports, architecture recommendations, and consultant ideas.
  • scripts/: Python scripts used to parse, analyze, and extract insights from the XMLA/JSON metadata.
  • notebooks/: Exploratory scripts and scratchpads for testing data parsing.

🛠️ Tech Stack & Methodology

  • Python: Used for parsing complex XMLA structure and Excel metadata (pandas, json, xml).
  • Semantic Layer Optimization: Programmatic dependency mapping of layers and evaluating query performance.
  • Reporting: Translating technical bottlenecks into actionable consultancy advice and migration strategies (e.g., Fabric Direct Lake).

🚀 How to Run

  1. Install requirements:
pip install -r requirements.txt
  1. Place the XMLA or metadata Excel files into data/sample_metadata/ (Please ensure all PII and sensitive data are removed).
  2. Run the analysis scripts from the scripts/ folder:
python scripts/analyze_layers.py

⚠️ Data Anonymization Warning

Important: The metadata files in this repository have been anonymized. No real PII, company figures, or sensitive internal business mechanics are included. For portfolio display purposes, these are sample structures.

About

Automated metadata analyzer and performance tuning guide for SSAS Tabular Models.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors