Forum Discussion
Expression.Error when Pivoting Colum
- Anonymous5 years ago
I believe there was a file that had been appending with the original query that was causing the problem. This additional file did not necessarily have columns that aligned fully with the original query, so there may have been more than one data type in at least one of the columns I was handling.
Once I removed this problem file from the source in the query, the pivot column worked like it should. The files do not necessarily need to be in one query; just thought it would be convenient.
I believe there was a file that had been appending with the original query that was causing the problem. This additional file did not necessarily have columns that aligned fully with the original query, so there may have been more than one data type in at least one of the columns I was handling.
Once I removed this problem file from the source in the query, the pivot column worked like it should. The files do not necessarily need to be in one query; just thought it would be convenient.