PowerAppsHelpPlease

u/PowerAppsHelpPlease


r/PowerApps•

Hi everyone,

I'm working on a PowerApps formula to calculate age from a date of birth and display it as years, months, and days. It mostly works fine, but I'm encountering an issue where the calculation returns negative values for individuals under one year old.

Here's the formula I'm using:

"Age: " & Concatenate(
    DateDiff(DataCardValue70.SelectedDate, Today(), TimeUnit.Years)-1, " years, ",
    Int(Mod(DateDiff(DataCardValue70.SelectedDate, Today(), TimeUnit.Months), 12))-1, " months, ",
    Int(Mod(DateDiff(DataCardValue70.SelectedDate, Today(), TimeUnit.Days),30.1)), " days"
)

I suspect the issue might be related to subtracting 1 here:

  • `DateDiff(DataCardValue
36

r/PowerApps•
Hi All - I am trying to send an email from PowerApps  to a user's email that includes a set of attachments from a Gallery which has data from a document folder. I added a checkbox within the gallery and have it collecting the files to a collection called colfile. The expression I am using is "Office365Outlook.SendEmailV2(User().Email, "Files for " & Table1.Selected.'first name' & " " & Table1.Selected.'last name' , "Selected Records for - " & Table1.Selected.'first name' & " " & Table1.Selected.'last name', {Attachments:ForAll(colfile,{Name:Name,ContentBytes: ThisRecord.identifyer} )}). I am getting the email with something that looks like an attachment, however the attachment cannot be 
114

r/PowerApps•

Hi Everyone - I am needing some help with my PowerApps app where I am getting a "Getting Your Data" error on my forms.

As context, I created an app which has data in a table (table 1) and when an item within the table is selected, the user can navigate to a new screen where the user can edit or view the form associated with the selected item in the table. The data which is being gather is from a SharePoint List which all users have access to. I have tested this capability within the PowerApps editing preview and all works as designed. When trying to play the app, the table will appear with the information as it should, but when selecting an item and navigating to the new screen, the form w

23

You've reached the end of this feed.