<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Armaan | Power BI & Excel Automation]]></title><description><![CDATA[Armaan | Power BI & Excel Automation]]></description><link>https://armaandata.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sun, 22 Nov 2026 16:03:26 GMT</lastBuildDate><atom:link href="https://armaandata.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Combine many Excel files into one table with Power Query]]></title><description><![CDATA[Step by step: combine a folder of Excel or CSV files into one table with Power Query, and refresh it every month.]]></description><link>https://armaandata.hashnode.dev/combine-many-excel-files-into-one-table-with-power-query</link><guid isPermaLink="true">https://armaandata.hashnode.dev/combine-many-excel-files-into-one-table-with-power-query</guid><category><![CDATA[PowerQuery]]></category><category><![CDATA[excel]]></category><category><![CDATA[Power BI]]></category><dc:creator><![CDATA[Aniket Kumar Mishra]]></dc:creator><pubDate>Thu, 12 Nov 2026 13:06:15 GMT</pubDate><content:encoded><![CDATA[<p>Stop opening every file by hand to combine them. If you get a folder of Excel or CSV files every month, Power Query can read the whole folder and give you one table.</p>
<h2>The steps</h2>
<ol>
<li>Put all the files in one folder. Close them.</li>
<li>In Excel: Data &gt; Get Data &gt; From File &gt; From Folder. Pick the folder.</li>
<li>Click Combine &gt; Combine &amp; Transform Data.</li>
<li>Pick the sheet or table to use as the sample, then OK.</li>
<li>Power Query opens with one table. Fix the column types (dates as Date, amounts as Decimal Number).</li>
<li>Close &amp; Load.</li>
</ol>
<h2>What you get</h2>
<p>If your files share the same layout, you get one table with every row from every file. When next month's files arrive, drop them in the same folder and press Data &gt; Refresh All.</p>
<h2>Where it goes wrong</h2>
<ul>
<li>Different column names in different files. Power Query matches by name, so a renamed column becomes a new empty column. Rename it in the first step.</li>
<li>Header rows that repeat inside the data. Filter them out once and the rule stays.</li>
<li>Dates read as text, or day and month swapped. Set the column type and the locale explicitly.</li>
<li>Amounts typed as text. Change the type to Decimal Number and check for errors.</li>
</ul>
<p>I tested this on 20 simulated sample files (about 2,000 rows). The first time takes around 10 minutes. After that, each month is one refresh.</p>
<h2>Next step</h2>
<p>Once the combined table is clean, the same query can feed a Power BI dashboard, so the report updates when the folder does.</p>
<p>I build these clean-up and reporting pipelines for small and mid-size companies. All samples here use simulated data.</p>
]]></content:encoded></item></channel></rss>