<?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 dax formula to complete table with lastnoblank value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-formula-to-complete-table-with-lastnoblank-value/m-p/767983#M3545</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is my first time in the comunity and I am a new user of power bi.&lt;/P&gt;&lt;P&gt;The issue I would like to solve is the follow:&lt;/P&gt;&lt;P&gt;I have to table like below:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where the table 1 have a calculated column with the following formula:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Output calculated = SUMX(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RELATEDTABLE(Tabella2);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Tabella2[outputactual]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&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;now the issue is:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;how I can fill the rest of blank value in the column calculated&amp;nbsp; with the last one value (15) ?&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below the related table2:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance for every one would like help me.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/54768c79c1b7120d20ee224d734ae3224300a33f/68747470733a2f2f617070736c696e6b65722e6e65742f6d65747269632f3f6d69643d267769643d3531383234267369643d267469643d38343639267269643d4c4f4144454426637573746f6d313d636f6d6d756e6974792e706f77657262692e636f6d26637573746f6d323d2532467435253246666f72756d73253246706f737470616765253246626f6172642d6964253246444158436f6d6d616e647326743d31353635383939323135383638" border="0" /&gt;&lt;IMG src="https://ip1.i.lithium.com/8829e54b0bf773cab3e1b681e33f95711d18478e/68747470733a2f2f617070736c696e6b65722e6e65742f6d65747269632f3f6d69643d267769643d3531383234267369643d267469643d38343639267269643d46494e495348454426637573746f6d313d636f6d6d756e6974792e706f77657262692e636f6d26743d31353635383939323135383730" border="0" /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Aug 2019 20:30:50 GMT</pubDate>
    <dc:creator>GiuseppeTE</dc:creator>
    <dc:date>2019-08-15T20:30:50Z</dc:date>
    <item>
      <title>dax formula to complete table with lastnoblank value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-formula-to-complete-table-with-lastnoblank-value/m-p/767983#M3545</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is my first time in the comunity and I am a new user of power bi.&lt;/P&gt;&lt;P&gt;The issue I would like to solve is the follow:&lt;/P&gt;&lt;P&gt;I have to table like below:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where the table 1 have a calculated column with the following formula:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Output calculated = SUMX(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RELATEDTABLE(Tabella2);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Tabella2[outputactual]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&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;now the issue is:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;how I can fill the rest of blank value in the column calculated&amp;nbsp; with the last one value (15) ?&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below the related table2:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance for every one would like help me.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/54768c79c1b7120d20ee224d734ae3224300a33f/68747470733a2f2f617070736c696e6b65722e6e65742f6d65747269632f3f6d69643d267769643d3531383234267369643d267469643d38343639267269643d4c4f4144454426637573746f6d313d636f6d6d756e6974792e706f77657262692e636f6d26637573746f6d323d2532467435253246666f72756d73253246706f737470616765253246626f6172642d6964253246444158436f6d6d616e647326743d31353635383939323135383638" border="0" /&gt;&lt;IMG src="https://ip1.i.lithium.com/8829e54b0bf773cab3e1b681e33f95711d18478e/68747470733a2f2f617070736c696e6b65722e6e65742f6d65747269632f3f6d69643d267769643d3531383234267369643d267469643d38343639267269643d46494e495348454426637573746f6d313d636f6d6d756e6974792e706f77657262692e636f6d26743d31353635383939323135383730" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 20:30:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-formula-to-complete-table-with-lastnoblank-value/m-p/767983#M3545</guid>
      <dc:creator>GiuseppeTE</dc:creator>
      <dc:date>2019-08-15T20:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: dax formula to complete table with lastnoblank value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-formula-to-complete-table-with-lastnoblank-value/m-p/768809#M3563</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="117418" data-lia-user-login="GiuseppeTE" class="lia-mention lia-mention-user"&gt;GiuseppeTE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;=
VAR lastavailabledata =
    CALCULATE (
        MAX ( Tabella2[dataworked] ),
        FILTER ( ALL ( Tabella2 ), Tabella2[dataworked] &amp;lt;= Tabella1[data] )
    )
RETURN
    CALCULATE (
        SUM ( Tabella2[outputactual] ),
        FILTER ( ALL ( Tabella2 ), Tabella2[dataworked] = lastavailabledata )
    )
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 16:18:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-formula-to-complete-table-with-lastnoblank-value/m-p/768809#M3563</guid>
      <dc:creator>Zubair_Muhammad</dc:creator>
      <dc:date>2019-08-16T16:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: dax formula to complete table with lastnoblank value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-formula-to-complete-table-with-lastnoblank-value/m-p/768936#M3570</link>
      <description>&lt;P&gt;Hello Muhammad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;your formula work perfectly.&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 20:20:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-formula-to-complete-table-with-lastnoblank-value/m-p/768936#M3570</guid>
      <dc:creator>GiuseppeTE</dc:creator>
      <dc:date>2019-08-16T20:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: dax formula to complete table with lastnoblank value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-formula-to-complete-table-with-lastnoblank-value/m-p/768968#M3571</link>
      <description>&lt;P&gt;HI &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="117418" data-lia-user-login="GiuseppeTE" class="lia-mention lia-mention-user"&gt;GiuseppeTE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the feedback&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please mark the correct answer as solution. I see that you marked your own reply as ANSWER.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 21:29:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-formula-to-complete-table-with-lastnoblank-value/m-p/768968#M3571</guid>
      <dc:creator>Zubair_Muhammad</dc:creator>
      <dc:date>2019-08-16T21:29:12Z</dc:date>
    </item>
  </channel>
</rss>

