Maintaining Data Integrity while Converting Excel Table to JSON Using ADF Copy Activity

Tulsi K 20 Reputation points
2024-02-26T08:11:39.3833333+00:00

Hi, I'm currently working with an Excel file that contains data similar to the table shown in the attached screenshot. User's image

I'm using Azure Data Factory's copy activity with dynamic column mapping to transform this table into JSON format. However, when I inspect the JSON output, I notice that I'm missing the Euro symbol and commas.

The output is like below.

{"test":"0","project":"-23736751.93"} {"test":"0","project":"20326198"}

Kindly assist how can I copy the data exactly.

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

Accepted answer
  1. AnnuKumari-MSFT 34,556 Reputation points Microsoft Employee Moderator
    2024-02-26T14:56:57.28+00:00

    Hi Khimlal, Tulsi , Welcome to Microsoft Q&A platform and thanks for posting your query here. From the description of your query, it seems you are trying to excel data from csv format to json using copy activity of ADF pipeline. However, the output is not coming as expected as it's missing the Euro symbols. I tried to repro your scenario from my end , however, I didn't face the same issue. The special character(Euro) as well as the comma are preserved in the output json file. As suggested above , kindly make sure the source file contains Euro symbol in the excel or not. Additionally, in the mapping tab of copy activity, ensure that no mapping is done and leave it as blank , ADF will do the auto-mapping. Hope it helps. Kindlly accept the answer by clicking on Accept answer button. In case you are still facing the same issue, then kindly share screenshot of copy activity configuration and mapping. Thankyou

    1 person found this answer helpful.

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.