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 / Calculated field from ...
Power Apps
Answered

Calculated field from Sharepoint list into Datatable

(0) ShareShare
ReportReport
Posted on by 66

Hi,

 

I have a calculated field in my SP list and I want to show this column in a datatable in PowerApps. The column is called "Trigger_time" but when I try to get the field in my table I didn't find it as a possible field to add

 

I know I could try using AddColumns and Collections/List but is there an easy way to pull this from SP List?

 

Thanks for your comments

 

CP0822_0-1610741883601.png

CP0822_1-1610741912781.png

 

Categories:
I have the same question (0)
  • leyburn19 Profile Picture
    2,157 on at

    I don't think Calculated fields are an option here,  mainly because they do not store data,  they only show a result at run time.  You should be able to build your own calculation field in the app that will achieve teh same result

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @CP0822 

    Yes, calculated columns will be available for your data table.  However, I would consider using a Gallery if possible over a DataTable because the DataTable is NOT going to see your calculate as a Date properly and you will end up with a ISO representation of your Date rather than a formatted date.  You can control this better in a Gallery.

     

    If you are not seeing your calculated column, I would first make sure you are looking for its "Real" name.  If the column has been renamed at any point, it will still retain its original name.

    Go into your SharePoint list settings and click on the calculated column to edit it.  Then look in the URL in the browser.  The URL will end with field=something.   something is the REAL name of the column.  

    That is what you will be looking for in the Edit Fields of the DataTable.

     

    I hope this is helpful for you.

     

  • CP0822 Profile Picture
    66 on at

    Hi  @RandyHayes 

     

    Thanks, actually I pulled the calculated field from the SP list at the end. Not sure why I couldn't see the column at the beginning but it happened just the thing you mentioned about the format and I solved this situation using this formula

     

    DateAdd( DateTimeValue(ThisItem.Trigger_time),-TimeZoneOffset(),Minutes)

     

    CP0822_0-1611251020094.png

     

     

     

    This is the result. 

     

    Thanks for your help

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard