Calculated Column in Dataverse
📘 Calculated Column in Dataverse
A Calculated Column allows Dataverse to automatically compute a value based on other columns. The calculation runs on the server and updates only after the record is saved.
🛠️ Steps to Create a Calculated Column
- Open your table and click Add Column.
-
Enter the column name, data type, and scroll down to the
Column Behavior section.
👉 Change the behavior from Simple to Calculated. - Click Save. After saving, the Edit button becomes visible next to the column type.
- Click Edit - a popup window opens where you configure the calculation.
-
Inside the popup:
- Condition - Optional (you can skip this).
- Action - Add your formula here.
- Example: To calculate Unit Price × Total Sales:
- Select both columns in the action designer
- Apply multiplication logic
- Save and Publish
✔ Behavior
The calculated column value updates after saving the record. It does not update instantly on the form before save.
⚠️ Deprecation Notice
Microsoft has announced that Calculated Columns will be deprecated.
For new development, it is recommended to use Formula Columns (Power Fx) which offer:
✔ More flexibility
✔ Better performance
✔ Modern Power Fx formula support
Comments
Post a Comment