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 called Quality Time with a formula ( total moves - essential moves/total moves)
how can i do this? Please help.
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/38490You 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 )
2 Replies
- Stachu
Community Champion
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 - v-chuncz-msft
Community Support
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 )