Forum Discussion
Condition based formula
- 5 years ago
Anonymous , earlier will kind of create a partition
This means a new column all Applicant_Company will same value if you replace it WORK_AREA, All WORK_AREA will have same will value .
You add too
Measn combination of [WORK_AREA] and Applicant_Company will have same value
divide(Sumx(filter(Table, [Applicant_Company] =earlier([Applicant_Company]) && [WORK_AREA] =earlier([WORK_AREA]) ),[KPI1]),Sumx(filter(Table, [Applicant_Company] =earlier([Applicant_Company]) && [WORK_AREA] =earlier([WORK_AREA]) ),[KPI1_COUNT])) *100
Thanks! Can I ask, would the formula you produced also work if I wanted the sum to be based on 'WORK_AREA' as well as 'APPLICANT_COMPANY'?
Anonymous , earlier will kind of create a partition
This means a new column all Applicant_Company will same value if you replace it WORK_AREA, All WORK_AREA will have same will value .
You add too
Measn combination of [WORK_AREA] and Applicant_Company will have same value
divide(Sumx(filter(Table, [Applicant_Company] =earlier([Applicant_Company]) && [WORK_AREA] =earlier([WORK_AREA]) ),[KPI1]),Sumx(filter(Table, [Applicant_Company] =earlier([Applicant_Company]) && [WORK_AREA] =earlier([WORK_AREA]) ),[KPI1_COUNT])) *100