<?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: Take value from column and fill new column based on condition in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-value-from-column-and-fill-new-column-based-on-condition/m-p/2700356#M81715</link>
    <description>&lt;P&gt;Excellent - Thank you! Exactly what I was looking for.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Aug 2022 12:32:25 GMT</pubDate>
    <dc:creator>Mav</dc:creator>
    <dc:date>2022-08-15T12:32:25Z</dc:date>
    <item>
      <title>Take value from column and fill new column based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-value-from-column-and-fill-new-column-based-on-condition/m-p/2697728#M81491</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to build a column that is filled with the value from another column.&lt;/P&gt;&lt;P&gt;Fill the column with the total income for that particular month&lt;/P&gt;&lt;P&gt;(For clarity, the value would change depending on the month)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 15:21:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-value-from-column-and-fill-new-column-based-on-condition/m-p/2697728#M81491</guid>
      <dc:creator>Mav</dc:creator>
      <dc:date>2022-08-12T15:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Take value from column and fill new column based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-value-from-column-and-fill-new-column-based-on-condition/m-p/2698572#M81537</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Based on what I see on the screenshot, please try the below for creating a new column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Rev for month CC =
MAXX (
    FILTER ( 'your table name', 'your table name'[acct] = "Total Income" ),
    'your table name'[value]
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 13 Aug 2022 12:50:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-value-from-column-and-fill-new-column-based-on-condition/m-p/2698572#M81537</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-08-13T12:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Take value from column and fill new column based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-value-from-column-and-fill-new-column-based-on-condition/m-p/2698743#M81549</link>
      <description>&lt;P&gt;Thanks! We're close, but i need the Income to be displayed for the respective month.&lt;/P&gt;&lt;P&gt;Your code will populate the maximum value for all months.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ie.&amp;nbsp; for all Jan rows, i need Jan income, for Feb rows, I need Feb income etc.&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Aug 2022 18:47:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-value-from-column-and-fill-new-column-based-on-condition/m-p/2698743#M81549</guid>
      <dc:creator>Mav</dc:creator>
      <dc:date>2022-08-13T18:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Take value from column and fill new column based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-value-from-column-and-fill-new-column-based-on-condition/m-p/2699606#M81631</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;try the below whether it works for your dataset.&lt;/P&gt;
&lt;P&gt;If you have more columns to be included in the condition, you can try to add more into the below by using &amp;amp;&amp;amp; function.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Rev for month CC =
MAXX (
    FILTER (
        'your table name',
        'your table name'[acct] = "Total Income"
            &amp;amp;&amp;amp; 'your table name'[month] = EARLIER ( 'your table name'[month] )
    ),
    'your table name'[value]
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 03:01:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-value-from-column-and-fill-new-column-based-on-condition/m-p/2699606#M81631</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-08-15T03:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Take value from column and fill new column based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-value-from-column-and-fill-new-column-based-on-condition/m-p/2700356#M81715</link>
      <description>&lt;P&gt;Excellent - Thank you! Exactly what I was looking for.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 12:32:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Take-value-from-column-and-fill-new-column-based-on-condition/m-p/2700356#M81715</guid>
      <dc:creator>Mav</dc:creator>
      <dc:date>2022-08-15T12:32:25Z</dc:date>
    </item>
  </channel>
</rss>

