Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
I have a two tables
Story Table
Story ID | Story Point |
101 | 5 |
102 | 8 |
103 | 2 |
104 | 13 |
Another one is a mapping of Story & Sprint Table, where one story may belong to more than one sprint
Story Sprints
Story ID | Sprint ID |
101 | 1 |
101 | 2 |
102 | 1 |
102 | 2 |
102 | 3 |
103 | 1 |
103 | 2 |
Now, I want to add a column in this Story Sprint Mapping table called "Story points", that should be derived from "Story points" value of Stories table, and divide by number of sprints it has against the respective story ID in "Story Sprints" table
For e.g. it should show something like this below ->
Story Sprints
Story ID | Sprint ID | Story Points |
101 | 1 | 2.5 |
101 | 2 | 2.5 |
102 | 1 | 2.7 |
102 | 2 | 2.7 |
102 | 3 | 2.7 |
103 | 1 | 1 |
103 | 2 | 1 |
Solved! Go to Solution.
Hi,
I assume the relationship is created like below.
Please check the below picture and the attached pbix file.
Story Points CC =
DIVIDE (
RELATED ( Story[Story Point] ),
COUNTROWS ( FILTER ( Sprint, Sprint[Story ID] = EARLIER ( Sprint[Story ID] ) ) )
)
Hi,
I assume the relationship is created like below.
Please check the below picture and the attached pbix file.
Story Points CC =
DIVIDE (
RELATED ( Story[Story Point] ),
COUNTROWS ( FILTER ( Sprint, Sprint[Story ID] = EARLIER ( Sprint[Story ID] ) ) )
)
User | Count |
---|---|
15 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |