Skip to content

Question, how to refer to parent KPI for sub kpi expression, no example found in help tab #141

@bunhin

Description

@bunhin

With the Demo ExpensesTemplate, i add 2 sub KPI for example "value" and "percentage_to_total" then check on the "multi" to entry the expression for all 4 kpi's; "Expenses", Equipment", "Others", and "Total" , to simplify on the report i delete the "budget", also the "commited" and "available" column

for value subkpi_id expression on "Expenses KPI" i put value = balp[NN%]
for percentage i want to calculate as percentage to the value of the "Total" KPI, I did try some for expression line like
percentage_to_total = exp.value / total.value * 100
percentage_to_total = exp / total * 100

but i always get the #NAME error, on the percentage_to_total column as well as on "total" value column

Please inform how to refer to the the total value as divider to get the percentage in this example.
May be it is worth to add some example on the "KPI expression help" tab

thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions