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 / Concat with values in DB
Power Apps
Answered

Concat with values in DB

(0) ShareShare
ReportReport
Posted on by 67

Hi everyone,

I'm pretty new on PowerApps, and I need help to set DefaultValue in one of my forms :

I got a card, and I want its default value to be the concatenation of today's date and a value stored in my db at [dbo].[numberIndic].

What I've tried so far :

Concatenate(Text(Today();"yyyymmdd");<here the value from table>)

How can I do this ?

 

Thanks !

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at

    Hi @BaptisteP,

    Assuming that the DataSource of the Form that is housing your DataCard is based on the table [dbo].[numberIndic],, you would have something like

    Text(Today();"yyyymmdd") & ThisItem.YourFieldName

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • BaptisteP Profile Picture
    67 on at

    Thanks for you answer @WarrenBelz !

    But actually my form is based on an other table, is there a way to get that value anyway ?

     

    Or maybe I can use the ID value from the current table, but since the row isn't yet generated I do not know how to retrieve the ID that will be generated with the validation of the form.

  • Verified answer
    WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at

    @BaptisteP ,

    That is a bit different subject to what you posted.

    You can use a Lookup to the other table if you have a common key to the form, or you can retrieve the ID of a new record with YourFormName.LastSubmit.ID

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard