Version:1.0 StartHTML:000000239 EndHTML:000003880 StartFragment:000002014 EndFragment:000003848 StartSelection:000002014 EndSelection:000003844 SourceURL:https://powerusers.microsoft.com/t5/forums/postpage/board-id/PowerAppsForum1
Hi I have an excel sheet that contains various formulas to calculate values based around a set of user defined dates.
Im trying to create a PowerApps form that will populate an Sharepoint List with the values the user enters and the calculations it shows from what they entered.
User entered Dates are Date of Birth(DOB), JoinDate, LeaveDate2.
I have managed to already calculate Age at Joining(as an Age) and date will or was 41 (as a date) which populate labels on the form.
Im nowÂ trying to calculate years of service < 41 and years of service >41Â
In excel this is achieved using the following formula - through 4 formulas.
Calculation 1 - isÂ
Calculation 2Â isÂ
The value from Calculation 1 is then passed to Service <41 using the follwing forumla
The value from calculation 2 is passed to service >41 using
For ease here is a shot of the worksheet in excel
Ive tried to replicate the Caluclation formula 1 - to a label control on the Powerapps form setting the text to the following format but it isnt working
Any ideas how I can do this?
Excel formulas are not the same in PowerApps I think. The former focuses on calculations more. I do not think this could be achieved in PowerApps.
Check it out!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand