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 / Show text from SharePo...
Power Apps
Answered

Show text from SharePoint in a label in PowerApps

(0) ShareShare
ReportReport
Posted on by 775

Hello all,

 

I want a text from a data source to be displayed in a label in power apps, what is the best way to do it?

 

DataSource.SPColumn.text does not work, how else can I achieve this?

 

Thank you in advance

Categories:
  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi,
    You can use below formula if you have ID,
    LookUp(DataSourceName, ID = 1, ColumnName)

  • PowerSäm Profile Picture
    775 on at

    Thank you so much for your replay, @NandiniBhagya20 !

    That has already brought me forward, only in the sharepoint list come several entries, how  can I say that he should not take the entry with the ID 1 but always the last created entry, is there a possibility to achieve that?

     

    E.g. with "ID:LastCreatedItem"?

     

    Thank you in advance for your help!

  • Verified answer
    NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    First(SortbyColumns(SPList, "Created", Descending)).Title 
    Title is ColumnName that you can replace with the data of the column you want to display

  • PowerSäm Profile Picture
    775 on at

    Thank you so much for your help, @NandiniBhagya20 !

    That works great, thanks!

  • atjh Profile Picture
    8 on at

    Remember to add .value behind ColumnName.
    ie. LookUp(DataSourceName, ID = 1, ColumnName.Value)

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 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard