Forum Discussion
Anonymous
6 years agoNot applicable
GROUP BY Calculation
Hi, I have this Sprint data And I want to calculate de "CALCULATION" column in Power BI This is the SUM of Points for each Sprint DIVIDED BY CO...
- 6 years ago
Anonymous
You may use the following DAX to add a calculated column.
Column = DIVIDE ( SUMX ( RELATEDTABLE ( Table2 ), Table2[Points] ), COUNTROWS ( FILTER ( Table1, Table1[SPRINT] = EARLIER ( Table1[SPRINT] ) ) ) )
az38
6 years agoCommunity Champion
Hi Anonymous
try a simple
= DIVIDE(SUM([Points]), COUNT([DAYS]))but before be sure there is a relationship between your tables
do not hesitate to give a kudo to useful posts and mark solutions as solution
- Anonymous6 years agoNot applicable
Wouldn't this just give the Total Points / Total Days? 700 / 12