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 / Get data from a specif...
Power Apps
Answered

Get data from a specific column in sharepoint list

(0) ShareShare
ReportReport
Posted on by 48

I'm trying to get data from a specific column in a SharePoint list.

SP list name: Pedidos
I want to get the data from the column name CANTIDAD

Set(_NumRev, First(Filter(Pedidos, NumMAT=_NumPed).CANTIDAD));

The problem is I get a record from that line instead just the number (in this example: 256)

Could you point me what I'm doing wrong?

Categories:
I have the same question (0)
  • Verified answer
    Jeff_Thorpe Profile Picture
    6,085 Super User 2024 Season 1 on at

    What type of field is CANTIDAD? You could also try using a lookup.

     

    Set(_NumRev, Lookup(Pedidos, NumMAT=_NumPed).CANTIDAD);

  • FedericoC Profile Picture
    48 on at

    Thanks for reply! works great!
    It's a type Number column.
    I wonder if with LookUp function I'm going to have trouble when SP List has more than 2000 records

     

     



  • Jeff_Thorpe Profile Picture
    6,085 Super User 2024 Season 1 on at

    You shouldn't have an issue because NumMAT=_NumPed looks like a delegable condition. An easy test would be to decrease your Data Row Limit to 1 and give it a try. 

  • Sidhant_02 Profile Picture
    986 on at

    Hi @Jeff_Thorpe and @FedericoC ,
    I have similar requirement where I am having 2 SP Lists:
    Assume 1st SP list: (Personal Details: Name, Age, Address) is displayed on Details screen
    and the second list is Contact information: (Phone number, Email)
    Lets say I have to display Phone number for a particular record in the 1st SP list in that case how to do it?.

    Also the above solution that you have given using Set & Lookup it is used where exactly because I tried it on a text label but did not get it and  NumMAT=_NumPed are these 2 columns in different SP list which are common and that is being compared?.

    Regards,
    Sidhant.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard