Forum Discussion
Error occurred in appending a SQL table with an excel file
- 3 years ago
Hi all,
I found the cause. That is because of some human errors in the data preparation steps I have made for the Excel data source.
I made one silly mistake by defining "YYYYMM" in the Excel source, while the original table's column is "YYYY MMM". I just changed the Excel source's custom column from showing "YYYYMM" to "YYYY MMM", and then everything works.
So, I think this error can be caused by data format inconsistency, when you have used FIND() in DAX (specifically, you can search for " " in "2022 Jan", but not in "202201". This is what I observed.).Hope anyone who encountered the same problem and read this post can be assisted.
Hi all,
I found the cause. That is because of some human errors in the data preparation steps I have made for the Excel data source.
I made one silly mistake by defining "YYYYMM" in the Excel source, while the original table's column is "YYYY MMM". I just changed the Excel source's custom column from showing "YYYYMM" to "YYYY MMM", and then everything works.
So, I think this error can be caused by data format inconsistency, when you have used FIND() in DAX (specifically, you can search for " " in "2022 Jan", but not in "202201". This is what I observed.).
Hope anyone who encountered the same problem and read this post can be assisted.