Guitarmageddon
Board Regular
- Joined
- Dec 22, 2014
- Messages
- 161
Hello all,
When filtering out some rows of null values, then promoting all scalars in first row to headers, it is also taking my source name column, which I would like to retain for possible future use. Problem is, any time I refresh the query its looking for a source name (i.e. filename 8-8, filename 8-9, etc) and causing an error.
Can I "promote all scalars except one"
or....
Possibly, just nest a rename inside the same "promote all scalars" step which could rename column 0 to simply "source name"?
For example, here is where it is promoting all scalars
But then as soon as I refreshed with a later file date, it errors out on the prior date since that's what it was explicitly trying to find in the steps. In this case, I used the "8-9 TST" file as a test for tomorrow. I had originally intended "source name" to be used for the meta data column.
When filtering out some rows of null values, then promoting all scalars in first row to headers, it is also taking my source name column, which I would like to retain for possible future use. Problem is, any time I refresh the query its looking for a source name (i.e. filename 8-8, filename 8-9, etc) and causing an error.
Can I "promote all scalars except one"
or....
Possibly, just nest a rename inside the same "promote all scalars" step which could rename column 0 to simply "source name"?
For example, here is where it is promoting all scalars
But then as soon as I refreshed with a later file date, it errors out on the prior date since that's what it was explicitly trying to find in the steps. In this case, I used the "8-9 TST" file as a test for tomorrow. I had originally intended "source name" to be used for the meta data column.