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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
steambucky
Helper III
Helper III

Issues with Union and columns order - link to example PBIX file supplied.

Example PBIX file

I am having issues with UNION of data and deleting columns. There other examples of this issue but I can't follow thier solutions. I can't suppy my actual data due to privacy reasons so I have made this example.  

 

1. Here is a union of my data before I modify anything. Its just Namils thier colur and name. 

 

The data with BADTEXT needs to be cleaned up. This seemed simple to me at the time. 

 

union of two tables.png

 

In the query editor it seems simple. I just spit the colour data into 3 columns, delete the ones I dont need. 

 

Query edit 01.png

 

Query edit 02.png

 

All I need to do is delete those new extra colurs and rename the column column I want to keep back to Colour

 

Query edit 03.png

 

When I  apply and refesh my data, that data I have been fixing now ends up in other columns. 

 

Query edit 04.png

 

 

 

 

 

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@steambucky ,

 

Could you share sample excel files as well for further test?

Capture.PNG 

 

Regards,

Jimmy Tao

@v-yuta-msft  Thanks! I have now upladed the excel files

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors