Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
Check out the May 2024 Power BI update to learn about new features.
User | Count |
---|---|
92 | |
82 | |
63 | |
62 | |
58 |
User | Count |
---|---|
159 | |
115 | |
103 | |
75 | |
66 |