Busabase
Busabase is an open-source (MIT) database and workspace for AI agents — data, docs, skills, and apps in one place. Run it locally, self-host it inside your network, or use Busabase Cloud, and turn age
Where a 10-store retailer loses sales: Walmart M5 data (47.7M rows) modelled with dbt + DuckDB, web dashboard and Power BI model.
DataJavaScript · HTMLGitHub @AlpralexOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗A retail BI project on real data: five years of daily Walmart sales (the public M5 dataset), modelled in SQL with dbt on DuckDB, tested, and compared with the forecast that won the M5 competition.
Live dashboard: https://guilhermerigonato.com/5-retail-bi/ · Power BI version: model, DAX and report guide in powerbi/ · Stack: SQL, dbt, DuckDB, Power BI (PBIP/TMDL), Python
staging (views) marts (tables)
stg_calendar ───────────────┐ dim_date
stg_sell_prices ────────────┼──────▶ fct_sales_daily 47.7M rows: item × store × day
stg_sales (unpivot, table) ─┤ dim_item, dim_store
stg_forecast_winner ────────┴──────▶ fct_forecast_eval 853,720 rows: 28 out-of-sample days
mart_sales_weekly, mart_forecast_accuracy,
mart_forecast_daily, mart_zero_sales_runs
mart_zero_sales_runs uses gaps-and-islands with window functions to find 7–56 day runs of zero sales for fast movers, the stock-out proxy.pip install dbt-duckdb==1.9.1
./scripts/get_data.sh
export M5_RAW_PATH=data/raw
dbt build --profiles-dir . # about 3 minutes on a laptop
python scripts/export_web_data.py # writes web/data/*.json
Open web/index.html through any static server (python -m http.server in web/).
python scripts/export_powerbi_data.py writes the Parquet files the Power BI project reads. The project itself, with the TMDL model and DAX measures, is in powerbi/.
M5 Forecasting – Accuracy (Walmart, via Kaggle, 2020), mirrored by Nixtla. The forecast is the published submission of the winning team (YJ_STU). Prices are in US dollars.