<?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 new table which selects column from 2 tables. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/new-table-which-selects-column-from-2-tables/m-p/2301356#M56844</link>
    <description>&lt;P&gt;Hey Team&lt;/P&gt;&lt;P&gt;I need help in writing a dax code for this scenarios:&lt;/P&gt;&lt;P&gt;table1:&amp;nbsp; startdate1, machineID, index_tool1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;jan&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1111&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 123&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mar&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1122&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 123&lt;/P&gt;&lt;P&gt;table2: startdate2, diameter, removal, index_tool2&lt;/P&gt;&lt;P&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;feb&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0,12&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 123&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a NEWcolumn or new table. which has the columns from table1(startdate1,machineID, index_tool1), for each row in table1, I want a new row in my NEWcolumn(which is the startdate2- if the startdate1 &amp;lt; startdate2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NEWTABLE = startdate1,&amp;nbsp; &amp;nbsp; machineID, startdate2, removal&lt;/P&gt;&lt;P&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;jan&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1111&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; feb&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0,12&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jan 2022 15:02:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-01-25T15:02:55Z</dc:date>
    <item>
      <title>new table which selects column from 2 tables.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/new-table-which-selects-column-from-2-tables/m-p/2301356#M56844</link>
      <description>&lt;P&gt;Hey Team&lt;/P&gt;&lt;P&gt;I need help in writing a dax code for this scenarios:&lt;/P&gt;&lt;P&gt;table1:&amp;nbsp; startdate1, machineID, index_tool1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;jan&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1111&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 123&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mar&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1122&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 123&lt;/P&gt;&lt;P&gt;table2: startdate2, diameter, removal, index_tool2&lt;/P&gt;&lt;P&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;feb&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0,12&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 123&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a NEWcolumn or new table. which has the columns from table1(startdate1,machineID, index_tool1), for each row in table1, I want a new row in my NEWcolumn(which is the startdate2- if the startdate1 &amp;lt; startdate2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NEWTABLE = startdate1,&amp;nbsp; &amp;nbsp; machineID, startdate2, removal&lt;/P&gt;&lt;P&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;jan&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1111&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; feb&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0,12&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 15:02:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/new-table-which-selects-column-from-2-tables/m-p/2301356#M56844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-25T15:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: new table which selects column from 2 tables.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/new-table-which-selects-column-from-2-tables/m-p/2301538#M56853</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Try a new table like&lt;/P&gt;
&lt;P&gt;filter(generate(table1, Table2),[startdate1] &amp;lt;[startdate2])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;make sure column name in two tables are not same&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 16:28:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/new-table-which-selects-column-from-2-tables/m-p/2301538#M56853</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-01-25T16:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: new table which selects column from 2 tables.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/new-table-which-selects-column-from-2-tables/m-p/2307596#M57221</link>
      <description>&lt;P&gt;Hey,&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;Thank you so much for your time in helping me out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to create a measure using your suggestion.&lt;/P&gt;&lt;P&gt;but i get this error:&amp;nbsp;The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.&amp;nbsp; the startDate column has values in this format : 21.03.2021&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 12:15:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/new-table-which-selects-column-from-2-tables/m-p/2307596#M57221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-28T12:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: new table which selects column from 2 tables.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/new-table-which-selects-column-from-2-tables/m-p/2330035#M58501</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;What's the data type of your startdate column? If you want to compare the size, it needs to be in the same format.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team _ kalyj&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 07:00:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/new-table-which-selects-column-from-2-tables/m-p/2330035#M58501</guid>
      <dc:creator>v-yanjiang-msft</dc:creator>
      <dc:date>2022-02-10T07:00:42Z</dc:date>
    </item>
  </channel>
</rss>

