{% include 'components/_navbar.html' %}
正在載入數據...
大量資料可能需要較長時間,請稍候

業績分析儀表板

{% if db_data_range %} 資料期間: {{ db_data_range }} {% endif %}
{% if not no_filter %} {% if start_date or end_date %} {% if start_date and end_date %} {{ start_date }} ~ {{ end_date }} {% elif start_date %} {{ start_date }} 起 {% else %} {{ end_date }} 止 {% endif %} {% elif data_range_months == 0 %}全部資料 {% else %}最近 {{ data_range_months }} 個月 {% endif %} | {{ "{:,}".format(total_records) }} 筆 {% endif %}
{% if error %}
{{ error }}
{% else %}
進階篩選與分析
{% if cols.cost or cols.profit %} {% endif %}
資料範圍設定
{% if request.args.get('start_date') or request.args.get('end_date') %} {% endif %}
重置
商品屬性篩選
{% if all_brands %}
{% endif %} {% if all_vendors %}
{% endif %}
{% if all_activities or all_payments %}
行銷與付款
{% if all_activities %}
{% endif %} {% if all_payments %}
{% endif %}
{% endif %} {% if cols.date %}
時間維度篩選
{% endif %}
數值與關鍵字篩選
~
{% if cols.cost or cols.profit %}
~
{% endif %}
{% if no_filter %}

開始分析您的業績數據

請在上方「進階篩選」區域選擇以下任一條件開始分析:

資料載入範圍

快速選擇最近 1/3/6/12 個月或全部資料

推薦新手使用

自訂日期區間

精確指定開始/結束日期進行分析

適合特定區間分析

提示:選擇任一條件後,系統將自動載入並顯示詳細的圖表與數據分析
{% else %}
總業績 (Revenue)
${{ "{:,.0f}".format(kpi.revenue) }}
{% if cols.cost or cols.profit %}
總成本 (Cost)
${{ "{:,.0f}".format(kpi.cost) }}
毛利額 (Profit)
${{ "{:,.0f}".format(kpi.gross_margin) }}
毛利率 (%)
{{ "{:.1f}%".format(kpi.gross_margin_rate) }}
{% endif %}
總銷量 (Qty)
{{ "{:,.0f}".format(kpi.qty) }}
商品數 (SKU)
{{ "{:,}".format(kpi.sku_count|default(kpi.count, true)) }}
{% if abc_stats %}
ABC 分析 (80/20 法則)
點擊類別查看詳情
A 類 (核心)
營收佔比: {{ "{:.1f}%".format(abc_stats['A']['pct_rev']) }}
{{ abc_stats['A']['count'] }} SKU ({{ "{:.1f}%".format(abc_stats['A']['pct_sku']) }})
B 類 (次要)
營收佔比: {{ "{:.1f}%".format(abc_stats['B']['pct_rev']) }}
{{ abc_stats['B']['count'] }} SKU ({{ "{:.1f}%".format(abc_stats['B']['pct_sku']) }})
C 類 (長尾)
營收佔比: {{ "{:.1f}%".format(abc_stats['C']['pct_rev']) }}
{{ abc_stats['C']['count'] }} SKU ({{ "{:.1f}%".format(abc_stats['C']['pct_sku']) }})
{% endif %}
年度對比 (YoY Comparison)
vs
2024年

$0

2025年

$0

成長率

0%

{% if vendor_stats %}
廠商獲利能力排行 (Top 100) 匯出報表
{% if cols.cost or cols.profit %}{% endif %} {% if cols.cost or cols.profit %}{% endif %} {% for v in vendor_stats %} {% if cols.cost or cols.profit %}{% endif %} {% if cols.cost or cols.profit %} {% endif %} {% endfor %}
排名 廠商名稱 總業績 佔比(%) 總銷量 平均客單(ASP) 毛利額毛利率商品數 (SKU) 平均單品產值
{{ loop.index }} {{ v.name }} ${{ "{:,.0f}".format(v.revenue) }} {{ "{:.1f}%".format(v.share) }} {{ "{:,.0f}".format(v.qty) }} ${{ "{:,.0f}".format(v.asp) }}${{ "{:,.0f}".format(v.profit) }} {{ "{:.1f}%".format(v.margin_rate) }} {{ v.sku_count }} ${{ "{:,.0f}".format(v.revenue / v.sku_count if v.sku_count > 0 else 0) }}
{% endif %}
商業洞察 (Top 3 Highlights)
🏆 業績貢獻王 (Revenue)
分類 Top 3:
    {% for item in insights.rev_cats %}
  • {{ loop.index }}{{ item.name }} ${{ "{:,.0f}".format(item.value) }}
  • {% endfor %}
商品 Top 3:
    {% for item in insights.rev_prods %}
  • {{ loop.index }}{{ item.name }} ${{ "{:,.0f}".format(item.value) }}
  • {% endfor %}
{% if cols.cost or cols.profit %}
💰 獲利金雞母 (Gross Margin)
分類 Top 3:
    {% for item in insights.margin_cats %}
  • {{ loop.index }}{{ item.name }} ${{ "{:,.0f}".format(item.value) }}
  • {% endfor %}
商品 Top 3:
    {% for item in insights.margin_prods %}
  • {{ loop.index }}{{ item.name }} ${{ "{:,.0f}".format(item.value) }}
  • {% endfor %}
{% else %}
無成本/毛利資料
{% endif %}
📦 人氣引流款 (Sales Qty)
分類 Top 3:
    {% for item in insights.qty_cats %}
  • {{ loop.index }}{{ item.name }} {{ "{:,.0f}".format(item.value) }}
  • {% endfor %}
商品 Top 3:
    {% for item in insights.qty_prods %}
  • {{ loop.index }}{{ item.name }} {{ "{:,.0f}".format(item.value) }}
  • {% endfor %}
Top 20 熱銷排行 ({{ '銷售金額' if selected_metric == 'amount' else '銷售數量' }})
全站類別分佈 (Top 12)
業績板塊分佈 (分類 -> 商品)
價格帶業績貢獻 (Price Range)
價格 vs 銷量分佈 (Scatter Plot)
{% if cols.cost or cols.profit %}
商品策略 BCG 矩陣 (波士頓矩陣)

X軸: 銷量 (市場份額) | Y軸: 毛利率 (獲利能力) | 十字線: 中位數閾值

{% endif %} {% if seasonality_data %}
淡旺季熱力圖 (Seasonality Heatmap) - Top 10 分類
{% endif %} {% if marketing_data %}
行銷活動業績貢獻 (Marketing Campaign Contribution)
折扣活動排行 (Discount Campaigns)
折價券活動排行 (Coupon Campaigns)
{% endif %} {% if cols.date %}
每月業績趨勢 (Monthly Trend)
每週業績趨勢 (全年度)
每日業績趨勢 (週一至週日)
每小時業績熱點 (00:00 - 23:00)
多維度熱點 (星期 x 小時)
{% endif %}
詳細數據列表 (Top 1000)
{% if cols.brand %}{% endif %} {% if cols.vendor %}{% endif %} {% if cols.cat %}{% endif %} {% if cols.qty %}{% endif %} {% if cols.cost or cols.profit %}{% endif %} {% if cols.return_qty %}{% endif %} {% if cols.date %}{% endif %} {% if cols.qty %}{% endif %}
排名 商品ID 商品名稱品牌廠商名稱商品館 (分類)平均單價毛利率退貨率銷售月份銷售數量銷售金額
{% endif %}
{% endif %} {% if not error %} {% endif %} {% if not error %} {% endif %}