Forum Discussion
bnadir55
8 months agoRegular Visitor
Help Needed – Incorporating Task Duration Into Weighted S-Curve (Power BI / Data Modeling)
Hi everyone, I'm working on building an S-curve visualization where the X-axis represents the project timeline (date from start to end), and the Y-axis represents cumulative progress from 0% to 100%...
- 7 months ago
Hi bnadir55,
The remaining issue concerns how the task weight is retrieved from the related table and how daily values are summed up. You can try the following DAX, which should help by ensuring the weight is treated as a single value per task and that the cumulative calculation is done properly.
Task Weight := DIVIDE ( CALCULATE ( MAX ( ActivityWeights[Weight] ) ), 100 ) ------------------------------------------------------------------------------------------------- Cumulative Progress % := SUMX ( FILTER ( ALL ( DateTable[Date] ), DateTable[Date] <= MAX ( DateTable[Date] ) ), [Daily Weighted Progress] )Thank you.
bnadir55
7 months agoRegular Visitor
BTW I have managed to change DAX to this :
But how can we get it 100% , and why its not smooth ?
v-saisrao-msft
7 months agoCommunity Support
Hi bnadir55,
Checking in to see if your issue has been resolved. let us know if you still need any assistance.
Thank you.