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
3.Press F5, select the **Group** button, and then press Esc.
79
+
3.While holding down the Alt key, select the **Group** button.
80
80
81
81
You just created a collection, named **CitiesByCountry**, in which the records of the previous collection are grouped by the **Country** column.
82
82
@@ -93,7 +93,7 @@ A table is a value in PowerApps, just like a string or a number. You can specify
93
93
2. Set the **[OnSelect](../controls/properties-core.md)** property of this button to this formula:
94
94
95
95
**ClearCollect( CitiesByCountryFiltered, Filter( CitiesByCountry, "e" in Country ) )**
96
-
3.Press F5, select the button that you added, and then press Esc.
96
+
3.While holding down the Alt key, select the button that you added.
97
97
98
98
You just created a third collection, named **CitiesByCountryFiltered**, that includes only those countries that have an "e" in their names (that is, not Spain or Italy).
99
99
@@ -120,8 +120,13 @@ Something else we can do with a grouped table is to aggregate the results. In t
120
120

121
121
122
122
**[AddColumns](function-table-shaping.md)** starts with the base **CitiesByCountry** collection and adds a new column **Sum of City Populations**. This column's values are calculated row-by-row, based on the formula **Sum( Cities, Population )**. **AddColumns** provides the value of the **Cities** column (a table) for each row, and **[Sum](function-aggregates.md)** adds up the **Population** for each row of this sub table.
123
-
3. Now that we have the sum that we want, we can use **[DropColumns](function-table-shaping.md)** to remove the sub tables. Modify the **[OnSelect](../controls/properties-core.md)** property to use this formula:
124
-
123
+
124
+
Now that we have the sum that we want, we can use **[DropColumns](function-table-shaping.md)** to remove the sub tables.
125
+
126
+
3. Add another button, and set its **[Text](../controls/properties-core.md)** property so that the button shows **"SumOnly"**.
127
+
128
+
4. Set the **[OnSelect](../controls/properties-core.md)** property of the **"SumOnly"** button to this formula:
0 commit comments