Forum

Notifications
Clear all

* on column name

3 Posts
2 Users
0 Reactions
70 Views
(@mitten222)
Posts: 10
Eminent Member
Topic starter
 

I have a PQ that collates multiple excel spreadsheets and cleans the data up for use.  There have been a couple of times where one of the column headers has an * at the end of the column name.  This blows up the query.  I know that PQ does not support wildcards, is there another solution to account for a column sometimes having a * so that I do not have to go into the file and delete it?

Thank you!

 
Posted : 28/06/2023 5:36 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Lisa,

I wonder if it's less about the asterisk and more about it simply having a different name than what Power Query is expecting. You could test it by placing a number or another letter at the end of the column name in place of the asterisk to see if it causes the same problem. If so, this tutorial may be of help.

Mynda

 
Posted : 28/06/2023 8:23 pm
(@mitten222)
Posts: 10
Eminent Member
Topic starter
 

Thank you so much, I will try that.  you are right, it is not the * but that the column is different.

 
Posted : 29/06/2023 10:29 am
Share: