Azure Data Factory - Data Flow - Concat Columns

Gabryel, Andrzej 166 Reputation points
2020-12-17T11:54:44.277+00:00

Hi,

I am trying to concatenate two string columns in Data Flow in Azure Data Factory. I am making sure I will not have any nulls using this expression in Derived Column
DerivedColumn
iif(isNull(LEASE_ID),'\n',LEASE_ID)+iif(isNull(LEASE_TYPE),'\n',LEASE_TYPE)

But I am still getting this error

Error

I have tried almost everything to concat these columns, but I am still getting error. I need to make sure it will work for all columns, as used columns will be defined by parameters.

Do you know what I can do?

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

Accepted answer
  1. MarkKromer-MSFT 5,226 Reputation points Microsoft Employee Moderator
    2020-12-17T19:18:13.73+00:00

    Try: iifNull(LEASE_ID,'\n',LEASE_ID)+iifNull(LEASE_TYPE,'\n',LEASE_TYPE)


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.