0

What will be the steps and expression for derived column if the logic for populating the column is as below:

The data mapping is using data factory:

select c.ClaimID, pl. Related StoreNumber as StoreNumber from claim c
inner join ClaimToProviderToProviderToLocation ctptptl on ctptptl. ClaimID = c. ClaimID
inner join ProviderToProviderToLocation ptptl on ptptl. ProviderToProviderToLocationID = ctptptl. ProviderToProviderToLocationID
inner join ProviderLocation pl on pl. ProviderLocationID = ptptl. ProviderLocationID
Order by c. ClaimID desc

The data mapping is happening in between Source sql server to Azure Database using azure data factory.

I tried adding a data flow activity where i added three inner joins to get columns involved in the join. Then i added a derived column transformation, to finally add expression for StoreNumber,but i am unable to see columns from the first two tables/streams if i add derived column right after 3rd join.

1
  • What error you are facing? Commented Sep 16, 2023 at 6:32

1 Answer 1

0

After the join transformation, if you want to use any column in the next transformation, join will give the columns like below.

enter image description here

You need to give the column name in the derived column, and you can use any column as per your requirement from the column list from the previous join transformation.

enter image description here

Here, for sample I have used two joins and you can see I am able to use column from first source.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.