Hello,
A co-worker has presented me with a fairly unique ask, and I wasn't sure if there is a PowerQuery solution or not. As such, I figured its best to ask the guru.
I have two lists, one with names like:
unit *
system *
limit *
range *
The other list has values like
ABC
DEF
GHI
JKL
What I would like to try and do is replace the wildcard symbol in the first list with the entire second list. If done correctly, the output would be:
unit ABC
unit DEF
unit GHI
unit JKL
system ABC
system DEF
system GHI
system JKL
limit ABC
limit DEF
limit GHI
limit JKL
range ABC
range DEF
range GHI
range JKL
Does anyone know of a way to do this in PQ? My first instinct was to use Replace Values, but this wont allow a list to be input as the Replace With field. I figured Merge Queries would be helpful too, but although it seems like there should be some way to use this, I can't really think of one. I'm sure there must be an M solution. Any help is appreciated.
Thanks,
Brendan
A co-worker has presented me with a fairly unique ask, and I wasn't sure if there is a PowerQuery solution or not. As such, I figured its best to ask the guru.
I have two lists, one with names like:
unit *
system *
limit *
range *
The other list has values like
ABC
DEF
GHI
JKL
What I would like to try and do is replace the wildcard symbol in the first list with the entire second list. If done correctly, the output would be:
unit ABC
unit DEF
unit GHI
unit JKL
system ABC
system DEF
system GHI
system JKL
limit ABC
limit DEF
limit GHI
limit JKL
range ABC
range DEF
range GHI
range JKL
Does anyone know of a way to do this in PQ? My first instinct was to use Replace Values, but this wont allow a list to be input as the Replace With field. I figured Merge Queries would be helpful too, but although it seems like there should be some way to use this, I can't really think of one. I'm sure there must be an M solution. Any help is appreciated.
Thanks,
Brendan