Hi All,
Here is my scenario. I have PowerApps connected office365Users connector.
I have fetch all persons details reporting to a person to a collection called "centralheadlist". "centralheadlist" is successfully imported to gallery as well .
Now I have one more gallery . where I want to display all records belongs to first record of centralheadlist. Mail . Similarly I want data in same gallery from 2nd record , 3rd and so on . My gallery should change data as per my dropdown selection which has items from centralheadlist. Mail. Please help.
step 1. centralheadlist : ClearCollect(centralheadlist, Filter(Office365Users.DirectReports(If ("Head" in Office365Users.UserProfile(VarUserEmail).JobTitle,VarUserEmail,"You don't have any Delivery Head Under your Org")),"Delivery Head" in Job Title));
step2: ClearCollect(TestDataLM,{Gallery_Table:ForAll(centralheadlist. Mail,(Office365Users.DirectReports(Mail)))})
step3: dropdown: items=centralheadlist. Mail
how to make gallery to display data as per selection on dropdown and get relevant data from step2.
Aggregation nested collection Re: Create Nested Collections