|
1 | 1 | ---
|
2 | 2 | title: "Define calculated columns in Power Apps | MicrosoftDocs"
|
3 | 3 | description: "Learn how to define calculated columns"
|
4 |
| -ms.date: 01/19/2023 |
| 4 | +ms.date: 05/22/2024 |
5 | 5 | ms.topic: "how-to"
|
6 | 6 | applies_to:
|
7 | 7 | - "Dynamics 365 (online)"
|
@@ -208,15 +208,20 @@ You should be aware of certain conditions and limitations when working with calc
|
208 | 208 | - Sorting is disabled on:
|
209 | 209 | - A calculated column that contains a column of a parent row.
|
210 | 210 | - 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. |
212 | 213 | - Calculated columns can span two tables only.
|
213 | 214 | - A calculated column can contain a column from another table (spanning two tables – current table and parent row).
|
214 | 215 | - A calculated column can't contain a calculated column from another table that also contains another column from a different table (spanning three tables):
|
215 | 216 | (Current table) Calculated Column ← (Parent Row) Calculated Column 1 ← (Parent Row) Calculated Column 2.
|
216 | 217 | - You can't trigger workflows or plug-ins on calculated columns.
|
217 | 218 | - 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.
|
218 | 219 | - 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']` |
220 | 225 |
|
221 | 226 | ### See also
|
222 | 227 |
|
|
0 commit comments