<?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: Parse a column and then make a sum with other columns values when encountering last non blank value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Parse-a-column-and-then-make-a-sum-with-other-columns-values/m-p/3716386#M144654</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;BR /&gt;&lt;BR /&gt;Thanks for your response. My post was unclear but I wanted to take values from other columns in the same row that Max(Sales) in your example so I would need the total sum to be 86.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ended up doing more or less the same than you though, filtering on the max.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2024 08:13:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-02-22T08:13:14Z</dc:date>
    <item>
      <title>Parse a column and then make a sum with other columns values when encountering last non blank value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Parse-a-column-and-then-make-a-sum-with-other-columns-values/m-p/3714142#M144541</link>
      <description>&lt;P&gt;I want to parse a sorted column, and then when I encounter the last non blank value from this column, take this row and make a sum with other columns values, from the same table. Is there any way to do that ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Doing LASTNONBLANK(TIME1) +&amp;nbsp;LASTNONBLANK(TIME2) +&amp;nbsp;LASTNONBLANK(TIME3) would not work in my case since one my column does not have blank values.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 11:32:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Parse-a-column-and-then-make-a-sum-with-other-columns-values/m-p/3714142#M144541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-21T11:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Parse a column and then make a sum with other columns values when encountering last non blank value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Parse-a-column-and-then-make-a-sum-with-other-columns-values/m-p/3715316#M144603</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>Wed, 21 Feb 2024 21:46:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Parse-a-column-and-then-make-a-sum-with-other-columns-values/m-p/3715316#M144603</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-02-21T21:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Parse a column and then make a sum with other columns values when encountering last non blank value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Parse-a-column-and-then-make-a-sum-with-other-columns-values/m-p/3716226#M144641</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please &lt;SPAN&gt;try the following methods and check if they can solve your problem:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1.Create the simple table.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2.Create the new measure to calculate the last non blank value from the sales column.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LastNonBlankSales = CALCULATE(MAX('Table'[Sales]), FILTER(ALL('Table'[Sales]), NOT(ISBLANK('Table'[Sales]))))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3.Create the measure to make a sum with other column values.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;TotalSum = [LastNonBlankSales] 
            + CALCULATE(MAX('Table'[Time 1]), FILTER(ALL('Table'[Time 1]), NOT(ISBLANK('Table'[Time 1])))) 
            + CALCULATE(MAX('Table'[Time 2]), FILTER(ALL('Table'[Time 2]), NOT(ISBLANK('Table'[Time 2])))) 
            + CALCULATE(MAX('Table'[Time 3]), FILTER(ALL('Table'[Time 3]), NOT(ISBLANK('Table'[Time 3]))))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;4.Drag the measure into the card visual. The result is shown below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Wisdom Wu&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 07:10:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Parse-a-column-and-then-make-a-sum-with-other-columns-values/m-p/3716226#M144641</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-22T07:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Parse a column and then make a sum with other columns values when encountering last non blank value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Parse-a-column-and-then-make-a-sum-with-other-columns-values/m-p/3716386#M144654</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;BR /&gt;&lt;BR /&gt;Thanks for your response. My post was unclear but I wanted to take values from other columns in the same row that Max(Sales) in your example so I would need the total sum to be 86.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ended up doing more or less the same than you though, filtering on the max.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 08:13:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Parse-a-column-and-then-make-a-sum-with-other-columns-values/m-p/3716386#M144654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-22T08:13:14Z</dc:date>
    </item>
  </channel>
</rss>

