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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Benx
Helper I
Helper I

Scope and Forecast Date intercept

Hello all,

Using Jira data, I have created a basic burn up chart in Power BI. In the chart, I show the estimated story points (Scope) for the period, and completed story points. I have then included three forecast tracks: standard forecast, optimistic forecast, and pessimistic forecast that pick up after the last resolved date for completed stories. Now I would like to be able to surface, and display the dates on which each of the forecasts intercept with the scope line.  So far I'm stuggling to produce this using DAX.
Benx_0-1636660708821.png

Benx_1-1636660725735.png

Above, you can see the Forecast intercepts with the Quarterly Scope on 12/26/2021. Can anyone suggest an approach in DAX that will surface that date?

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

Is this what you're after?

ForcastDate =
CALCULATE (
    MIN ( Table1[Date] ),
    FILTER ( Table1, Table1[Forecast] >= Table1[Quarterly Scope] )
)

 

View solution in original post

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @Benx ;

Is your problem solved?? If so, Would you mind accept the helpful replies as solutions? Then we could close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yalanwu-msft
Community Support
Community Support

Hi, @Benx ;

If I understand you correctly, are you looking for the date closest to 75? If so, you can try it:

Measure = 
var _a=TOPN(1,SUMMARIZE( ALL('Table'), [Date],"1",ABS(MAX('Table'[Forecast])-MAX('Table'[Quartery Scope]))),[1],ASC)
return MINX(_a,[Date])

Then add Y-Axis constant line.

vyalanwumsft_0-1637027502795.png

The final output is shown below:

vyalanwumsft_1-1637027544346.png

 

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

AlexisOlson
Super User
Super User

Is this what you're after?

ForcastDate =
CALCULATE (
    MIN ( Table1[Date] ),
    FILTER ( Table1, Table1[Forecast] >= Table1[Quarterly Scope] )
)

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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