Skip to content

Commit 5be20bd

Browse files
committed
Move compute section
1 parent c4e2ba7 commit 5be20bd

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

articles/iot-operations/connect-to-cloud/howto-create-dataflow.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,31 @@ To map the data to another field with optional conversion, you can use the `map`
636636

637637
In the operations experience, mapping is currently supported using **Compute**, **Rename**, and **New property** transforms.
638638

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.":::
646+
647+
1. Enter the required settings.
648+
649+
| Setting | Description |
650+
|--------------------|---------------------------------------------------------------------------------------------------|
651+
| 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+
639664
#### Rename
640665

641666
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
672697

673698
1. Select **Apply**.
674699

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.":::
682-
683-
1. Enter the required settings.
684-
685-
| Setting | Description |
686-
|--------------------|---------------------------------------------------------------------------------------------------|
687-
| 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-
700700
# [Bicep](#tab/bicep)
701701

702702
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

Comments
 (0)