Is there a way I could create a collection within a collection? For example:
ClearCollect(
myReports,
Filter(
Office365Users.DirectReports(_varMyEmail),
AccountEnabled = true
)
);
It should give me all email directly reporting to me. But if my manager is viewing the app, she should see everyone directly reporting to her including staff directly reporting to each of her staff.
So if my staff Employee 1 & 2 are both managers with 5 staff each. When I view the app, the gallery should display Employee 1 & 2 + 10 staff.