<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help Needed – Incorporating Task Duration Into Weighted S-Curve (Power BI / Data Modeling) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4910665#M186594</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1473376" data-lia-user-login="bnadir55" class="lia-mention lia-mention-user"&gt;bnadir55&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Task Weight := 
DIVIDE ( CALCULATE ( MAX ( ActivityWeights[Weight] ) ), 100 )

-------------------------------------------------------------------------------------------------

Cumulative Progress % :=
SUMX (
    FILTER ( ALL ( DateTable[Date] ), DateTable[Date] &amp;lt;= MAX ( DateTable[Date] ) ),
    [Daily Weighted Progress]
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Dec 2025 06:11:35 GMT</pubDate>
    <dc:creator>v-saisrao-msft</dc:creator>
    <dc:date>2025-12-31T06:11:35Z</dc:date>
    <item>
      <title>Help Needed – Incorporating Task Duration Into Weighted S-Curve (Power BI / Data Modeling)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4909330#M186577</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;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% based on task completion.&lt;/P&gt;&lt;P&gt;I’m looking to incorporate &lt;EM&gt;task duration&lt;/EM&gt; into the weighting logic.&lt;BR /&gt;Example: A task with a 10% weight scheduled from January 1–10 should have that 10% spread across those 10 days. If two tasks run in parallel during the same period (10% and 5% weights), then a total of 15% of the overall project weight occurs over the same 10-day window.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tables / Columns Used:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;ProjectProgressDashboard&lt;/STRONG&gt; → Start_Date, Finish_Date, Duration_Days&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;WeightsSheet&lt;/STRONG&gt; → weight_percent, Weight&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;DateTable&lt;/STRONG&gt; → Date&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;BR /&gt;Is this the correct conceptual way to model weighted duration in an S-curve (i.e., distribute task weight across its calendar span), and if so תhow should this be implemented efficiently (formula/modeling approach)?&lt;/P&gt;&lt;P&gt;Any guidance or examples would be greatly appreciated. Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 28 Dec 2025 09:19:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4909330#M186577</guid>
      <dc:creator>bnadir55</dc:creator>
      <dc:date>2025-12-28T09:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed – Incorporating Task Duration Into Weighted S-Curve (Power BI / Data Modeling)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4909391#M186579</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;Do not include sensitive information. Do not include anything that is unrelated to the issue or question. &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Need help uploading data? &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Dec 2025 14:23:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4909391#M186579</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-12-28T14:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed – Incorporating Task Duration Into Weighted S-Curve (Power BI / Data Modeling)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4909607#M186581</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1473376" data-lia-user-login="bnadir55" class="lia-mention lia-mention-user"&gt;bnadir55&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ProjectTasks (Start_Date, Finish_Date, Weight)&lt;BR /&gt;→ Generate series from Start to Finish (1 row per task-day)&lt;BR /&gt;→ DailyWeight = TaskWeight / Duration_Days&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;S-Curve Cumulative =&lt;BR /&gt;SUMX(&lt;BR /&gt;FILTER( TaskDays, TaskDays[Date] &amp;lt;= MAX(DateTable[Date]) ),&lt;BR /&gt;TaskDays[DailyWeight]&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Line chart:&lt;/P&gt;
&lt;P&gt;X: DateTable[Date]&lt;/P&gt;
&lt;P&gt;Y: [S-Curve Cumulative]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this answer helped, please click &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; or Accept as Solution.&lt;BR /&gt;-Kedar&lt;BR /&gt;LinkedIn: &lt;A href="https://www.linkedin.com/in/kedar-pande" target="_blank"&gt;https://www.linkedin.com/in/kedar-pande&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 06:43:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4909607#M186581</guid>
      <dc:creator>Kedar_Pande</dc:creator>
      <dc:date>2025-12-29T06:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed – Incorporating Task Duration Into Weighted S-Curve (Power BI / Data Modeling)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4909725#M186583</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1473376" data-lia-user-login="bnadir55" class="lia-mention lia-mention-user"&gt;bnadir55&lt;/a&gt;.,&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568855" data-lia-user-login="Kedar_Pande" class="lia-mention lia-mention-user"&gt;Kedar_Pande&lt;/a&gt;, for your insights.&lt;/P&gt;
&lt;P&gt;I reproduced the scenario using your sample data and got the expected output. Please find the screenshot and PBIX file attached for reference. Hope this helps.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 09:32:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4909725#M186583</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2025-12-29T09:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed – Incorporating Task Duration Into Weighted S-Curve (Power BI / Data Modeling)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4909871#M186587</link>
      <description>&lt;P&gt;Thx! But it seems I am dealing with another challenge where my weight is in another table:&amp;nbsp;ActivityWeights , which I have connected using a relationship properly and code not recognize :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 13:55:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4909871#M186587</guid>
      <dc:creator>bnadir55</dc:creator>
      <dc:date>2025-12-29T13:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed – Incorporating Task Duration Into Weighted S-Curve (Power BI / Data Modeling)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4909883#M186588</link>
      <description>&lt;P&gt;BTW I have managed to change DAX to this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But how can we get it 100% , and why its not smooth ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 14:14:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4909883#M186588</guid>
      <dc:creator>bnadir55</dc:creator>
      <dc:date>2025-12-29T14:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed – Incorporating Task Duration Into Weighted S-Curve (Power BI / Data Modeling)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4910665#M186594</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1473376" data-lia-user-login="bnadir55" class="lia-mention lia-mention-user"&gt;bnadir55&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Task Weight := 
DIVIDE ( CALCULATE ( MAX ( ActivityWeights[Weight] ) ), 100 )

-------------------------------------------------------------------------------------------------

Cumulative Progress % :=
SUMX (
    FILTER ( ALL ( DateTable[Date] ), DateTable[Date] &amp;lt;= MAX ( DateTable[Date] ) ),
    [Daily Weighted Progress]
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 06:11:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4910665#M186594</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2025-12-31T06:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed – Incorporating Task Duration Into Weighted S-Curve (Power BI / Data Modeling)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4912003#M186622</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1473376" data-lia-user-login="bnadir55" class="lia-mention lia-mention-user"&gt;bnadir55&lt;/a&gt;,&lt;SPAN data-teams="true"&gt;Have you had a chance to review the solution we shared earlier? If the issue persists, feel free to reply so we can help further.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jan 2026 08:23:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4912003#M186622</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2026-01-04T08:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed – Incorporating Task Duration Into Weighted S-Curve (Power BI / Data Modeling)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4913612#M186651</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1473376" data-lia-user-login="bnadir55" class="lia-mention lia-mention-user"&gt;bnadir55&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Checking in to see if your issue has been resolved. let us know if you still need any assistance.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 05:20:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Incorporating-Task-Duration-Into-Weighted-S-Curve/m-p/4913612#M186651</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2026-01-07T05:20:35Z</dc:date>
    </item>
  </channel>
</rss>

