The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello! I have two tables with identical columns, three of which were added to each table using DAX. When I attempt to append them, the additional columns do not appear. Is it possible to combine the data from these tables into one including the additional columns? Thanks for your help 🙂
Solved! Go to Solution.
@MBWATSON Sure, in the Modeling tab of your ribbon, choose New table (in Report view) then just use the formula:
Combined Table = UNION('Table1', 'Table2')
@MBWATSON Are you using UNION to append them?
@MBWATSON Right, so that isn't going to work in the slightest. Power Query loads data and then DAX calculated columns are created. So, the columns don't even exist yet when you are appending the tables together. You can either add the DAX calculated columns to the appended table, or create the calculated columns in Power Query before appending or you could skip appending in Power Query and use a UNION to append the two tables together in DAX.
@Greg_Deckler thank you for that information! Nothing that I have researched has mentioned using Union in DAX. I will attempt it and let you know how it goes.
@MBWATSON Sure, in the Modeling tab of your ribbon, choose New table (in Report view) then just use the formula:
Combined Table = UNION('Table1', 'Table2')