You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-operations/connect-to-cloud/howto-create-dataflow.md
+25-25Lines changed: 25 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -636,6 +636,31 @@ To map the data to another field with optional conversion, you can use the `map`
636
636
637
637
In the operations experience, mapping is currently supported using **Compute**, **Rename**, and **New property** transforms.
638
638
639
+
#### Compute
640
+
641
+
You can use the **Compute** transform to apply a formula to the source data. This operation is used to apply a formula to the source data and store the result field.
642
+
643
+
1. Under **Transform (optional)**, select **Compute** > **Add**.
644
+
645
+
:::image type="content" source="media/howto-create-dataflow/dataflow-compute.png" alt-text="Screenshot using operations experience to add a compute transform.":::
| Select formula | Choose an existing formula from the dropdown or select **Custom** to enter a formula manually. |
652
+
| Output | Specify the output display name for the result. |
653
+
| Formula | Enter the formula to be applied to the source data. |
654
+
| Description | Provide a description for the transformation. |
655
+
| Last known value | Optionally, use the last known value if the current value isn't available. |
656
+
657
+
658
+
You can enter or edit a formula in the **Formula** field. The formula can use the fields in the source data. Type `@` or select **Ctrl + Space** to select datapoints from a dropdown. You can also enter $metadata headers using the format `@$metadata.<header>`.
659
+
660
+
The formula can use the fields in the source data. For example, you could use the `temperature` field in the source data to convert the temperature to Celsius and store it in the `temperatureCelsius` output field.
661
+
662
+
1. Select **Apply**.
663
+
639
664
#### Rename
640
665
641
666
You can rename a datapoint using the **Rename** transform. This operation is used to rename a datapoint in the source data to a new name. The new name can be used in the subsequent stages of the dataflow.
@@ -672,31 +697,6 @@ You can add a new property to the source data using the **New property** transfo
672
697
673
698
1. Select **Apply**.
674
699
675
-
#### Compute
676
-
677
-
You can use the **Compute** transform to apply a formula to the source data. This operation is used to apply a formula to the source data and store the result field.
678
-
679
-
1. Under **Transform (optional)**, select **Compute** > **Add**.
680
-
681
-
:::image type="content" source="media/howto-create-dataflow/dataflow-compute.png" alt-text="Screenshot using operations experience to add a compute transform.":::
| Select formula | Choose an existing formula from the dropdown or select **Custom** to enter a formula manually. |
688
-
| Output | Specify the output display name for the result. |
689
-
| Formula | Enter the formula to be applied to the source data. |
690
-
| Description | Provide a description for the transformation. |
691
-
| Last known value | Optionally, use the last known value if the current value isn't available. |
692
-
693
-
694
-
You can enter or edit a formula in the **Formula** field. The formula can use the fields in the source data. Type `@` or select **Ctrl + Space** to select datapoints from a dropdown. You can also enter $metadata headers using the format `@$metadata.<header>`.
695
-
696
-
The formula can use the fields in the source data. For example, you could use the `temperature` field in the source data to convert the temperature to Celsius and store it in the `temperatureCelsius` output field.
697
-
698
-
1. Select **Apply**.
699
-
700
700
# [Bicep](#tab/bicep)
701
701
702
702
For example, you could use the `temperature` field in the source data to convert the temperature to Celsius and store it in the `temperatureCelsius` field. You could also enrich the source data with the `location` field from the contextualization dataset:
0 commit comments