Skip to main content
Community site session details

Community site session details

Session Id : SSnie+mRP2ldqBRAtkyB0K
Power Apps - Building Power Apps
Suggested answer

Weird Collection update behavior. Data not populating in collection.

Like (1) ShareShare
ReportReport
Posted on 20 May 2025 19:53:34 by 151
I am trying to populate this collection based on the below formula. For some reason, a57_ceoflow comes back as blank whereas a57_ceo comes back with a displayname. Why would this not populate the a57_ceoflow column? Other fields are working fine, but for some weird reason a57_ceoflow  comes back blank.
 
ClearCollect( collect_ExistingRecord,
Table({   
            a57_amd_doc_id: recordID.AMDDOCID,
            a57_taxapprover: First(Filter('Environment Variable Values', 'Schema Name' = "a57_env_var_tax_approvers").Value).Value,

            a57_businessunitcontroller: ComboBox_BusinessUnitController.Selected.'Display Name',
            a57_businessunitcontrollerflow: ComboBox_BusinessUnitController.Selected.Mail,

            a57_businessunitcontrollerrec: ComboBox_RecBusinessUnitController.Selected.'Display Name',
            a57_businessunitcontrollerrecflow: ComboBox_RecBusinessUnitController.Selected.Mail,

            a57_costcentermanager: ComboBox_CostCenterManager.Selected.'Display Name',
            a57_costcentermanagerflow: ComboBox_CostCenterManager.Selected.Mail,

            a57_costcentermanagerrec: ComboBox_RecCostCenterManager.Selected.'Display Name',
            a57_costcentermanagerrecflow: ComboBox_RecCostCenterManager.Selected.Mail,

            a57_director: ComboBox_Director.Selected.'Display Name',
            a57_directorflow: ComboBox_Director.Selected.Mail,

            a57_generalmanager: ComboBox_GeneralManager.Selected.'Display Name',
            a57_generalmanagerflow: ComboBox_GeneralManager.Selected.Mail,

            a57_businessop: ComboBox_BusinessOp.Selected.'Display Name',
            a57_businessopflow: ComboBox_BusinessOp.Selected.Mail,

            a57_ceo: ComboBox_CEO.Selected.'Display Name',
            a57_ceoflow: ComboBox_CEO.Selected.Mail,

            a57_scrapapprover:  recordID.'Created By'.'Primary Email',

            a57_assetaccountingreviewer: First(Filter('Environment Variable Values', 'Schema Name' = "a57_env_var_asset_acct_reviewers").Value).Value,
            a57_assetaccountingsignoff: First(Filter('Environment Variable Values', 'Schema Name' = "a57_env_var_asset_acct_signoff").Value).Value,
            a57_serviceaccount: First(Filter('Environment Variable Values', 'Schema Name' = "a57_env_var_service_acct").Value).Value
            
        }))
 
 
 
 
 
  • WarrenBelz Profile Picture
    148,983 Most Valuable Professional on 01 Jun 2025 at 05:17:54
    Weird Collection update behavior. Data not populating in collection.
    There is no space in DisplayName​​​​​​ - assuming the Items of the Combo Box are based on Office365Users.SearchUser
    a57_ceo: ComboBox_CEO.Selected.DisplayName,
    a57_ceoflow: ComboBox_CEO.Selected.Mail,
     
     
  • ronaldwalcott Profile Picture
    3,825 Super User 2025 Season 2 on 01 Jun 2025 at 01:23:39
    Weird Collection update behavior. Data not populating in collection.
    Why are you populating a collection using controls?
  • ctrl_kudorje Profile Picture
    151 on 21 May 2025 at 15:27:21
    Weird Collection update behavior. Data not populating in collection.
    @Michael E. Gernaey: Yes i checked the Entra ID table and do see that the table has email listed. It seems the .Mail attribute doesn't get populated if the user doesn't select the combo box. But if the user does select it, then that mail attribute shows up and gets assigned to collection. else, its always blank.
  • Suggested answer
    Michael E. Gernaey Profile Picture
    45,703 Super User 2025 Season 2 on 20 May 2025 at 22:53:41
    Weird Collection update behavior. Data not populating in collection.
     
    The first question I would ask myself is, does the selected user have a Mail value.
     
    Logistically its not going to pass back blank if there is a value and you are only adding a single user.
     
    So add a Label on the screen.
    Set its value to Selected.Mail and see what you get
     
    If its Blank that is why
     
    Then ask yourself where you are getting Mail from and why that is giving you blank.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete