Table of Contents

Search

  1. Preface
  2. Transformations
  3. Source transformation
  4. Target transformation
  5. Access Policy transformation
  6. Aggregator transformation
  7. B2B transformation
  8. Cleanse transformation
  9. Data Masking transformation
  10. Data Services transformation
  11. Deduplicate transformation
  12. Expression transformation
  13. Filter transformation
  14. Hierarchy Builder transformation
  15. Hierarchy Parser transformation
  16. Hierarchy Processor transformation
  17. Input transformation
  18. Java transformation
  19. Java transformation API reference
  20. Joiner transformation
  21. Labeler transformation
  22. Lookup transformation
  23. Machine Learning transformation
  24. Mapplet transformation
  25. Normalizer transformation
  26. Output transformation
  27. Parse transformation
  28. Python transformation
  29. Rank transformation
  30. Router transformation
  31. Rule Specification transformation
  32. Sequence transformation
  33. Sorter transformation
  34. SQL transformation
  35. Structure Parser transformation
  36. Transaction Control transformation
  37. Union transformation
  38. Velocity transformation
  39. Verifier transformation
  40. Web Services transformation

Transformations

Transformations

Variable fields

Variable fields

A variable field defines calculations and stores data temporarily. You can use variable fields in the Expression and Aggregator transformations.
You might use variables to perform the following tasks:
  • Temporarily store data.
  • Simplify complex expressions.
  • Store values from prior rows.
  • Compare values.
For example, you want to generate a mailing list by concatenating first and last names, and then merging the name with the address data. To do this, you might create a variable field, FullName, that concatenates the First and Last fields. Then, you create an expression field, NameAddress, to concatenate the FullName variable field with the Address field.
The results of a variable field does not pass to the data flow. To use data from a variable field in the data flow, create an expression field for the variable field output. In the preceding example, to pass the concatenated first and last name to the data flow, create a FullName_out expression field. And then, use the FullName variable field as the expression for the field.

0 COMMENTS

We’d like to hear from you!
Alessio Giordani - March 26, 2024

Hello documentation team,

can you please add to the description that in Advance DI mode, variables cannot be used to store values from prior rows?

In advanced mode to compare the current row with the previous row for stateful computation, you can use the window function in the expression 

https://docs.informatica.com/integration-cloud/data-integration/current-version/transformations/expression-transformation/window-functions.html

Regards,

Alessio

     

    Informatica Documentation Team - March 26, 2024

    Hi Alessio Giordani,

    Thanks for bringing this to our attention! We're working on this issue and will update the documentation in a future release.