<?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 Power BI Append Table Vertically(Row by Row), Combine Queries without key in Quick Measures Gallery</title>
    <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Power-BI-Append-Table-Vertically-Row-by-Row-Combine-Queries/m-p/2560107#M852</link>
    <description>&lt;H1&gt;Power BI Append Table Vertically, Combine Queries without&amp;nbsp;key&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;There are two tables D1 and D2. They do not have any common column. They need to be appended vertically. Columns side by side.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Solution&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;List.Zip can help. It can append lists vertically. Columns can be used vertically&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power Query Code&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;LI-CODE lang="markup"&gt;let
    Source = List.Zip({D1[C1],D1[C3], D2[C2]}),
    #"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
    #"Extracted Values" = Table.TransformColumns(#"Converted to Table", {"Column1", each Text.Combine(List.Transform(_, Text.From), ","), type text}),
    #"Split Column by Delimiter" = Table.SplitColumn(#"Extracted Values", "Column1", Splitter.SplitTextByDelimiter(",", QuoteStyle.Csv), {"Column1.1", "Column1.2", "Column1.3"}),
    #"Changed Type" = Table.TransformColumnTypes(#"Split Column by Delimiter",{{"Column1.1", type text}, {"Column1.2", type text}, {"Column1.3", Int64.Type}})
in
    #"Changed Type"&lt;/LI-CODE&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;Click &lt;A href="https://community.powerbi.com/t5/Data-Stories-Gallery/Blog-Analysis/m-p/1265567#M4403" target="_blank" rel="noopener ugc nofollow noopener noopener" data-href="https://community.powerbi.com/t5/Data-Stories-Gallery/Blog-Analysis/m-p/1265567#M4403"&gt;Here&lt;/A&gt; to access all my blogs and videos in a jiffy via an exclusive visual glossary using Power BI.&lt;BR /&gt;Please like, share, and comment on these. Your suggestions on improvement, challenges, and new topics will help me explore more.&lt;/P&gt;
&lt;P&gt;You Can watch my Power BI Tutorial Series on &lt;A href="https://www.youtube.com/c/Amitchandak?sub_confirmation=1" target="_blank" rel="noopener" data-href="https://www.youtube.com/c/Amitchandak?sub_confirmation=1"&gt;My Channel&lt;/A&gt;, Subscribe, Like, and share&lt;/P&gt;</description>
    <pubDate>Sun, 10 Jul 2022 13:27:54 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-07-10T13:27:54Z</dc:date>
    <item>
      <title>Power BI Append Table Vertically(Row by Row), Combine Queries without key</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Power-BI-Append-Table-Vertically-Row-by-Row-Combine-Queries/m-p/2560107#M852</link>
      <description>&lt;H1&gt;Power BI Append Table Vertically, Combine Queries without&amp;nbsp;key&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;There are two tables D1 and D2. They do not have any common column. They need to be appended vertically. Columns side by side.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Solution&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;List.Zip can help. It can append lists vertically. Columns can be used vertically&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power Query Code&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;LI-CODE lang="markup"&gt;let
    Source = List.Zip({D1[C1],D1[C3], D2[C2]}),
    #"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
    #"Extracted Values" = Table.TransformColumns(#"Converted to Table", {"Column1", each Text.Combine(List.Transform(_, Text.From), ","), type text}),
    #"Split Column by Delimiter" = Table.SplitColumn(#"Extracted Values", "Column1", Splitter.SplitTextByDelimiter(",", QuoteStyle.Csv), {"Column1.1", "Column1.2", "Column1.3"}),
    #"Changed Type" = Table.TransformColumnTypes(#"Split Column by Delimiter",{{"Column1.1", type text}, {"Column1.2", type text}, {"Column1.3", Int64.Type}})
in
    #"Changed Type"&lt;/LI-CODE&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;Click &lt;A href="https://community.powerbi.com/t5/Data-Stories-Gallery/Blog-Analysis/m-p/1265567#M4403" target="_blank" rel="noopener ugc nofollow noopener noopener" data-href="https://community.powerbi.com/t5/Data-Stories-Gallery/Blog-Analysis/m-p/1265567#M4403"&gt;Here&lt;/A&gt; to access all my blogs and videos in a jiffy via an exclusive visual glossary using Power BI.&lt;BR /&gt;Please like, share, and comment on these. Your suggestions on improvement, challenges, and new topics will help me explore more.&lt;/P&gt;
&lt;P&gt;You Can watch my Power BI Tutorial Series on &lt;A href="https://www.youtube.com/c/Amitchandak?sub_confirmation=1" target="_blank" rel="noopener" data-href="https://www.youtube.com/c/Amitchandak?sub_confirmation=1"&gt;My Channel&lt;/A&gt;, Subscribe, Like, and share&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 13:27:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Power-BI-Append-Table-Vertically-Row-by-Row-Combine-Queries/m-p/2560107#M852</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-07-10T13:27:54Z</dc:date>
    </item>
  </channel>
</rss>

