Skip to content

Commit c9aabb4

Browse files
committed
Revised for style
1 parent 3e52eef commit c9aabb4

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

powerapps-docs/maker/data-platform/formula-column-data-types.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Create a formula column that returns a decimal number.
4141
:::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 using 'Price Per Unit' * 150.":::
4242
1. Expand **Advanced options**, and then set the required number of decimal places.
4343
:::image type="content" source="media/formula-columns-decimal-adv-options.png" alt-text="Screenshot of a decimal formula column definition.":::
44-
1. Select **Save**. By default, **Formula data type** is set to Decimal and a Decimal formula field gets created.
44+
1. Select **Save**. By default, **Formula data type** is set to **Decimal** and a decimal formula field is created.
4545

4646
## Create a whole number formula column
4747

@@ -50,7 +50,7 @@ Create a formula column that returns a whole number.
5050
1. Select **Data type** as ***fx* Formula**.
5151
1. Enter a formula that returns a numeric value in the **Formula** bar.
5252
This example creates a formula column called *Number of Units*. *Total Price* and *Price Per Unit* columns are of decimal data type.
53-
:::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..":::
53+
:::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.":::
5454
1. Expand **Advanced options**, and select **Whole number** as the **Formula data type** and set the required format for whole number column.
5555
:::image type="content" source="media/formula-columns-wholenum-adv-options.png" alt-text="Screenshot of a whole number formula column definition using 'Total Price' / 'Price Per Unit'.":::
5656
1. Select **Save**.
@@ -61,7 +61,7 @@ Create a formula column that returns float.
6161

6262
1. Select **Data type** as ***fx* Formula**.
6363
1. Enter a formula that returns a floating point number in the **Formula** bar.
64-
Enter a formula that returns a floating point number in the Formula bar. This example creates a formula column called Total Price. Weight is a simple float column and Price Per Gm is a simple decimal column.
64+
Enter a formula that returns a floating point number in the **Formula** bar. This example creates a formula column called *Total Price*. *Weight* is a simple float column and *Price Per Gm* is a simple decimal column.
6565
:::image type="content" source="media/formula-columns-float-fd.png" alt-text="Screenshot of a creating float formula column":::
6666
1. Expand **Advanced options**, and set the required number of decimal places.
6767
1. Select **Save**.
@@ -79,11 +79,12 @@ Enter a formula that returns a floating point number in the Formula bar. This ex
7979
To create a choice formula column, either global choice or local choice of a simple choice column can be used as result.
8080

8181
### Using global choice
82+
8283
Create a global choice. This example creates a global choice called *Task Priority*.
8384

84-
:::image type="content" source="media/global-choice-def.png" alt-text="Screenshot of a global choice.":::
85-
86-
Create a formula column that returns choice using a global choice.
85+
:::image type="content" source="media/global-choice-def.png" alt-text="Screenshot of a global choice.":::
86+
87+
Create a formula column that returns a choice using a global choice.
8788

8889
1. Select **Data type** as ***fx* Formula**.
8990
1. Enter a formula that returns a choice value in the **Formula** bar.
@@ -92,24 +93,26 @@ Create a formula column that returns choice using a global choice.
9293
1. Select **Save**. Notice that the column created is of data type **Choice fx**.
9394

9495
### Using local choice from a simple choice column
95-
1. Create a simple choice column. This example creates a *Task Priority* simple choice column on *Account* entity.
96-
97-
:::image type="content" source="media/local-choice-def.png" alt-text="Screenshot of a creating a simple choice column.":::
96+
97+
Create a simple choice column. This example creates a *Task Priority* simple choice column for the account table.
98+
99+
:::image type="content" source="media/local-choice-def.png" alt-text="Screenshot of a creating a simple choice column.":::
98100

99101
Create a formula column that returns choice using a local choice of a simple choice column.
100102

101103
1. Select **Data type** as ***fx* Formula**.
102104
1. Enter a formula that returns a choice value in the **Formula** bar.
103-
This example creates a formula column *Priority* on *Account* entity using local choice of a choice column *Task Priority* on *Account* entity.
105+
This example creates a formula column *Priority* on *Account* entity using local choice of a choice column *Task Priority* for the account table.
104106
:::image type="content" source="media/formula-columns-local-choice-fd.png" alt-text="Screenshot of a creating local choice formula column.":::
105107
1. Select **Save**.
106108

107109
### Guidelines for working with choices in formula columns
108-
1. Local choices of related table's simple choice column cannot be used as result type in formula columns.
109-
2. Options from same option set should be used for all result arguments in choice formula columns.
110-
3. A choice used by a formula column cannot be updated.
111-
4. Options of a choice cannot be passed as an argument to string functions. Value function can be used to return numeric value of an option.
112-
5. Formula column's dependent local choice column or global choice cannot be deleted.
110+
111+
- Local choices of related table's simple choice column can't be used as a result type in formula columns.
112+
- Options from the same option set should be used for all result arguments in choice formula columns.
113+
- A choice used by a formula column can't be updated.
114+
- Options of a choice can't be passed as an argument to string functions. Value function can be used to return the numeric value of an option.
115+
- Formula column's dependent local choice column or global choice can't be deleted.
113116

114117
## See also
115118

0 commit comments

Comments
 (0)