Forum Discussion
sure19
Helper II
7 years agoCalculate from within a column
hi, i have a column called KPI and it has a list of matrics. example Total Moves Essential Moves etc. another column has the KPI Value for these metrics i need to create a new measure call...
- 7 years ago
can you share sample data?
you can follow the guide here:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490 - 7 years ago
You may refer to the measure below.
Measure = VAR t = CALCULATE ( SUM ( Table1[Value] ), Table1[KPI] = "Total Moves" ) VAR e = CALCULATE ( SUM ( Table1[Value] ), Table1[KPI] = "Essential Moves" ) RETURN DIVIDE ( t - e, t )
v-chuncz-msft
Community Support
7 years ago
You may refer to the measure below.
Measure =
VAR t =
CALCULATE ( SUM ( Table1[Value] ), Table1[KPI] = "Total Moves" )
VAR e =
CALCULATE ( SUM ( Table1[Value] ), Table1[KPI] = "Essential Moves" )
RETURN
DIVIDE ( t - e, t )