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 / Issues with Combobox d...
Power Apps
Unanswered

Issues with Combobox default option

(0) ShareShare
ReportReport
Posted on by 42

Hi All,

 

I have an urgent requirement to complete below task, 

 

In my app, i am using cascade drop down, textbox and combobox. 

 

source & Datastoring in sharepoint and using gallery to view / edit existing entry and add new entry. 

 

so previous / existing entry selection is working fine in drop down and textbox using this code "Thisitem.Task" 

but in combo box default value is not coming properly also true false text box will perform based on combobox selection value so each time combobox is expecting to select values but i dont want to select for the existing entry. 

 

Anyone help me to fix this problem. 

 

ComboBox details:

Items : Distinct(AccountNameLookup,'Account Name')

 

Defaultselecteditems: ForAll(Filter(AccountNameLookup,
'Account Name'=ThisItem.ClientName
),
ThisItem.ClientName
)

 

Displayfields: ["Result"]

 

InputTextPlaceHolder: ThisItem.ClientName

 

SearchFields: ["Result"]

 

SelectMultiple : false 

 

Default:  

 

 

Based on this combobox selection , hidden truefalse textbox and onedropdown have to select appropriate value automatically but for the first time selection its working fine but for view / edit for the previous entry combo box .selected.result is empty. 

 

Thanks in advance. 

Categories:
I have the same question (0)
  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    Hi @gvrspk ,

    Please provide a screenshot with your configuration, i don't figure it out what are you doing there 😊 

  • gvrspk Profile Picture
    42 on at

    Hi gabibalaban, 

     

    Thanks for quick response. 

    Attached screenshot for your reference. 

     

    based on combobox1 & 2 , dropdown will display automatically after saving values in sharepoint for the next edit its not picking but default selected values are displaying in combobox1 but  i dont know how to set default values. 

    combobox1.png
  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    @gvrspk ,

     

    It seems that is a problem with AccountNameLookup and LookUp(?!) collections (or data source).

    Also ... from my undestanding the DefaultSelectedItems formula should easily be: ThisItem.AccountName.

  • gvrspk Profile Picture
    42 on at

    Thisitem.AccountName is showing error in default and defaultselecteditems 

  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    I still don't get it ... I need infos about: 

    1. Items property in Gallery;

    2. Please provide formula for AcountNameLookUp  ? Is a list ? Is a collection ?

    3. How did you defined LookUp ? Is a list ? Is a collection ?

  • gvrspk Profile Picture
    42 on at

    Sorry for the delayed reply. 

     

    I am using Gallery , inside i have 2combo box and few dropdowns and textboxes. 

    1. Gallery ITems : SharepointList 

    2. Distinct(AccountNameLookup,Title) - Items of Combobox 

    3.  Sharepoint List

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard