Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
michaelhilland
Regular Visitor

Table Import and Power Query Editor

Hi there, 

 

I have imported three tables of data:

 

Table One

VendorProduct CodeTypeYear Quarter  Units Plastic Weight Steel WeightInserted column via power bi new columInserted column via power bi new colum
BraiformSize CubesVirgin20201       22,777,3580.50  
BraiformPlaquesVirgin20201         6,639,9231.80  

 

Table One

VendorProduct CodeTypeYear Quarter  Units Plastic Weight Steel WeightInserted column via power bi new columInserted column via power bi new colum
BraiformSize CubesVirgin20201       22,777,3580.50  
BraiformPlaquesVirgin20201         6,639,9231.80  

 

I have inserted two new columns in the above tables and added a formula to look up to the third table and calculate a value which is successful. 

 

Third imported table:

 

CountryYearQuarter CH Sales Percentage Split
UK Stores20201          73.69%
UK e-Comm20201             6.18%

 

However, I am now wanting to merge the first two tables to get a "full-year" table. When merging, only the columns from the original import merge together and the columns that I have added to not appear. Is there a way around this?

 

1 ACCEPTED SOLUTION

Power Query doesn't use DAX language, it uses M.

Yes, there are ways to look up other tables via Table Merge or M but if this is all new to you why don't you append the tables first and add calculated columns in DAX after.  (If this makes sense in your data model)

View solution in original post

7 REPLIES 7
michaelhilland
Regular Visitor

Morning, 

 

Thanks for the response. My organisation prevents from using links to allow me to share the pbix. I will take some screenshots below:

Q1

tABLE 1.PNG

Q2

TABLE 2.PNG

 

The last three columns in the above tables are a calculation I completed in powerbi. 

 

I then go to the edit queries and the Power Query Editor opens. 

 

The final three columns in the above table do not appear when I open them in the Power Query Editor:

 

Table 4.PNG

 

Is there a reason why I cannot see the three columns that I inserted? 

 

These columns have a calculation which looks up another table:


UK Stores Units = LOOKUPVALUE('Q1 Location Split'[Percentage Split],'Q3 Location Split'[Country], "UK Stores")*Q1[Units])
 
Essentially, my end goal was to merge these tables together to eventually create a year-end table (four quarters)

 

 

The new columns have been added with DAX in Powerbi front end.  Power Query doesn't know anything about them.

Options:

Add the New columns in Power Query and Append the tables OR

Append the tables in Power Query and add the columns (using DAX) to the final table

Thanks for the quick response. 

 

First Option

I tried adding the new columns in Power Query but it doesn't allow me to do the following calculation as it doesn't allow to look up a different table:

 

UK Stores Units = LOOKUPVALUE('Q1 Location Split'[Percentage Split],'Q3 Location Split'[Country], "UK Stores")*Q1[Units])

 

Is there a way to look up a different table?

Power Query doesn't use DAX language, it uses M.

Yes, there are ways to look up other tables via Table Merge or M but if this is all new to you why don't you append the tables first and add calculated columns in DAX after.  (If this makes sense in your data model)

HotChilli
Super User
Super User

If you link the pbix here, I'm sure this can be sorted quite quickly.

It does suggest that the 'Append' query is referring to the tables in an earlier form

parry2k
Super User
Super User

@michaelhilland sorry your question is not very clear, can you explain a bit more and also first two tables are identical?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Hi, 

 

Thanks for the response. 

 

The first two tables will have different data sets but the columns are the same. 

 

I have imported two separate tables as above. Table one and Table Two. 

 

I have inserted two new columns using the insert column option in powerbi. 

 

I now want to merge these two tables into one. When I do this using the append and adding the two tables. The new columns I have added to not appear, only the columns of the original dataset that I originally uploaded. 

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors