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 / help displaying respon...
Power Apps
Unanswered

help displaying response time in app from Sharepoint list

(0) ShareShare
ReportReport
Posted on by

it's me again.  I've tried a lot of things I found searching the net but nothing is working.  I have a Sharepoint list titled "Condensed SA Request info" with two columns that have date and time, timestamps written when a record is created (timestamp submitted) and one that timestamps when the record has been accepted (Lead CSA Accept).  Both are configured as date/time in the Sharepoint list.  I have another column titled "response time" that calculates the difference in the other two Columbus to establish the amount of time it took from submit to accept.  That field is a calculated field with the following formula and it's set as date/time: =TEXT([Lead CSA Accept]-[Timestamp submitted],"h:mm")

 

I'm trying to get a text label (or any visible item) in power apps to average the response time column and dynamically show the current wait time.  I've tried a TON of stuff but can't seem to get it to work.  I'm leaning towards the : in the h:mm format causing the issues I've been seeing.  Any thoughts?

Categories:
I have the same question (0)
  • EddieE Profile Picture
    4,641 Moderator on at

    @jw20402 

    Try the DateDiff() function, eg

    Text( DateDiff('Lead CSA Accept','Timestamp submitted',TimeUnit.Hours), "hh:mm")

     

  • Community Power Platform Member Profile Picture
    on at

    @EddieE  where do I use that function?  I the Sharepoint list or power apps?  I've tried it in the power apps text label and I get errors.

  • EddieE Profile Picture
    4,641 Moderator on at

    @jw20402 

    Inside a label in PowerApps. Instead of copying my code use intellisense to guide you on the column names and it should work

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 740 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 342 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard