Skip to content

Commit caca07e

Browse files
authored
Merge pull request #1402 from MicrosoftDocs/gregli-choices
Update function-choices.md
2 parents 19acfb3 + 49e0d6c commit caca07e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

powerapps-docs/maker/canvas-apps/functions/function-choices.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,21 +77,20 @@ At this time, you can use lookup columns only with SharePoint and Common Data Se
7777

7878
8. In the card for **Primary Contact**, select the **Combo box** control.
7979

80-
The **Items** property of that control is set to one of two formulas based on the state of the **Use column display names** check box in advanced settings.
80+
The **Items** property of that control is set to a formula that identifies the column by either its display name, as in the first example, or its logical name, as in the second example:
8181

82-
- If the check box is selected, the property is set to this formula:<br>**Choices( Accounts.'Primary Contact' )**
83-
- If the check box is cleared, the property is set to this formula:<br>**Choices( Accounts.primarycontactid )**
82+
- **Choices( Accounts.'Primary Contact' )**
83+
- **Choices( Accounts.primarycontactid )**
8484

8585
![A canvas screen with a form control. The **Combo box** control within the **Primary Contact** card is selected, and the Items property with the formula Choices( Accounts.'Primary Contact' ) appears](media/function-choices/accounts-primary-contact.png)
8686

8787
9. On the **Home** tab, select **New screen**, and then select **Blank**.
8888

8989
10. On the **Insert** tab, select **Data table**.
9090

91-
11. Set the **Items** property of the **Data table** control to one of these formulas:
91+
11. Set the **Items** property of the **Data table** control to this formula:
9292

93-
- If the **Use column display names** check box in advanced settings is selected, use this formula:<br>**Choices( Accounts.'Primary Contact' )**
94-
- Otherwise, use this formula:<br>**Choices( Accounts.primarycontactid )**
93+
**Choices( Accounts.'Primary Contact' )**
9594

9695
12. Open the **Data** pane, and then select the check boxes for **firstname**, **lastname**, or any other field that you want to show.
9796

0 commit comments

Comments
 (0)