<?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: Sawtooth decay charts in Power BI in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Sawtooth-decay-charts-in-Power-BI/m-p/3996687#M9947</link>
    <description>&lt;P&gt;You cannot create semi additive columns in Power BI.&amp;nbsp; The only way to do this is in Power Query with List.Accumulate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How many days in advance do you need to calculate?&lt;/P&gt;
&lt;P&gt;What do you do with the chart once it is computed?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2024 17:31:53 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-06-17T17:31:53Z</dc:date>
    <item>
      <title>Sawtooth decay charts in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Sawtooth-decay-charts-in-Power-BI/m-p/3993253#M9935</link>
      <description>&lt;P&gt;Hello!,&amp;nbsp;&lt;BR /&gt;I am trying to create a cyclic graph in Power BI with a condition added upon it.&amp;nbsp;&lt;BR /&gt;I have the following data structure.&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Day&lt;/TD&gt;&lt;TD&gt;Starting Amount&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;Safety Stock&lt;/TD&gt;&lt;TD&gt;Units per Day&lt;/TD&gt;&lt;TD&gt;Lot Size&lt;/TD&gt;&lt;TD&gt;On Hand Inventory&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;800&lt;/TD&gt;&lt;TD&gt;550&lt;/T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;/TD&gt;&lt;TD&gt;800&lt;/TD&gt;&lt;TD&gt;550&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;590&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;800&lt;/TD&gt;&lt;TD&gt;550&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;560&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;800&lt;/TD&gt;&lt;TD&gt;550&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;730&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;800&lt;/TD&gt;&lt;TD&gt;550&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;700&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The objective is to generate a decay curve with saw tooth like features. The starting on hand stock (800 units) decays at the rate of 30 units per day. The day on which it goes below the safety stock value, lot size number of units are added back to the system again. This cycle continues. The objective is to create a column like the last column (on hand inventory) which tracks these movements and shows the current on hand inventory at any given time.&amp;nbsp;&lt;BR /&gt;The final graph created would look something like this. (The dotted lines should indicate the safety stock level in my case).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Satyajit537_3-1718364871660.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1116886i3CEECE017F68E6F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Satyajit537_3-1718364871660.png" alt="Satyajit537_3-1718364871660.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2024 13:35:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Sawtooth-decay-charts-in-Power-BI/m-p/3993253#M9935</guid>
      <dc:creator>Satyajit537</dc:creator>
      <dc:date>2024-06-16T13:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sawtooth decay charts in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Sawtooth-decay-charts-in-Power-BI/m-p/3994491#M9938</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;&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>Sat, 15 Jun 2024 21:16:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Sawtooth-decay-charts-in-Power-BI/m-p/3994491#M9938</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-06-15T21:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sawtooth decay charts in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Sawtooth-decay-charts-in-Power-BI/m-p/3994849#M9941</link>
      <description>&lt;P&gt;Edited the post as per your suggestion. Would be helpful if you have any leads for the solution&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2024 13:36:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Sawtooth-decay-charts-in-Power-BI/m-p/3994849#M9941</guid>
      <dc:creator>Satyajit537</dc:creator>
      <dc:date>2024-06-16T13:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sawtooth decay charts in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Sawtooth-decay-charts-in-Power-BI/m-p/3996687#M9947</link>
      <description>&lt;P&gt;You cannot create semi additive columns in Power BI.&amp;nbsp; The only way to do this is in Power Query with List.Accumulate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How many days in advance do you need to calculate?&lt;/P&gt;
&lt;P&gt;What do you do with the chart once it is computed?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 17:31:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Sawtooth-decay-charts-in-Power-BI/m-p/3996687#M9947</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-06-17T17:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sawtooth decay charts in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Sawtooth-decay-charts-in-Power-BI/m-p/3996698#M9948</link>
      <description>&lt;P&gt;The safety stock numbers are generated in dax itself. So my current requirement involves the use of DAX based solutions. But if it cannot be done then I will find some alternative.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My plan was to create a chart that tracks the on hand inventory value by each day&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 17:37:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Sawtooth-decay-charts-in-Power-BI/m-p/3996698#M9948</guid>
      <dc:creator>Satyajit537</dc:creator>
      <dc:date>2024-06-17T17:37:28Z</dc:date>
    </item>
  </channel>
</rss>

