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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
geblerj
Frequent Visitor

PowerBI altering data in custom column

I've loaded in a dataset from postgres, and I've created a custom column in Power Query, let's call it id, that concatenates two of the table's columns with a hyphen (let's call them employee_id and last_name). After applying these changes, there is one row in my dataset where, in the composite 'id' column, it has mutated the employee_id part for some reason, but the data in the employee_id column itself has remained unchanged. EG, if the employee_id is '123ABC' in the database and the last name is 'Johnson', then the row in question will show the employee_id as '123ABC' but the id will be 'Johnson-123ABc', with the 'c' now lowercase for some reason (the correct id should be 'Johnson-123ABC'). The only Applied Steps that I've taken in the Power Query Editor for this dataset are importing the data and adding the custom column.

I'm wondering why this behavior is happening. As far as I know, it is only happening to one row in the dataset.

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

@geblerj 

 

Impossible to say without seeing your data and code.

 

Try using Text.Upper(employee_id) in your step that joins the 2 columns to get around the issue.

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

2 REPLIES 2
PhilipTreacy
Super User
Super User

@geblerj 

 

Impossible to say without seeing your data and code.

 

Try using Text.Upper(employee_id) in your step that joins the 2 columns to get around the issue.

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


That worked, thank you!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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