I am currently building an app that allows an HR member add comments ont employee profiles.
Disclaimer: I am heavily new to PowerApps
The HR employee is greeted with a gallery list of all the employees who are under them. The HR person can click on the employee number on his row and access a detail page with a field that allows them to add comment. Each time a comment is added, a new row is added
example
| uniqueID | EmployeeID | HR Notes |
| 1234 | 101 | comment 1 |
| 1235 | 101 | comment 2 |
However, my gallery list seems to behave strangely. If I add an entry using the app, a second row with the same employeeID appears (which is what I want for testing purposes). However, if I close the app and open it again, I only see the first row. The second one is not there. When looking into the excel source file, the new rows with the comments are there.
What I want is to be able to sort this list and have multiple rows for the same employee in display.
Here is the code for the gallery list
GroupBy(
Filter(
Sort(
Excel_Table;
uniqueID;
Ascending
);
HRManagerID= HRID
);
"EmployeeID";
"uniqueID";
"Data"
)