<?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 Burndown Chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Burndown-Chart/m-p/3213002#M117236</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a burndown graph for a list of software activities (user stories), which have 3 date fields:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Baseline Completion Date - Assigned to all activities when they are created and serves as initial baseline schedule.&lt;/LI&gt;&lt;LI&gt;Forecast Completion Date - Live view on when an activity will complete.&lt;/LI&gt;&lt;LI&gt;Actual Completion Date - Self explanatory.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;A simple example dataset is shown below along with required chart output.&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;In my dataset, I have the activity name then have ungrouped the 3 data fields differentiating through 'attribute' field.&lt;/P&gt;&lt;P&gt;I have attempted to create the burndown graph as follows but the counts are not as expected; some records are missing and the counts jump.- My burndown measures are same for baseline/forecast/actual except for referring to different attributes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please could someone advise how I can resolve this issue and best achieve the chart?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 30 Apr 2023 22:19:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-04-30T22:19:22Z</dc:date>
    <item>
      <title>Burndown Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Burndown-Chart/m-p/3213002#M117236</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a burndown graph for a list of software activities (user stories), which have 3 date fields:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Baseline Completion Date - Assigned to all activities when they are created and serves as initial baseline schedule.&lt;/LI&gt;&lt;LI&gt;Forecast Completion Date - Live view on when an activity will complete.&lt;/LI&gt;&lt;LI&gt;Actual Completion Date - Self explanatory.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;A simple example dataset is shown below along with required chart output.&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;In my dataset, I have the activity name then have ungrouped the 3 data fields differentiating through 'attribute' field.&lt;/P&gt;&lt;P&gt;I have attempted to create the burndown graph as follows but the counts are not as expected; some records are missing and the counts jump.- My burndown measures are same for baseline/forecast/actual except for referring to different attributes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please could someone advise how I can resolve this issue and best achieve the chart?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2023 22:19:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Burndown-Chart/m-p/3213002#M117236</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-30T22:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Burndown Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Burndown-Chart/m-p/3214775#M117352</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, you want to create a&amp;nbsp;&lt;SPAN&gt;burndown&amp;nbsp;graph.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for your sample file , in my thought you want to show three measures in a line chart visual . And for your sample data , it seems you want to show the Forcast value after the max of the Actual Value .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my data apply to Desktop:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;First we can create a calendar Date Table as dimension:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Calendar = &lt;/SPAN&gt;&lt;SPAN&gt;CALENDAR&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;FIRSTDATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;) , &lt;/SPAN&gt;&lt;SPAN&gt;LASTDATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;And we need to create a relationship between two tables:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;
&lt;P&gt;Then we can create three measures like this:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;BaseLine Value = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Baseline Burndown]&lt;/SPAN&gt;&lt;SPAN&gt;) , &lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Attribute]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"BaseLine Completion Date"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Actual Value = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Baseline Burndown]&lt;/SPAN&gt;&lt;SPAN&gt;) , &lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Attribute]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Actual Completion Date"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Forcast Value = &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;_actual_max_date&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;CAL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&lt;SPAN&gt;_actual_max_date&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Baseline Burndown]&lt;/SPAN&gt;&lt;SPAN&gt;) , &lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Attribute]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Forecast Completion Date"&lt;/SPAN&gt;&lt;SPAN&gt; )))&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Then we can put the measures on the visual and we can get it:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;
&lt;P&gt;If this method does not meet your needs, you can provide us with your special &lt;STRONG&gt;sample data&lt;/STRONG&gt; and the &lt;STRONG&gt;desired output sample&lt;/STRONG&gt; data in the form of &lt;STRONG&gt;tables&lt;/STRONG&gt;, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )&lt;/P&gt;
&lt;P&gt;Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 May 2023 03:04:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Burndown-Chart/m-p/3214775#M117352</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2023-05-02T03:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Burndown Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Burndown-Chart/m-p/3214981#M117361</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="433015" data-lia-user-login="v-yueyunzh-msft" class="lia-mention lia-mention-user"&gt;v-yueyunzh-msft&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, this is very close to what i require and inspiring me to look at different ways but there is an issue that I wish to overcome which is well illustrated in your example where there is a spike caused by early closure of a record (1st June). I would like the chart to burn down incrementally such that on this date only a burndown of -1 is achived. This drove me (unsuccessfully) to using COUNT and disregarding the 'Baseline Burndown' field. How can I achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 06:53:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Burndown-Chart/m-p/3214981#M117361</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-02T06:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Burndown Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Burndown-Chart/m-p/3214993#M117362</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your quick response! Sure , in 2023/6/1 the value is "9" but in 2023/6/2 the value is "14" so it will be a&amp;nbsp;&lt;SPAN&gt;spike&amp;nbsp;due to the data will not deceit us.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For that , i do not fully understand the "&amp;nbsp;I would like the chart to burn down incrementally such that on this date only a burndown of -1 is achived. This drove me (unsuccessfully) to using COUNT and disregarding the 'Baseline Burndown' field".&lt;BR /&gt;In my thought , you do not want to create a&amp;nbsp;spike&amp;nbsp; in your chart , you want to the line will decrease slowly , just like each date will minus -1?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;That is, for this test data, we will ignore the number that caused the peak and give it a suitable value again?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And I don't quite understand your intention to use the COUNT function, the test data you provided shows that you are drawing visuals according to the 'Baseline Burndown' field.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 07:03:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Burndown-Chart/m-p/3214993#M117362</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2023-05-02T07:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Burndown Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Burndown-Chart/m-p/3215013#M117365</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do not want to show a&amp;nbsp;&lt;SPAN&gt;spike&amp;nbsp;, in my thought , we can compre this value before it&amp;nbsp; and then we can create a measure based on the [Actual Value] measure:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = var _cur_date = MAX('Calendar'[Date])
var _preDate = MAXX(FILTER( ALLSELECTED('Table')  , 'Table'[Date]&amp;lt; _cur_date &amp;amp;&amp;amp; 'Table'[Attribute] = "Actual Completion Date") ,[Date])
var _prevalue = CALCULATE( SUM('Table'[Baseline Burndown]) , 'Table'[Attribute]="Actual Completion Date" , 'Calendar'[Date] = _preDate)
return
IF([Actual Value]=BLANK(), BLANK() ,IF(ABS( [Actual Value]-_prevalue)&amp;gt;2 ,BLANK() , [Actual Value]))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then we can put this measure on the viusal and we can hide this spike in it :&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 07:16:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Burndown-Chart/m-p/3215013#M117365</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2023-05-02T07:16:08Z</dc:date>
    </item>
  </channel>
</rss>

