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 / Add another value to a...
Power Apps
Answered

Add another value to a combo box referencing a Lookup field

(1) ShareShare
ReportReport
Posted on by 217 Season of Giving Solutions 2025
I have a canvas app with a combo box pointing to a lookup field in a SP List.  I need to add the value of "Not Applicable" to the lookup but not add it as a value in my list.
I have tried the below and am not getting an error but the selection in the combo box shows as blank until it is selected, any idea of a solution, thanks;
 
Ungroup(
 Table(
{CBOptions: ["Not Applicable"]},
 {CBOptions:mySpList.Title}
 
 ),
 'CBOptions'
 )
Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,556 Most Valuable Professional on at
    Why are you adding the new option as an array with one record?  It should just list it as the record.  I think what you want is something more like this:
     
     
     Table(
    {CBOptions: "Not Applicable"},
      [Code needed to return an array from your list]
     )
     

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • Suggested answer
    senna Profile Picture
    217 Season of Giving Solutions 2025 on at
    If anyone runs into this problem, I created a collection and use the collection as the data source
     
    ClearCollect(myCollection,{Title:"Not Applicable"});
    Collect(myCollection, myListName.Title);
  • Suggested answer
    11manish Profile Picture
    3,333 on at
    You can try below :
     
    With(
        {
            varOptions:
                Collect(
                    colTemp,
                    { Title: "Not Applicable" }
                )
        },
        Collect(
            colTemp,
            ShowColumns(mySpList, "Title")
        )
    )
    Make sure ComboBox properties are set correctly:
     
    DisplayFields:  ["Title"]
    SearchFields:  ["Title"]
    Value (if used): "Title"

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 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard