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 / Record expected combob...
Power Apps
Answered

Record expected combobox default selected item

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I'm stuck with this formula in the property Defaultselecteditem.

I need to select the default value "-" if the value selected form the component typologie is "Plateau technique" or "Documents.." or "Pédagogique" and if not select the state of the user by default.

 

 

With(
 {hyphen_dpd: "-"};
 If(
 dpd_typologiedocs.Selected.Result = "Documents déposés dans BI";
 {Value: hyphen_dpd};
 dpd_typologiedocs.Selected.Result = "Pédagogique";
 {Value: hyphen_dpd};
 dpd_typologiedocs.Selected.Result = "Plateau Technique";
 {Value: hyphen_dpd};With(
 {aRegion: 'Utilisateursd''Office365'.MyProfileV2().state};
 Distinct(
 Filter(
 Base_region_centre_update;
 aRegion = Region_Old || aRegion = Region_Old2 || aRegion = Region_Old3
 );
 Region
 ))

 

What do i miss ?

Categories:
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Found...need to use [ ] instead { }

    If(
    dpd_typologiedocs.Selected.Result = "Documents déposés dans BI";
    [Blank()];
    dpd_typologiedocs.Selected.Result = "Pédagogique";
    [Blank()];
    dpd_typologiedocs.Selected.Result = "Plateau Technique";
    [Blank()];

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 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard