This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
I am using Copy Activity in Azure Data Factory in which I am using REST API for getting the Response from the API I am getting an array contain multiple dictionaries. I wanted to Store the Response as a Raw Format in the SQL Table but In the Mapping I am getting the Individual to be connected with a single Table How Can I store the Response of the API in a Single Row as a JSON Format
Above is attached JSON Prasing I am getting.
@azuredatafactory @copyactivity
Could you please explain what to do in mapping
Hi @Shayan12378 ,
Have you tried enabling the checkbox "Map complex values to string"
Thanks,
Srisakthi
Yes
@Srisakthi With the Below Mapping
It is not writting any data in my SQL Table Field
Hi @Shayan12378 ,
Consider this example, I have my json like this format and i want to store orders entire json into one of my column in my sql db table.
under mapping section of ADF, click on import schemas, select "Map complex values as string" and then if you see orders json come as array and then select column name to store. Exclude other columns
sometime it takes time to refresh the arrays properly
You can also check this link for reference https://sarnendude.com/azure-data-factory-copy-activity-how-to-save-json-data-as-string-in-azure-syn...
Regards,
Srisakthi
It is help me to store a part of my response. Like you are saving the Order part from the whole response but I wanted to save whole response in a Single Column
Hi @Shayan12378 ,
I have tried with data flow as well but no luck. Other option is store the API response in json file(ADLS) and use OPENROWSET BULK
Also you can raise support ticket with Microsoft , may be they can give direction on achieving this scenario.
Regards,
Srisakthi
Hi @Shayan12378
Thank you for reaching out to the Microsoft Fabric Forum Community.
@Shayan12378 As suggested by Super User, have you raised a support ticket? If so, please share your details here. If not, please raise one here. Create a Fabric and Power BI Support Ticket - Power BI | Microsoft Learn.
If you have any other issues, please reach community.
Thanks.
Sure
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 5 | |
| 5 |
| User | Count |
|---|---|
| 30 | |
| 17 | |
| 12 | |
| 10 | |
| 6 |