Am confused by GroupBys in PowerApps.
We are trying to create a simple GroupBy in a gallery. The source data is in a collection called ECollection and it has a number of fields/columns in it:
CustomerId,
LocationId,
PRM_Asset_Id,
EID,
Service_Call_ID,
LocationName,
CustomerName,
Branch,
LocationStatus,
Manufacturer_ID,
EType,
Model_Number,
Serial_Number,
Expiration,
Install_Date,
Location,
Bar_Code,
Optimal,
RType,
AssetId,
Verified,
ManufactureDate,
Size,
Installed_By,
Description,
MDFUSRID,
Timestamp
We have a gallery and we just want to display only two fields in the gallery:
the EType and the count of the items for each EType.
EType Count
A 7
B 3
D 16
What is the simpliest way for us to do this ? Can a Gallery have a group by statement in the "Items" property, or is it best to perform the GroupBy on a new collection from the ECollection ?
And what would the forumla be?
Thank you