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 / data is not populating...
Power Apps
Unanswered

data is not populating when filtering in powerapps using CDS

(0) ShareShare
ReportReport
Posted on by 46

Hello all,

 

I am filtering the CDS based on the one condition, and i am collecting the records in a collection

 

where the collection contains data only for the primary field .

 

ClearCollect(
colAttachmentReq,
SortByColumns(Filter(
User Uploads,
'Workitem ID'.'WorkItem ID' = galWorkItemDetails.Selected.'WorkItem ID'),"createdon",Descending))

 

 

 

this is happening even when i try to save the same filter condition in a local or global variable

Please help me to resolve this issue

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,425 Most Valuable Professional on at

    Hi @Hasini ,

    I am not sure what you mean by a Global or Local Variable when the code is making a Collection, but for the purposes of elimination only, do you get a full data set with the below code?

    ClearCollect(
     colAttachmentReq,
     Filter(
     'FAT_T_User Uploads',
     'Workitem ID'.'WorkItem ID' = galWorkItemDetails.Selected.'WorkItem ID'
     )
    )
  • Hasini Profile Picture
    46 on at

    do you get a full data set with the below code?

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

    am getting the no of records which satifies the given condition but the data is populated only for the primary field , for all the remaining fields data is empty

  • WarrenBelz Profile Picture
    156,425 Most Valuable Professional on at

    @Hasini 

    Only one thing I can see - which does not necessarily explain it, but 

    'Workitem ID'.'WorkItem ID' 

    naming a field the same as the parent list is not a good idea

  • WarrenBelz Profile Picture
    156,425 Most Valuable Professional on at

    Hi @Hasini ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

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 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard