top of page
Practical Excel & Power BI Learning Resources
Explore clear tutorials, practical examples and downloadable files designed around real business questions.
Search


How to Dynamically Append Tables in Power Query
When appending tables in Power Query, the M code used looks something like below: =Table.Combine({Table1, Table2, Table3}) The problem here is if sometimes we only have Table 1, sometimes all three tables are available, it's not flexible to append these tables. For example, if we only have Table 1 and 2, we will get error like below which tells us that the table can’t be found. This makes it difficult to append if the number of tables to be appended is always changing. So her

TWX Margerate
Jul 19, 20242 min read
Â
Â
Â


How to Manage Data with Ever Changing Headers in Power Query
Here's an example of ever changing headers where the dates are the headers of the data, basically means the headers change every month or day. Transforming such data in Power Query can be challenging as Power Query grabs the headers of the data when transforming the data, so whenever the headers change, Power Query can't recognize the data and gives out an error like the image below. The issue can be solved by a solution I called it: Grouping the headers/columns. So here's I

TWX Margerate
Jul 13, 20242 min read
Â
Â
Â


How to Automatically Filter the Past 30 Days in an Excel Pivot Table
Here's an example of a Pivot Table, and I want to automatically filter the past 30 days whenever I update the raw data and refresh it. So here's the sample raw data of stores sales for the above Pivot Table from May 2024 until June 2024. To make it filter the past 30 days data in the Pivot Table, this is how I do it: At the raw data: Add an additional column to check on whether the date is within the past 30days period. The Formula goes like this: =AND([@Date]>=(TODAY()-30),[

TWX Margerate
Jul 10, 20241 min read
Â
Â
Â
bottom of page