Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
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 COUNT of days for each Sprint
Thanks in advance,
Solved! Go to Solution.
@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] ) ) )
)
@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] ) ) )
)
@Anonymous Do you need this as a column? The other members equation does work if you use it as a measure. How are you
using this calculation further?
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
Wouldn't this just give the Total Points / Total Days? 700 / 12
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 62 | |
| 62 | |
| 42 | |
| 21 | |
| 18 |