Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi everyone,
I have some issues about creating a new table,
I have 3 sheets from Excel and I have loaded into Power BI.
Sheet1 and Sheet2 are including with Name, Date and Balance, so they are basically the same thing. Sheet3 is only with Name and Age in it. So, what I am trying to do is going to creating a new table called t1, which will have Name, Date, Balance and Age in it.
I know how to do it in the query editor, but I want to do it just by using New table function from Modeling.
Also, I noticed I can use union to union sheet1 and sheet2 as they have the same number of rows. And right now, I have problem of adding sheet3 into it.
Thanks
Solved! Go to Solution.
Hi @Anonymous,
You could try this:
FinalTable = ADDCOLUMNS ( UNION ( Sheet_1, Sheet_2 ), "Age", LOOKUPVALUE ( Sheet_3[Age], Sheet_3[Name], [Name] ) )
Best regards,
Yuliana Gu
Hi @Anonymous,
You could try this:
FinalTable = ADDCOLUMNS ( UNION ( Sheet_1, Sheet_2 ), "Age", LOOKUPVALUE ( Sheet_3[Age], Sheet_3[Name], [Name] ) )
Best regards,
Yuliana Gu
Thanks! It works out!
Hi everyone,
I have some issues about creating a new table,
I have 3 sheets from Excel and I have loaded into Power BI.
Sheet1 and Sheet2 are including with Name, Date and Balance, so they are basically the same thing. Sheet3 is only with Name and Age in it. So, what I am trying to do is going to creating a new table called t1, which will have Name, Date, Balance and Age in it.
I know how to do it in the query editor, but I want to do it just by using New table function from Modeling.
Also, I noticed I can use union to union sheet1 and sheet2 as they have the same number of rows. And right now, I have problem of adding sheet3 into it.
Thanks
Hi @Anonymous,
As you say, you can use the UNION function to join the first two tables, then you should create a relationship between this new table and Table3 by Name, to be able to create the final table with the following formula:
FinalTable = ADDCOLUMNS ( 'Union'; "Age" ; RELATED(Table3[Age]) )
Regards.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.