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
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/add-data-connection.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ Your [next step](#next-steps) after this article is to display and manage data f
38
38
1. To create a new connection, search for or select a connector such as SharePoint.
39
39
1. Select **Add a connection** to both create the connection and add it to your app.
40
40
41
-
Some connectors, such as **Office 365 Outlook**, require no additional steps, and you can show data from them immediately. Other connectors prompt you to provide credentials, specify a particular set of data, or perform other steps. For example, [SharePoint](connections/connection-sharepoint-online.md) and [SQL Server](connections/connection-azure-sqldatabase.md) require additional information before you can use them. With [Dataverse](connections/connection-common-data-service.md), you can change the environment before you select a table.
41
+
Some connectors, such as **Office 365 Outlook**, require no additional steps, and you can show data from them immediately. Other connectors prompt you to provide credentials, specify a particular set of data, or perform other steps. For example, [SharePoint](connections/connection-sharepoint-online.md) and [SQL Server](connections/sql-connection-overview.md) require additional information before you can use them. With [Dataverse](connections/connection-common-data-service.md), you can change the environment before you select a table.
42
42
43
43
## Identify or change a data source
44
44
If you're updating an app, you might need to identify or change the source of data that appears in a gallery, a form, or another control. For example, you might need to identify a data source as you update an app that someone else created or that you created long ago.
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/ai-formulas-formulabar.md
+46-6Lines changed: 46 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Use Copilot to create and edit Power Fx formulas in Power Apps
3
3
description: Learn how to use Copilot, an AI feature in Power Apps, to create and edit Power Fx formulas in the formula bar from natural language or code comments.
4
4
author: warrenbryant-msft
5
5
ms.author: warrenbryant
6
-
ms.date: 10/21/2024
6
+
ms.date: 11/6/2024
7
7
ms.topic: conceptual
8
8
ms.reviewer: mkaur
9
9
ms.subservice: canvas-maker
@@ -25,6 +25,7 @@ ms.custom:
25
25
26
26
Copilot is an AI feature in Power Apps Studio that helps you create and modify Power Fx formulas quickly. You can use Copilot in the formula bar to explain Power Fx formulas in natural language or generate Power Fx formulas from natural language or code comments.
27
27
28
+
28
29
## Prerequisites
29
30
30
31
Copilot must be enabled for your environment and tenant. For more information, see [Enable or disable Copilot (preview) in Power Apps](ai-overview.md#disable-copilot-in-power-apps).
@@ -42,17 +43,17 @@ Use Copilot in the formula bar to understand what a formula is doing in plain la
42
43
43
44
1. Select a control and its corresponding property.
44
45
45
-
1. On the formula bar, select the **Copilot functionality menu** > **Explain this formula**.
46
+
1. On the formula bar, select the **Copilot functionality menu** > **Explain this formula**, or select a subset of a formula and then select the **Copilot functionality menu** > **Explain this Selection** to explain only that part.
46
47
47
-
:::image type="content" source="media/copilot/ufb-explain-copilot.png" alt-text="Screenshot of the Copilot functionality menu showing the Explain this formula item.":::
48
+
:::image type="content" source="media/copilot/ufb-copilot-dropdown.png" alt-text="Screenshot of the Copilot functionality menu showing the Explain this formula item.":::
48
49
49
-
Copilot provides an explanation of the formula that you can copy and insert as a code comment or share with other makers who are working on the same app.
50
+
Copilot provides an explanation of the formula that you can copy and insert as a code comment or share with other makers who are working on the same app. When explaining a selection, Copilot may also provide additional context if it is important for the explanation.
50
51
51
52
:::image type="content" source="media/copilot/ufb-explanation-copilot.png" alt-text="Screenshot of Copilot's explanation of a formula.":::
52
53
53
54
### Known limitations of explaining formulas
54
55
55
-
- The maximum length of a formula explanation is 5,000 characters.
56
+
- The maximum length for a formula explanation is 5,000 characters. If the formula exceeds this limit, use a partial explanation to ensure it works.
56
57
- Copilot only recognizes default properties in Power Apps.
- Code comments only work with general Power Fx functions, and not Power Apps-specific functions such as `Navigate()`.
90
93
- The advanced panel doesn't trigger suggestions.
91
94
- Existing formulas for the property aren't included in the suggestion.
92
95
93
96
97
+
## Create a formula (preview)
98
+
99
+
[This section is prerelease documentation and is subject to change.]
100
+
101
+
From the Copilot button in the formula bar, you can now generate a formula from natural language from a discrete request.
102
+
103
+
### Prerequisites
104
+
105
+
Before you can use Copilot to create a formula from a discrete request in your canvas app, you need to turn on **Copilot for formula** in the app settings in [Power Apps](https://make.powerapps.com/).
106
+
107
+
1. Open your [canvas app for editing](edit-app.md) in Power Apps Studio. On the command bar, select **Settings** > **Updates**.
108
+
1. On the **Preview** tab, find and turn on the **Copilot for formulas** setting.
109
+
110
+
### Use Copilot to create a formula from a discrete request
111
+
112
+
1. Select a control and its corresponding property.
113
+
114
+
1. On the formula bar, select the **Copilot functionality menu** > **Create a formula**.
115
+
116
+
:::image type="content" source="media/copilot/ufb-copilot-dropdown.png" alt-text="Screenshot of the Copilot functionality menu showing the Create a formula item.":::
117
+
118
+
The Copilot menu opens inline when the formula bar is expanded, or below the formula bar if it's collapsed.
119
+
120
+
1. In the Copilot text box, type your request, such as *show today's day of the week*.
121
+
122
+
:::image type="content" source="media/copilot/ufb-create-input.png" alt-text="Screenshot of the Ceate a Formula functionality showing a sample input.":::
123
+
124
+
1. Copilot will attempt to create a formula. Select **Accept** to insert the formula in the same position as the Copilot interface, or update and resumbit your request.
125
+
126
+
:::image type="content" source="media/copilot/ufb-create-formula.png" alt-text="Screenshot of the Ceate a Formula functionality showing recommended formula.":::
127
+
128
+
> [!NOTE]
129
+
> The same limitations apply for creating a formulas from a discrete request as [generating formulas from code comments](ai-formulas-formulabar.md#known-limitations-of-generating-formulas-from-code-comments).
130
+
131
+
132
+
94
133
## Responsible AI
95
134
96
135
Understand the choices you have when working with AI. Learn more in [FAQ about using AI responsibly in Power Apps](../common/responsible-ai-overview.md). Review the [Power Fx Copilot FAQ](../common/faqs-copilot-powerfx.md) for questions about this feature specifically.
@@ -101,7 +140,7 @@ The following table lists the languages available for the formula bar copilot fe
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/common-performance-issue-resolutions.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ Developer tools for most browsers allow you to profile memory. It helps you visu
106
106
107
107
## Performance considerations for the SQL Server connector
108
108
109
-
You can use the [SQL Server connector](connections/connection-azure-sqldatabase.md) for Power Apps to connect to SQL Server on-premises or Azure SQL Database. This section describes common performance-related problems and resolutions for using this connector for a canvas app. More information: [Connect to SQL Server from Power Apps](connections/connection-azure-sqldatabase.md)
109
+
You can use the [SQL Server connector](connections/sql-connection-overview.md) for Power Apps to connect to SQL Server on-premises or Azure SQL Database. This section describes common performance-related problems and resolutions for using this connector for a canvas app.
110
110
111
111
> [!NOTE]
112
112
> Though this section references the SQL Server connector for performance issues and resolutions, most of the recommendations also apply to using any database type—such as MySQL or PostgreSQL—as the data source.
0 commit comments