Azure Data factory - Reading nvarchar column from excel source xlsx in azure data factory but numeric data is not being read properly!!

Gandhikumar, Suganthi 31 Reputation points
2020-09-10T08:22:01.303+00:00

Column col1 has both numeric and character data so reading it as string in excel source(xlsx).

Excel data ex. col1 (General Format) DFSDF 23 12345678

Expecting to read the data as it is in azure data factory ,but its altering the numeric data and getting loaded in table as below

col1 DFSDF 23.0 1.2345678E7

Its adding an extra .0 at the end of numeric data and converting it to scientific notation if the numeric value is equal to or more than 8 digits.

I would like to read the raw data as it is available in excel file and then like to perform any conversion as required!!

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,584 questions
{count} votes

Accepted answer
  1. HarithaMaddi-MSFT 10,136 Reputation points
    2020-09-11T08:59:09.777+00:00

    Hi @Gandhikumar, Suganthi ,

    Thanks for sharing more details on the requirement. I discussed with Product team and there is an existing bug for which the fix is in pipeline and will be deployed soon. We are tracking the deployment item and will update you once deployed.

    Workaround can be to use copy activity initially to stage the data into a csv file and use this as a source in dataflow for further transformations. This will ensure that string stores the mixed values and shows the accurate result as in excel file.

    Hope this helps! Please let us know for further queries and we will be glad to assist.

    Thanks for your patience!


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.