Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Trying to add new field in a canvas app and pull data from dataverse/work orders

(0) ShareShare
ReportReport
Posted on by 118

Hello all, 

I have a bit of a conundrum and not sure how to go about it.

 

The situation:

This is a canvas app for calculating pay based off of work orders. Right now as you can see, there are date fields a name field and and hourly rate field. "Tech1" will be paid an hourly wage that is called from the "Hourly rate" field in the CRM and uses the "duration"(Time worked) field on work orders. This is the default setup.

te3a.png

------------------------------------------------------------------------------------------------------------------------------------------------

What I am trying to do:

I wish for to add a second Tech type, "Tech2"(Highlighted in the new red dropdown box I've created) and have it so that when selected, it changes the name field to the immediate right to only include bookable resources of the type "Tech2". Which will in turn not calculate the pay based off an hourly wage, but instead on the "install time" of *all* products used in a work order. Some product swill have install times of 0.15 minutes, others of 60 minutes, etc.

43g4.png

------------------------------------------------------------------------------------------------------------------------------------------------

What I am thinking:

Create a table in dataverse on the work order form and call it "Sum Install Time" and set that table to be a sum of product install times?(I don't even know if this is possible). Then go back to the PowerApp, create a new subheader called "Product Install Time" and set it to get data from that table in the dataverse/new section on the work orders.

DVOP_0-1680128886293.png

 

Does that make sense? Or am I overcomplicating/overlooking things?

 

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard