create a data flow under ADF then add a JSON source
Add a Derived Column Transformation after
In the Derived Column Transformation, create four new columns with the following formulas:
- Region:
if(custom_checks[indexOf(custom_checks, {custom_type: 998})].Type_value, custom_checks[indexOf(custom_checks, {custom_type: 998})].Type_value, null)
- Vehicle:
if(custom_checks[indexOf(custom_checks, {custom_type: 4466})].Type_value, custom_checks[indexOf(custom_checks, {custom_type: 4466})].Type_value, null)
- Mobile:
if(custom_checks[indexOf(custom_checks, {custom_type: 3356})].Type_value, custom_checks[indexOf(custom_checks, {custom_type: 3356})].Type_value, null)
- SubRegion:
if(custom_checks[indexOf(custom_checks, {custom_type: 2311})].Type_value, custom_checks[indexOf(custom_checks, {custom_type: 2311})].Type_value, null)
Add a Sink to your Data Flow, connecting it to your SQL database table.
In the Sink settings, map the derived columns to the corresponding columns in your SQL table.