Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Derived Column Transformation | Datenflüsse und Transformationen in ADF
Einführung in die Datenverarbeitung mit Azure

Derived Column Transformation

Swipe um das Menü anzuzeigen

Derived columns allow you to enhance your data by creating new fields or modifying existing ones based on business logic. This functionality is vital for enriching your dataset to better serve downstream processes such as analytics, reporting, or machine learning.

Note
Definition

A Derived Column is a new data field generated within a data flow by applying transformations or expressions to existing data.

For instance, you might create a FullName field by concatenating first and last names or derive a DiscountedPrice based on an existing Price field and a discount rate.

How to Create Derived Columns in ADF

  1. Add a new Data Flow in the Author section of Azure Data Factory Studio;
  2. Drag a Derived Column Transformation from the toolbox onto the Data Flow canvas and connect it to your data source;
  3. In the Derived Column Transformation settings, define the column name for the new or modified field, such as DeathRate;
  4. Write an expression using ADF's expression language. For example, to calculate a death rate: iif(TotalDeaths > 0, (Covid19Deaths * 100.0) / TotalDeaths, 0.0);
  5. Validate the configuration by previewing the data to ensure the derived column is calculated correctly;
  6. Connect the transformed data to a Sink Transformation to send it to a destination, such as a SQL table or Blob Storage, for further processing.

You can learn more about ADF Expression Language using Official ADF Documentation

question mark

Which of the following is an example of using a Derived Column Transformation?

Wählen Sie die richtige Antwort aus

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 2

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

Derived Column Transformation

Derived columns allow you to enhance your data by creating new fields or modifying existing ones based on business logic. This functionality is vital for enriching your dataset to better serve downstream processes such as analytics, reporting, or machine learning.

Note
Definition

A Derived Column is a new data field generated within a data flow by applying transformations or expressions to existing data.

For instance, you might create a FullName field by concatenating first and last names or derive a DiscountedPrice based on an existing Price field and a discount rate.

How to Create Derived Columns in ADF

  1. Add a new Data Flow in the Author section of Azure Data Factory Studio;
  2. Drag a Derived Column Transformation from the toolbox onto the Data Flow canvas and connect it to your data source;
  3. In the Derived Column Transformation settings, define the column name for the new or modified field, such as DeathRate;
  4. Write an expression using ADF's expression language. For example, to calculate a death rate: iif(TotalDeaths > 0, (Covid19Deaths * 100.0) / TotalDeaths, 0.0);
  5. Validate the configuration by previewing the data to ensure the derived column is calculated correctly;
  6. Connect the transformed data to a Sink Transformation to send it to a destination, such as a SQL table or Blob Storage, for further processing.

You can learn more about ADF Expression Language using Official ADF Documentation

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 2
some-alt