web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Issue with form and Ra...
Power Apps
Answered

Issue with form and Radio button value

(0) ShareShare
ReportReport
Posted on by 41

Hello everyone,

 

I am still learining Power apps, I have issue with a formula for Form, If the form is in New I want to to capture value from Radio Button in App Screen, if Edit mode, I want to capture from Column, I have formula in default property like this, but Power app keeps saying it expects record value.

 

If(EditForm1.Mode=FormMode.New,Radio1.Selected.Value,ThisItem.Created_Updated.Value)

 

How is my formula wrong please.

 

JakubN_0-1691525814443.png

Thank you,

 

Jakub

Categories:
  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @JakubN ,

     

    Can you please share:

    - What data source are you using? (SharePoint, Datverse, Excel, etc.)

    - What is the type of the 'Created_Updated' column? (Choice, LookUp, Person, etc.)

    - The Items properties of the Radio control?

    - The Default property of which control (and type of control) are you trying to set?

  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @JakubN,

     

    Is the Created_Updated column a choice column and are you using SharePoint by any chance? Should that be the case, give the code below a try:

    If(
     EditForm1.Mode = FormMode.New,
     {Value: Radio1.Selected.Value},
     ThisItem.Created_Updated
    )

    Should this not work, then we will need some additional information on the datasource and column type.

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

  • JakubN Profile Picture
    41 on at

    Hello Laurens,

     

    yes, it is choice field and your code works, thanks a lot.

     

    Regards,

     

    Jakub

  • JakubN Profile Picture
    41 on at

    .

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 339 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard