<?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: Column Refers to column in same table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-Refers-to-column-in-same-table/m-p/2802817#M88250</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="218027" data-lia-user-login="antlufc" class="lia-mention lia-mention-user"&gt;antlufc&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please refer to attached sample file with the solution&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Required Result = 
VAR CurrentCustomerTable = 
    CALCULATETABLE ( First_Transaction_Type, ALLEXCEPT ( First_Transaction_Type, First_Transaction_Type[Customer Reference] ) )
VAR FirstVersion = MINX ( CurrentCustomerTable, First_Transaction_Type[SubscriptionVersion Number] )
RETURN
    MAXX (
        FILTER ( CurrentCustomerTable, First_Transaction_Type[SubscriptionVersion Number] = FirstVersion ),
        First_Transaction_Type[Transaction type]
    )&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 28 Sep 2022 12:48:29 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-09-28T12:48:29Z</dc:date>
    <item>
      <title>Column Refers to column in same table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-Refers-to-column-in-same-table/m-p/2802014#M88191</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a Power Bi data tabel with the fileds i have to try and get to the expected result as per below.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I would like a DAX column that finds the Transaction type that refers to the SubscriptionVersion 1 based upon the customer reference.&amp;nbsp; I would like this result to be in ever row in the new column expected result below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="First Transaction Type" href="https://1drv.ms/u/s!AivZWzcfJJzngR4sM0fFXflWaQAx?e=IIoRQk" target="_self"&gt;https://1drv.ms/u/s!AivZWzcfJJzngR4sM0fFXflWaQAx?e=IIoRQk&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 07:50:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-Refers-to-column-in-same-table/m-p/2802014#M88191</guid>
      <dc:creator>antlufc</dc:creator>
      <dc:date>2022-09-28T07:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Column Refers to column in same table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-Refers-to-column-in-same-table/m-p/2802817#M88250</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="218027" data-lia-user-login="antlufc" class="lia-mention lia-mention-user"&gt;antlufc&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please refer to attached sample file with the solution&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Required Result = 
VAR CurrentCustomerTable = 
    CALCULATETABLE ( First_Transaction_Type, ALLEXCEPT ( First_Transaction_Type, First_Transaction_Type[Customer Reference] ) )
VAR FirstVersion = MINX ( CurrentCustomerTable, First_Transaction_Type[SubscriptionVersion Number] )
RETURN
    MAXX (
        FILTER ( CurrentCustomerTable, First_Transaction_Type[SubscriptionVersion Number] = FirstVersion ),
        First_Transaction_Type[Transaction type]
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 28 Sep 2022 12:48:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-Refers-to-column-in-same-table/m-p/2802817#M88250</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-28T12:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Column Refers to column in same table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-Refers-to-column-in-same-table/m-p/2803163#M88283</link>
      <description>&lt;P&gt;Superb, worked perfectly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 14:44:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-Refers-to-column-in-same-table/m-p/2803163#M88283</guid>
      <dc:creator>antlufc</dc:creator>
      <dc:date>2022-09-28T14:44:21Z</dc:date>
    </item>
  </channel>
</rss>

