web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Calculated field from ...
Power Apps
Unanswered

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,297 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard