<?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 create new table with the column  came from existing table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-new-table-with-the-column-came-from-existing-table/m-p/1286116#M22020</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm looking to do the following. I want to create a new table with 4 columns. the values will be coming from the existing table. the existing table have the following columns id, a1, a_code, a_fail, a_dt, a_qty, b_code, b_fail, b_dt, b_qty. i need to combined the values of a* and b* into one table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result should be like this sample:&lt;/P&gt;&lt;P&gt;Note: 001 records are coming from a* data while 002 records is coming from b*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;code&lt;/TD&gt;&lt;TD&gt;fail&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;dt&lt;/TD&gt;&lt;TD&gt;qty&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;bloated&lt;/TD&gt;&lt;TD&gt;1/1/2020&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;002&lt;/TD&gt;&lt;TD&gt;002&lt;/TD&gt;&lt;TD&gt;restart&lt;/TD&gt;&lt;TD&gt;5/5/2020&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Aug 2020 03:38:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-08-11T03:38:54Z</dc:date>
    <item>
      <title>create new table with the column  came from existing table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-new-table-with-the-column-came-from-existing-table/m-p/1286116#M22020</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm looking to do the following. I want to create a new table with 4 columns. the values will be coming from the existing table. the existing table have the following columns id, a1, a_code, a_fail, a_dt, a_qty, b_code, b_fail, b_dt, b_qty. i need to combined the values of a* and b* into one table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result should be like this sample:&lt;/P&gt;&lt;P&gt;Note: 001 records are coming from a* data while 002 records is coming from b*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;code&lt;/TD&gt;&lt;TD&gt;fail&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;dt&lt;/TD&gt;&lt;TD&gt;qty&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;bloated&lt;/TD&gt;&lt;TD&gt;1/1/2020&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;002&lt;/TD&gt;&lt;TD&gt;002&lt;/TD&gt;&lt;TD&gt;restart&lt;/TD&gt;&lt;TD&gt;5/5/2020&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 03:38:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-new-table-with-the-column-came-from-existing-table/m-p/1286116#M22020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-11T03:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: create new table with the column  came from existing table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-new-table-with-the-column-came-from-existing-table/m-p/1286157#M22023</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;LI-CODE lang="php"&gt;Table =
UNION (
    SELECTCOLUMNS (
        Products,
        "Column 1", Products[Color],
        "Column 2", Products[Brand],
        "Column 3", Products[Category]
    ),
    SELECTCOLUMNS (
        Customer,
        "Column 1", Customer[Gender],
        "Column 2", Customer[Continent],
        "Column 3", Customer[Education]
    )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 04:18:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-new-table-with-the-column-came-from-existing-table/m-p/1286157#M22023</guid>
      <dc:creator>AntrikshSharma</dc:creator>
      <dc:date>2020-08-11T04:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: create new table with the column  came from existing table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-new-table-with-the-column-came-from-existing-table/m-p/1286163#M22024</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;- Seems possible, but without sample source data it's hard to tell you what exactly the transformation might be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not really enough information to go on, please first check if your issue is a common issue listed here: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 04:20:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-new-table-with-the-column-came-from-existing-table/m-p/1286163#M22024</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-08-11T04:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: create new table with the column  came from existing table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-new-table-with-the-column-came-from-existing-table/m-p/1286199#M22028</link>
      <description>&lt;P&gt;Thanks a lot &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;. This is what i'm looking for.&amp;nbsp; By the way, How can i added only those column with values . i will not include all&amp;nbsp; those empty columns.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 04:45:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-new-table-with-the-column-came-from-existing-table/m-p/1286199#M22028</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-11T04:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: create new table with the column  came from existing table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-new-table-with-the-column-came-from-existing-table/m-p/1286211#M22031</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp; In that case you can try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="php"&gt;Table =
FILTER (
    UNION (
        SELECTCOLUMNS (
            Products,
            "Column 1", Products[Color],
            "Column 2", Products[Brand],
            "Column 3", Products[Category]
        ),
        SELECTCOLUMNS (
            Customer,
            "Column 1", Customer[Gender],
            "Column 2", Customer[Continent],
            "Column 3", Customer[Education]
        )
    ),
    NOT (
        ISBLANK ( [Column 1] )
            || ISBLANK ( [Column 2] )
            || ISBLANK ( [Column 3] )
    )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 04:52:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-new-table-with-the-column-came-from-existing-table/m-p/1286211#M22031</guid>
      <dc:creator>AntrikshSharma</dc:creator>
      <dc:date>2020-08-11T04:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: create new table with the column  came from existing table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-new-table-with-the-column-came-from-existing-table/m-p/1286258#M22034</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 05:21:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-new-table-with-the-column-came-from-existing-table/m-p/1286258#M22034</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-11T05:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: create new table with the column  came from existing table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-new-table-with-the-column-came-from-existing-table/m-p/1286263#M22036</link>
      <description>You're welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Tue, 11 Aug 2020 05:25:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-new-table-with-the-column-came-from-existing-table/m-p/1286263#M22036</guid>
      <dc:creator>AntrikshSharma</dc:creator>
      <dc:date>2020-08-11T05:25:41Z</dc:date>
    </item>
  </channel>
</rss>

