r/ExcelPowerQuery • u/Autistic_Jimmy2251 • Jun 21 '25
Adding data to serial numbers in existing data?
I have a data set I want to pull into PQ.
Every time it encounters a specific serial number such xxx I need it to add 1.1.3 or if if finds zxz I need 6.2.4, etc.
Do I need to add this before trying it in PQ or can PQ handle this?
2
Upvotes
4
u/geggleau Jun 21 '25
I would pull it in as is, then modify the query by either:
Adding replace value steps if there's only a very few values that need to change (say 1 to 5 values)
Adding a conditional column with the new values if there's a small number (say 10 or so)
Creating a separate table with replacement values and use a left outer join to build the new value
It really depends on how many values and how reusable you want the powerquery to be.