{{ title }}

Weekly Business Review — Auto-generated Report

📊 {{ level }} {% if level_value %}🏷️ {{ level_value }}{% endif %} 📅 {{ generated_at }} 📈 {{ meta.total_metrics }} Metrics
{% for period in weekly.periods %} {{ period }} {% endfor %} {% for period in monthly.periods %} {{ period }} {% endfor %} {% set ns = namespace(letter_idx=0) %} {% for i in range(4) %} {{ "ABCDEFGHIJKLMNOPQRSTUVWXYZ"[ns.letter_idx] }} {% set ns.letter_idx = ns.letter_idx + 1 %} {% endfor %} {% for period in weekly.periods %} {{ "ABCDEFGHIJKLMNOPQRSTUVWXYZ"[ns.letter_idx] }} {% set ns.letter_idx = ns.letter_idx + 1 %} {% endfor %} {% for period in monthly.periods %} {{ "ABCDEFGHIJKLMNOPQRSTUVWXYZ"[ns.letter_idx] if ns.letter_idx < 26 else "" }} {% set ns.letter_idx = ns.letter_idx + 1 %} {% endfor %} {% set ns.letter_idx = ns.letter_idx + 1 %} {% for row in weekly.metrics %} {% set monthly_row = monthly.metrics[loop.index0] if loop.index0 < monthly.metrics|length else none %} {% for val in row.period_values %} {% if val.actual is not none %} {% if row.uom == '%' or row.uom == 'bps' %} {{ val.actual|fmt }}% {% else %} {{ val.actual|fmt }}{{ val.actual_suffix }} {% endif %} {% else %}{% endif %} {% endfor %} {% if monthly_row %} {% for val in monthly_row.period_values %} {% if val.actual is not none %} {% if row.uom == '%' or row.uom == 'bps' %} {{ val.actual|fmt }}% {% else %} {{ val.actual|fmt }}{{ val.actual_suffix }} {% endif %} {% else %}{% endif %} {% endfor %} {% else %} {% for period in monthly.periods %} {% endfor %} {% endif %} {% endfor %}
# Metric Name UOM MTD ~~~~~ T{{ weekly.periods|length }} Week Actual ~~~~~ WoW ~~~~~ T{{ monthly.periods|length }} Month Actual ~~~~~ v/s Completed Month
{{ mtd_month_label }} Goal vs Goal vs YoY vs Goal vs YoY
{{ "ABCDEFGHIJKLMNOPQRSTUVWXYZ"[ns.letter_idx] if ns.letter_idx < 26 else "" }}{{ "ABCDEFGHIJKLMNOPQRSTUVWXYZ"[ns.letter_idx] if ns.letter_idx < 26 else "" }}
{% if loop.first %}{{ section_name or "" }}{% endif %} {{ loop.index }} {{ row.metric }} {{ row.uom }} {% if monthly_row and monthly_row.mtd and monthly_row.mtd.actual is not none %} {% if row.uom == '%' or row.uom == 'bps' %} {{ monthly_row.mtd.actual|fmt }}% {% else %} {{ monthly_row.mtd.actual|fmt }}{{ monthly_row.mtd.actual_suffix }} {% endif %} {% else %}{% endif %} {% if monthly_row and monthly_row.mtd and monthly_row.mtd.goal is not none %} {% if row.uom == '%' or row.uom == 'bps' %} {{ monthly_row.mtd.goal|fmt }}% {% else %} {{ monthly_row.mtd.goal|fmt }}{{ monthly_row.mtd.goal_suffix }} {% endif %} {% else %}{% endif %} {% if monthly_row and monthly_row.mtd and monthly_row.mtd.vs_goal is not none %} {% if monthly_row.mtd.vs_goal > 0 %} {{ monthly_row.mtd.vs_goal|fmt }}% {% elif monthly_row.mtd.vs_goal < -5 %} {{ monthly_row.mtd.vs_goal|fmt }}% {% elif monthly_row.mtd.vs_goal < 0 %} {{ monthly_row.mtd.vs_goal|fmt }}% {% else %} {{ monthly_row.mtd.vs_goal|fmt }}% {% endif %} {% else %}{% endif %} {% if monthly_row and monthly_row.mtd and monthly_row.mtd.vs_last is not none %} {% if monthly_row.mtd.vs_last > 0 %} {{ monthly_row.mtd.vs_last|fmt }}% {% elif monthly_row.mtd.vs_last < -5 %} {{ monthly_row.mtd.vs_last|fmt }}% {% elif monthly_row.mtd.vs_last < 0 %} {{ monthly_row.mtd.vs_last|fmt }}% {% else %} {{ monthly_row.mtd.vs_last|fmt }}% {% endif %} {% else %}{% endif %} {% if row.wow is not none %} {% if row.wow > 0 %} +{{ row.wow|fmt }}% {% elif row.wow < -5 %} {{ row.wow|fmt }}% {% elif row.wow < 0 %} {{ row.wow|fmt }}% {% else %} 0.0% {% endif %} {% else %}{% endif %} {% if monthly_row and monthly_row.completed_month and monthly_row.completed_month.vs_goal is not none %} {% if monthly_row.completed_month.vs_goal > 0 %} {{ monthly_row.completed_month.vs_goal|fmt }}% {% elif monthly_row.completed_month.vs_goal < -5 %} {{ monthly_row.completed_month.vs_goal|fmt }}% {% elif monthly_row.completed_month.vs_goal < 0 %} {{ monthly_row.completed_month.vs_goal|fmt }}% {% else %} {{ monthly_row.completed_month.vs_goal|fmt }}% {% endif %} {% else %}{% endif %} {% if monthly_row and monthly_row.completed_month and monthly_row.completed_month.vs_pnp is not none %} {% if monthly_row.completed_month.vs_pnp > 0 %} {{ monthly_row.completed_month.vs_pnp|fmt }}% {% elif monthly_row.completed_month.vs_pnp < -5 %} {{ monthly_row.completed_month.vs_pnp|fmt }}% {% elif monthly_row.completed_month.vs_pnp < 0 %} {{ monthly_row.completed_month.vs_pnp|fmt }}% {% else %} {{ monthly_row.completed_month.vs_pnp|fmt }}% {% endif %} {% else %}{% endif %}