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
The currency, whole number, and choice (formerly option sets) data types aren't currently supported.
144
+
The currency, and choice (formerly option sets) data types aren't currently supported.
143
145
144
146
## Function types
145
147
@@ -367,6 +369,36 @@ You can use the following scalar functions in a formula column:
367
369
|---------|---------|
368
370
|Retrieve a date value. |`DateAdd(UTCNow(),-1,TimeUnit.Years)`|
369
371
372
+
## Create a decimal formula column
373
+
374
+
Create a formula column that returns a decimal number.
375
+
376
+
1. When you create a column, enter the following information:
377
+
- A **Display name** for the column.
378
+
- Optionally, enter a **Description** of the column.
379
+
1. For **Data type** select ***fx* Formula**.
380
+
1. Enter a formula that returns a numeric value in the **Formula** bar.
381
+
This example creates a formula column called *Total Amount*. The *Price Per Unit* column is of decimal data type.
382
+
:::image type="content" source="media/formula-columns-decimal-fd.png" alt-text="Screenshot of a create a new formula column pane for use with a decimal number.":::
383
+
1. Expand **Advanced options**, select **Decimal** as the **Formula data type**, and then set the required number of decimal places.
384
+
:::image type="content" source="media/formula-columns-decimal-adv-options.png" alt-text="Screenshot of a decimal formula column definition.":::
385
+
1. Select **Save**.
386
+
387
+
## Create a whole number formula column
388
+
389
+
Create a formula column that returns a whole number.
390
+
391
+
1. When you create a column, enter the following information:
392
+
- A **Display name** for the column.
393
+
- Optionally, enter a **Description** of the column.
394
+
1. For **Data type** select ***fx* Formula**.
395
+
1. Enter a formula that returns a numeric value in the **Formula** bar.
396
+
This example creates a formula column called *Number of Units*. *Total Price* and *Price Per Unit* columns are of decimal data type.
397
+
:::image type="content" source="media/formula-columns-wholenum-fd.png" alt-text="Screenshot of a create a new formula column pane for use with a whole number..":::
398
+
1. Expand **Advanced options**, and select **Whole number** as the **Formula data type** and set the required format for whole number column.
399
+
:::image type="content" source="media/formula-columns-wholenum-adv-options.png" alt-text="Screenshot of a whole number formula column definition.":::
400
+
1. Select **Save**.
401
+
370
402
## Guidelines and limitations
371
403
372
404
This section describes guidelines and the known limitations with formula columns in Dataverse.
@@ -442,6 +474,8 @@ This section describes guidelines and the known limitations with formula columns
442
474
- Duplicate detection rules aren't triggered on formula columns.
443
475
- The `Now` function can be used with formula columns. `Now()` has user local behavior and `UTCNow()` has time zone independent behavior.
444
476
- You can set the precision property for decimal columns.
477
+
- Default formula data type value is set to **Decimal** for numeric value returning formulas.
478
+
- Updating whole number formula column's format isn't supported.
445
479
446
480
### Power Fx functions not currently supported
447
481
@@ -453,7 +487,6 @@ This section describes guidelines and the known limitations with formula columns
453
487
454
488
### Formula columns of data types that can't be produced
0 commit comments