Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
singleton2787
Helper III
Helper III

Select a row based on today's date then select then next oldest 2 time frames.

select the Sprint Name(s) based on Today <= Sprint Start Date and Today >= Sprint End Date (and not in the future) then add up the number of sprints selected (eg. 4 sprints selected) and divide the sum of the Sprint Points Done by that number. 381/4 in other words

 

 

singleton2787_0-1664803733573.png

 

4 REPLIES 4
singleton2787
Helper III
Helper III

Do I have a typo in here? "Too few arguments were passed to the FILTER function. The minimum argument count for the function is 2."

Sprint Velocity = divide( calculate(SUM('Sprint Burndown'[Sprint Done Points]), filter('Sprint Burndown'[Iteration Start Date] <= Today() && 'Sprint Burndown'[Iteration End Date]>= Today)),

calculate(Distinctcount('Sprint Burndown'[Sprint Name]), filter('Sprint Burndown', [Sprint Start Date]<= Today() && [Sprint End Date]>= Today))

)

There's a ( missing in both the last Today expression

TODAY()





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Not enough coffee :)... thanks!!

 

I made the adjusment

Sprint Velocity = divide
    (calculate
        (SUM('Sprint Burndown'[Sprint Done Points]),
            filter('Sprint Burndown', 'Sprint Burndown'[Iteration Start Date] <= Today() && 'Sprint Burndown'[Iteration End Date]>= Today())),

    calculate(Distinctcount('Sprint Burndown'[Sprint Name]), filter('Sprint Burndown', 'Sprint Burndown'[Iteration Start Date]<= Today() && 'Sprint Burndown'[Iteration End Date]>= Today())

))
 
and got a ridiculously high number or zero if I SUM it in the card... so I thought maybe the distinct count was throwing it off so I made a calc column to see
CountSprints = calculate(Distinctcount('Sprint Burndown'[Sprint Name]), filter('Sprint Burndown', 'Sprint Burndown'[Iteration Start Date]<= Today() && 'Sprint Burndown'[Iteration End Date]>= Today()))
 
shouldn't the count sprints column show a '1' ?

singleton2787_0-1664831521960.png

 



amitchandak
Super User
Super User

@singleton2787 , Try measure like

divide( calculate(Sum(Table[Sprint data points]), filter(Table, [Sprint Start Date]<= Today() && [Sprint End Date]>= Today)),

calculate(Distinctcount(Table[Sprint Name]), filter(Table, [Sprint Start Date]<= Today() && [Sprint End Date]>= Today))

)

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.