web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Weird Collection updat...
Power Apps
Unanswered

Weird Collection update behavior. Data not populating in collection.

(1) ShareShare
ReportReport
Posted on by 163
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
            
        }))
 
 
 
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at
     
    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.
  • ctrl_kudorje Profile Picture
    163 on at
    @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.
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Why are you populating a collection using controls?
  • WarrenBelz Profile Picture
    153,040 Most Valuable Professional on at
    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,
     
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard