{% set row_max = group_max if group_max is defined and group_max > 0 else 1 %}
{{ group_label }}
{% if not group_rows %}
No data yet.
{% else %}
{% for row in group_rows %} {% set bar_pct = (row.completed / row_max * 100) | round(1) %} {% endfor %}
{{ group_key_label }} Done Avg cycle WIP
{{ row.group }}
{{ row.completed }} {% if row.avg_cycle_days is not none %} {{ row.avg_cycle_days }}d {% else %} {% endif %} {% if row.wip > 0 %} {{ row.wip }} {% else %} {% endif %}
{% endif %}