In this article, I will share some Compute expressions examples. As you know Compute expression is basically used to add additional fields, and these additional derived fields preparation formulas are very important for datasets building process.
Below are few very simple expressions to get started with compute expressions and understand different ways of building them.
Arithmetic operators: for creating Measure/Numeric fields
String operators: for creating Dimension/Text fields
Date functions: to create Date fields
Date Format examples: “yyyy-MM-dd”, “yyyy-MM-dd HH:mm:ss”
Nested Case Statements
Hope this collection of examples help you next time you are building Dataflow/Datasets.
Happy reading 🙂