Skip to content

Commit 4274636

Browse files
Live publish for 22 May 2024.
2 parents 7573dea + d3a079b commit 4274636

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

powerapps-docs/maker/data-platform/define-calculated-fields.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Define calculated columns in Power Apps | MicrosoftDocs"
33
description: "Learn how to define calculated columns"
4-
ms.date: 01/19/2023
4+
ms.date: 05/22/2024
55
ms.topic: "how-to"
66
applies_to:
77
- "Dynamics 365 (online)"
@@ -208,15 +208,20 @@ You should be aware of certain conditions and limitations when working with calc
208208
- Sorting is disabled on:
209209
- A calculated column that contains a column of a parent row.
210210
- A calculated column that contains a logical column (for example, address column)
211-
- A calculated column that contains another calculated column.
211+
- A calculated column that contains another calculated column.
212+
- A calculated column that contains `Now()` function.
212213
- Calculated columns can span two tables only.
213214
- A calculated column can contain a column from another table (spanning two tables – current table and parent row).
214215
- A calculated column can't contain a calculated column from another table that also contains another column from a different table (spanning three tables):
215216
(Current table) Calculated Column ← (Parent Row) Calculated Column 1 ← (Parent Row) Calculated Column 2.
216217
- You can't trigger workflows or plug-ins on calculated columns.
217218
- You can't change an existing simple column to a calculated column. If your current application is using JavaScript or plug-ins to calculate a column, you wouldn't be able to use the calculated columns feature without creating a new column.
218219
- Duplicate detection rules aren't triggered on calculated columns.
219-
- A rollup can't reference a calculated column that uses another calculated column, even if all the columns of the other calculated column are on the current table.
220+
- A rollup can't reference a calculated column that uses another calculated column, even if all the columns of the other calculated column are on the current table.
221+
- When a currency calculated column depends on a related table's currency column, the system performs calculations using corresponding base currency column values. This is because exchange rate values and currency values can vary between different table records. For example, consider a calculated column - `Account Revenue` on the `Opportunity` table, and consider `Account Revenue` has a dependency on the `Annual Revenue` currency column on the `Account` table, then `Account Revenue` is calculated as described here:
222+
223+
`'Account Revenue' = ['Annual Revenue (Base)' * 'Exchange Rate on Opportunity table record']` or
224+
`'Account Revenue' = [('Annual Revenue' / 'Exchange Rate on Account table record') * 'Exchange Rate on Opportunity table record']`
220225

221226
### See also
222227

0 commit comments

Comments
 (0)