<?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: DAX cumulative curve of number milestones with a progress value calculated directly in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-curve-of-number-milestones-with-a-progress-value/m-p/4000325#M155801</link>
    <description>&lt;P&gt;Hi Ibendlin,&amp;nbsp;&lt;BR /&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I updated the post and add a link to a pbi file.&lt;/P&gt;&lt;P&gt;Data are not screenshot except curves so normally everything is usable now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and have agood day !&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2024 14:23:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-06-19T14:23:51Z</dc:date>
    <item>
      <title>DAX cumulative curve of number milestones with a progress value calculated directly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-curve-of-number-milestones-with-a-progress-value/m-p/3960472#M153681</link>
      <description>&lt;P&gt;Hello to everyone !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;edit the link to the file :&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1vE7Oj-dpwqc8KkmtsGFljeFUdUvZBZ1k/view?usp=drive_link" target="_blank"&gt;https://drive.google.com/file/d/1vE7Oj-dpwqc8KkmtsGFljeFUdUvZBZ1k/view?usp=drive_link&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;My issue is easy and complexe at the same time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want count the progress of my project from a table where i register date at each update of my project.&amp;nbsp;&lt;BR /&gt;My table look like this&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;group&lt;/TD&gt;&lt;TD&gt;Source update&lt;/TD&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;group1&lt;/TD&gt;&lt;TD&gt;X1&lt;/TD&gt;&lt;TD&gt;XX/XX/XX&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;group1&lt;/TD&gt;&lt;TD&gt;X2&lt;/TD&gt;&lt;TD&gt;XX/XX/XX&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;group1&lt;/TD&gt;&lt;TD&gt;X1&lt;/TD&gt;&lt;TD&gt;XX/XX/XX&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;group1&lt;/TD&gt;&lt;TD&gt;X2&lt;/TD&gt;&lt;TD&gt;XX/XX/XX&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;group2&lt;/TD&gt;&lt;TD&gt;X1&lt;/TD&gt;&lt;TD&gt;XX/XX/XX&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;group2&lt;/TD&gt;&lt;TD&gt;X2&lt;/TD&gt;&lt;TD&gt;XX/XX/XX&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;group2&lt;/TD&gt;&lt;TD&gt;X1&lt;/TD&gt;&lt;TD&gt;XX/XX/XX&lt;/TD&gt;&lt;/TR&gt;&lt;TR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/TD&gt;&lt;TD&gt;X1&lt;/TD&gt;&lt;TD&gt;XX/XX/XX&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;13&lt;/TD&gt;&lt;TD&gt;group4&lt;/TD&gt;&lt;TD&gt;X2&lt;/TD&gt;&lt;TD&gt;XX/XX/XX&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The progress i want to calculate by group of milestones and i want that each group has the same weight ( modulo a factor)&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example the group 1 has 2 milestones ==&amp;gt; thus for each review i have 2 milestones&amp;nbsp;&lt;/P&gt;&lt;P&gt;and for the group 2 i have 3 milestones etc etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each group has one factor of weight one the table below&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;group&lt;/TD&gt;&lt;TD&gt;factor&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;group1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;group2&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;group3&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;group4&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;because there is not hte same number of milestones by group + there is a diffrent factor ==. the progress calculated for each group is not the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do this thing in power query it's auite easy&amp;nbsp;&lt;/P&gt;&lt;P&gt;1- I merge the table of factor on the main table&amp;nbsp;&lt;/P&gt;&lt;P&gt;2- i merge the main table on the main table (on the key which is the group&amp;amp;reviewnumber)&amp;nbsp; ==&amp;gt; allow me to agregate the table and calculate the number of milestones by group by review&lt;/P&gt;&lt;P&gt;3- i add a column where i multiply the factor divide by the number of milestone *5 (5 is the weight for the milestone at the end)&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;==&amp;gt; with that i have a progress for each row that i can easily show on a cumulative curve or an histogram by group or by ID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is that the second merge (main table on the main table) + aggregation to count the number of key take a loooooot of time.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I thing there is a way to do it with DAX but i am struggle.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For exemple i tried to create a mesure like that :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curve_cumul = 
var nbrtotal  =calculate(count('Project curve (2)'[Development curve - group]),ALL('Calendar'))
var factor =  calculate(Max('Project curve (2)'[Development curve - factor]),ALL('Calendar'))
var nbr  = calculate(count('Project curve (2)'[Development curve - group]),'Calendar'[Date]&amp;lt;=MAX('Calendar'[Date]))
return  nbr/nbrtotal*factor*5&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i show this on a visual it's working when i put in legend the group ==&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;for each group i have a cumulative curve that show the progess (modulo the factor that i had)&lt;BR /&gt;&lt;BR /&gt;However when i don't use the legend, i would think that i had the cumulative curve of each group but in fact no ==&amp;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;I suppose that it take the maximum so it's not a sum of each group that normally bring me to 300 but just the max of the table that go to 15 which is factor max = 3 * 5 (nbr =nbrtotal in that case cause it's not filtering on group as the legend do)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;++ i would like to have a curve for each review to compare them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I fell that i do it wrong but i am not so far from the answer but i am struggle soooo&amp;nbsp;&lt;BR /&gt;Thank you veryyyy much for your help by advance !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 09:08:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-curve-of-number-milestones-with-a-progress-value/m-p/3960472#M153681</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-31T09:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: DAX cumulative curve of number milestones with a progress value calculated directly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-curve-of-number-milestones-with-a-progress-value/m-p/3962013#M153725</link>
      <description>&lt;P&gt;your sample data is not usable.&amp;nbsp;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;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &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;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&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>Thu, 30 May 2024 18:55:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-curve-of-number-milestones-with-a-progress-value/m-p/3962013#M153725</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-05-30T18:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: DAX cumulative curve of number milestones with a progress value calculated directly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-curve-of-number-milestones-with-a-progress-value/m-p/4000325#M155801</link>
      <description>&lt;P&gt;Hi Ibendlin,&amp;nbsp;&lt;BR /&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I updated the post and add a link to a pbi file.&lt;/P&gt;&lt;P&gt;Data are not screenshot except curves so normally everything is usable now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and have agood day !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 14:23:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-curve-of-number-milestones-with-a-progress-value/m-p/4000325#M155801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-19T14:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: DAX cumulative curve of number milestones with a progress value calculated directly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-curve-of-number-milestones-with-a-progress-value/m-p/4000766#M155886</link>
      <description>&lt;P&gt;link asks for access. Please verify.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 22:04:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-curve-of-number-milestones-with-a-progress-value/m-p/4000766#M155886</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-06-19T22:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: DAX cumulative curve of number milestones with a progress value calculated directly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-curve-of-number-milestones-with-a-progress-value/m-p/4044559#M160423</link>
      <description>&lt;P&gt;it's change. Normally now you have access !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 15:36:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-cumulative-curve-of-number-milestones-with-a-progress-value/m-p/4044559#M160423</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-16T15:36:22Z</dc:date>
    </item>
  </channel>
</rss>

