Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Divide the value of one row by another

I am loading an excel file in a table like this:

IDPropertyValue
1Property A100
2Property B50
3Property C64
4Property D80
5Property E24

I would like to create a KPI widget that computes (Property A) / (Property B). How can this be accomplished? Along the same line of thought, is it possible to have the same thing with an aggregation?

IDPropertyValue
1Property A100
2Property A50
3Property B64
4Property C80
5Property B24

For instance, in this case I would want [SUM (Property A)] / [SUM (Property B)]. Is this something one can do?

1 Solution

Accepted Solutions
Not applicable
Author

I managed to solve this using Set Analysis

Sum({$<Property={"Property A"}>}Value)/Sum({$<Property={"Property B"}>}Value)

View solution in original post

1 Reply
Not applicable
Author

I managed to solve this using Set Analysis

Sum({$<Property={"Property A"}>}Value)/Sum({$<Property={"Property B"}>}Value)