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 / Power app using Sharep...
Power Apps
Unanswered

Power app using Sharepoint choice column set a default value

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I have a power app that is used to fill in a sharepoint list and columns, there is a column called User_Status which is a choice column and has 3 values in it.

During the input of the values using the power app, I want the Power App to default to one of the value's namely "In Progress" but I'm unable to do this, I'm using this value which should work according to a tutorial but it just gives me errors.

 

Can Anyone help? 

 

If(Parent.Mode = FormMode.New,{Value: "In progress"}, ThisItem.Priority
Categories:
I have the same question (0)
  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    hi @Lumina

    Your formula seems almost correct, but it needs slight adjustments. The DefaultSelectedItems property expects a table, so you should wrap the value in a table using curly braces {}

     

    If(
     Parent.Mode = FormMode.New,
     [{Value: "In Progress"}],
     ThisItem.User_Status
    )

     

  • CU02080621-5 Profile Picture
    on at

    It's still giving me errors on the '(' and ',' like always

    I goddamn hate power apps, always giving me the vague errors....

    It says there are not the right amount of arguments, 1 received, 2 or more expected?

  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    Steps to Implement:

    1. Select the Dropdown or ComboBox inside the Data Card for the User_Status field.
    2. Go to the Properties pane on the right.
    3. Set the DefaultSelectedItems property to the formula above.

    replace with by your language preference 

  • CU02080621-5 Profile Picture
    on at

    Where should I change this? My ListDelimiter is already at ;

  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    can you share the screenshot where you are using this code and what error you are getting

  • CU02080621-5 Profile Picture
    on at

    Lumina_0-1719573586536.png

    Sorry incomplete, it's set to the Main Datacard of User_Status

  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at
    If(
     Parent.Mode = FormMode.New;
     [{Value: "In Progress"}];
     ThisItem.User_Status
    )

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 481

#2
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#3
11manish Profile Picture

11manish 291

Last 30 days Overall leaderboard