<?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: Aligning Data Rows in Power Query (Removing different rows in different columns) in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/Aligning-Data-Rows-in-Power-Query-Removing-different-rows-in/m-p/2977306#M94271</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Maybe someone else will have an answer, but I don't see how this is possible. How would Power Query know which rows are part of the same record?&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2022 18:37:48 GMT</pubDate>
    <dc:creator>djurecic</dc:creator>
    <dc:date>2022-12-19T18:37:48Z</dc:date>
    <item>
      <title>Aligning Data Rows in Power Query (Removing different rows in different columns)</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Aligning-Data-Rows-in-Power-Query-Removing-different-rows-in/m-p/2977060#M94260</link>
      <description>&lt;P&gt;In the attached screenshot, I've been able to filter out key data needed from a Text document.&lt;/P&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;However, each piece of data is in it's own row. I'm stuck trying to figure out how to realign these rows so that the 3 pieces of data appear in the same row, or simply to remove the Null values in each Column so that when each individual column is cleaned up, each row will contain the Letter ID, Account Number, and Name in a single row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So instead of&lt;BR /&gt;[null] | Account # | [null]&lt;/P&gt;&lt;P&gt;Letter_ID | [null] | [null]&lt;/P&gt;&lt;P&gt;[null] | [null] | Name&lt;BR /&gt;&lt;BR /&gt;I would get this:&lt;BR /&gt;Letter_ID | Account # | Name&lt;BR /&gt;Letter_ID | Account # | Name&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 15:56:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Aligning-Data-Rows-in-Power-Query-Removing-different-rows-in/m-p/2977060#M94260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-19T15:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Data Rows in Power Query (Removing different rows in different columns)</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Aligning-Data-Rows-in-Power-Query-Removing-different-rows-in/m-p/2977306#M94271</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Maybe someone else will have an answer, but I don't see how this is possible. How would Power Query know which rows are part of the same record?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 18:37:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Aligning-Data-Rows-in-Power-Query-Removing-different-rows-in/m-p/2977306#M94271</guid>
      <dc:creator>djurecic</dc:creator>
      <dc:date>2022-12-19T18:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Data Rows in Power Query (Removing different rows in different columns)</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Aligning-Data-Rows-in-Power-Query-Removing-different-rows-in/m-p/2979233#M94348</link>
      <description>&lt;P&gt;I did find a solution:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Remove-rows-of-certain-columns-with-Query/m-p/359476" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/Remove-rows-of-certain-columns-with-Query/m-p/359476&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, I skipped the Source line, and added the code to the end. Making sure to update the references to the last line in my existing query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was struggling to get this to tack on to the end of my existing Query by adding the linked code in the Advanced Editor. I ultimately realized that my issue was that I did not update the previous step references.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ultimately running through the code once moved Columns 1 &amp;amp; 3 up by one row so that now 1 &amp;amp; 2 aligned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added a second round of the code, giving them new variable names (e.g. TableToColumns2) and running those off of the "Reassmble" result, and this moved Column 3 up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data is aligned exactly as I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate the willingness to help!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 14:21:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Aligning-Data-Rows-in-Power-Query-Removing-different-rows-in/m-p/2979233#M94348</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-20T14:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Data Rows in Power Query (Removing different rows in different columns)</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Aligning-Data-Rows-in-Power-Query-Removing-different-rows-in/m-p/2979269#M94349</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Glad you got it to work. I made the mistake of assuming that you were looking for an automated way to solve. Will keep this in my back pocket in case I ever need it.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 14:32:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Aligning-Data-Rows-in-Power-Query-Removing-different-rows-in/m-p/2979269#M94349</guid>
      <dc:creator>djurecic</dc:creator>
      <dc:date>2022-12-20T14:32:32Z</dc:date>
    </item>
  </channel>
</rss>

