Forum Discussion
Combining Columns
Here is what error I get:
Here is the updated one:
= Table.AddColumn(#"Changed Type6", "PMSearchData", each [PMNUM]&" , "&[DESCRIPTION]&" , "&[JPNUM]&" , "&[USEFREQUENCY]&" , "&[FEQUNIT]&" , "&[ROUTE])
I have no issues if I do just 3 items. In this case, I added three more fields and I received the error. Not sure if it has to do with numbers and/or null values now, maybe it's more tied to the number of columns I'm trying to pull in versus what is in the column?
According to your initial information, I would expect that your code would look like:
= Table.AddColumn(#"Changed Type6", "PMSearchData", each Text.From([PMNUM])&" , "&Text.From([DESCRIPTION])&" , "&Text.From([JPNUM])&" , "&Text.From([USEFREQUENCY])&" , "&Text.From([FEQUNIT])&" , "&Text.From([ROUTE]))
- New2PowerBI9 years agoHelper III
Thanks! I've been looking at this so long that I missed the obvious! :-)
I corrected and now I get a different error. See attached.
- MarcelBeug9 years agoCommunity Champion
Well, the message looks quite obvious: you are refering to a field [FEQUNIT} that doesn't exist.
Just verify and correct the field name.
Note: PowerQuery is case sensitive, e.g. "FEQUNIT" is not "FeqUnit".