Total Revenue
+Business Intelligence Command Center
+Warehouse Forecasting and Ranking Dashboard
++ Data sources: WorldWideImporters +{" "} + AdventureWorks2022DWH (read-only) with + OpenTelemetry traces from browser to SQL. +
+
+ Last backend trace:{" "}
+ {telemetry.backendTraceId ?? "missing-trace-id-header"}
+
+ User: {auth.subject ?? "unknown"} +
+Gross Margin
+{kpis.gross_margin_pct.toFixed(2)}%
+Avg Order Value
+{money.format(kpis.avg_order_value)}
+Total Quantity
++ {kpis.total_quantity.toLocaleString("en-US", { + maximumFractionDigits: 0, + })} +
+Revenue Trend + Forecast
+ {trendData.length} points +Top Product Score
+ Weighted ranking index ++ Current leader score {topScore.toFixed(2)} / 100 +
+Product Rankings
+ Top {deferredRankings.length} +| Rank | +Product | +Category | +Revenue | +Margin | +Score | +
|---|---|---|---|---|---|
| {item.rank} | +{item.product_name} | +{item.category} | +{money.format(item.revenue)} | +{item.margin_pct.toFixed(2)}% | +{item.score.toFixed(2)} | +
Recommendations
+ Action queue +-
+ {recommendations.map((item, index) => (
+
-
+
+ {item.priority}
+
+
{item.title}
+{item.summary}
+
+ ))}
+