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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Field is blank in coll...
Power Apps
Unanswered

Field is blank in collection but not in data source?

(0) ShareShare
ReportReport
Posted on by

Can anyone think why when I create a collection from a data source, one of the fields is blank, even though it isn't in the original data source? All other fields are correct, but one of them is blank?! Only think I can spot is that the particular column name has a space between its two names? Could that cause an issue?

Categories:
I have the same question (0)
  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @jed76 , Can you try using ShowColumn function in you code, example:

    ClearCollect(col, ShowColumns(DataSource, "Column1","Column2", "Column3"..."Columnn"))

    Does your data source is SQL table?

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


  • jed76 Profile Picture
    on at

    Thanks. The odd thing is that I can see the column when I view the collection but the field is blank?

  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    @jed76 I understand and that is the reason try to use above suggestion and check the column is showing value or not? For SQL table there were such issues found. Check this:

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Collection-columns-empty-when-importing-from-SQL/td-p/610197

    https://powerusers.microsoft.com/t5/Building-Power-Apps/ClearCollect-returns-partly-empty-column-values-from-SQL/td-p/1199266

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


  • jed76 Profile Picture
    on at

    I've just restarted the editor and it's working now?! Many thanks. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard