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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Mesh
Frequent Visitor

Merge Query does not carry over new columns created

I am trying to merge two tables in PowerBI desktop. One of the tables has a number of new columns that I created, but when I merge the tables, the new columns are not present in the merged dataset.

 

Is there any way I can include the new columns in the merged table?

4 REPLIES 4
ibarrau
Super User
Super User

Hi. Can you be more specific about how are you creating columns and merging data? What I can suspect is that you are creating the columns in DAX that runs after the PowerQuery code runs (merging). If you want the columns in the merge be sure to add custom column in power query (transform data or edit query menu).

 

Hope this helps, if not, please detail more the problem.

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Mesh
Frequent Visitor

Yes I am - is there no way to get the DAX columns to carry over?

 

If not, what's the easiest way to transfer the columns from DAX to power query?

There is no way to see DAX columns in Power Query. The engine runs step by step, imagine the model is created with power query and DAX create things when the model is created.

 

The way to go is Adding a Custom Column in Power Query that will let you write code. That way if you have conditions, you can replicate them. We can help you if you show the DAX code (unless it is a crazy 20 lines business code hahaha)

 

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Thanks this solution worked for me since I had the same issue 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.