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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.