<?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: How to sum value in next column in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-sum-value-in-next-column/m-p/761851#M2413</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like a question concerning DAX. If so, I am afraid that it is out of our expertise therefore, it is better to ask in appropriate threads: &lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/bd-p/DAXCommands" target="_self"&gt;this one&lt;/A&gt;, or &lt;A href="https://community.powerbi.com/t5/Desktop/bd-p/power-bi-designer" target="_self"&gt;another one&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Evgenii Elkin,&lt;BR /&gt;Software Engineer&lt;BR /&gt;Microsoft Power BI Custom Visuals&lt;BR /&gt;pbicvsupport@microsoft.com&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2019 14:46:18 GMT</pubDate>
    <dc:creator>v-evelk</dc:creator>
    <dc:date>2019-08-08T14:46:18Z</dc:date>
    <item>
      <title>How to sum value in next column</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-sum-value-in-next-column/m-p/758485#M2404</link>
      <description>&lt;P&gt;I want to calculate about how long that initial order will be ran out of stock&lt;/P&gt;&lt;P&gt;and this is sample of current data (M is sales of each month),&lt;/P&gt;&lt;P&gt;column "Month" is total month until stock ran out (I need this column)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Currently, i can write "if" formula like sample below, but in actual data i have around 36 months so it too long&lt;/P&gt;&lt;P&gt;Can i set formula as a VAR or not? Please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Month = if(Sheet1[Initial order]-Sheet1[M1]&amp;lt;=0,1, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if(Sheet1[Initial order]-(Sheet1[M1]+Sheet1[M2])&amp;lt;=0,2,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if(Sheet1[Initial order]-(Sheet1[M1]+Sheet1[M2]+Sheet1[M3])&amp;lt;=0,3,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if(Sheet1[Initial order]-(Sheet1[M1]+Sheet1[M2]+Sheet1[M3]+Sheet1[M4])&amp;lt;=0,4,...........&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Aug 2019 04:29:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-sum-value-in-next-column/m-p/758485#M2404</guid>
      <dc:creator>s_namon</dc:creator>
      <dc:date>2019-08-06T04:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum value in next column</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-sum-value-in-next-column/m-p/761851#M2413</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like a question concerning DAX. If so, I am afraid that it is out of our expertise therefore, it is better to ask in appropriate threads: &lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/bd-p/DAXCommands" target="_self"&gt;this one&lt;/A&gt;, or &lt;A href="https://community.powerbi.com/t5/Desktop/bd-p/power-bi-designer" target="_self"&gt;another one&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Evgenii Elkin,&lt;BR /&gt;Software Engineer&lt;BR /&gt;Microsoft Power BI Custom Visuals&lt;BR /&gt;pbicvsupport@microsoft.com&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 14:46:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/How-to-sum-value-in-next-column/m-p/761851#M2413</guid>
      <dc:creator>v-evelk</dc:creator>
      <dc:date>2019-08-08T14:46:18Z</dc:date>
    </item>
  </channel>
</rss>

