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 / Issues - Pull Data Fro...
Power Apps
Unanswered

Issues - Pull Data From Table whose Source Is a Collection

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

All,

 

I hope you will be able to help me with this one, I am having issues pulling data from a data table whose source is a collection.

 

I have a collection setup called "addSoftware" that contains a series of ID#s and a set of numbers called "Pressure Options"

 

I am successfully pulling this collection into a data table and performing some computations on the data using AddColumns.  However, I am unable to use the LookUp command to pull a single value out of the table, even though I can pull data directly from the collection using LookUp.  The forum is not allowing me to post screenshots just yet, so I have put some code snippets below.   Any ideas?

 

This code pulls successfully from the collection and adds a few columns to a new table called "DataTable2"

 

AddColumns(addSoftware,"multiplied",Pressure_x0020_Options*5, "prev ID", If(ID=1,0,ID-1))

This code pulls a value successfully from the collection

 

LookUp(addSoftware,ID=2,Pressure_x0020_Options)

This code fails to pull data from "DataTable2" - regardless of whether it is a calculated column or not.  I have tried something similar on data tables that aren't pulling directly from a collection and am having a similar issue. 

 

LookUp(DataTable2,ID=2,Pressure_x0020_Options)

 

Cheers and have a good weekend,

 

-Zac

 

 

 

 

Categories:
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Can you please share the collection here? Seems to me that this should work as expected.

     

    Regards,

    Mona

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey, sorry on the late reply to this.  I cannot share the collection because it is proprietary data.

     

    But - good news it magically started working after the latest update, who knows.

     

    -zac

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 339 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard