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 / Rename items of Combobox
Power Apps
Answered

Rename items of Combobox

(0) ShareShare
ReportReport
Posted on by 19

I have a Combobox that I filter a gallery by. The combobx recieves its items by all Distinct values of column A. One of the retrieved values is Blank(). I want to use this Blank() value to filter the gallery. As it is right now, it shows blank in the dropdown with no name specified to it. Is there any chance to rename this value to something like "Column A blank"?

 

Disclaimer: Until now I had the IsBlank value filtered out, but I now see the necessity to make it a filtering option.

 

 

Sort(
 ForAll(
 Distinct(
 Filter(DataSource.'Column A', !IsBlank('Column A')),
 'Column A'
 ),
 {Result: ThisRecord.Value}
 ),
 Result
)

 

 Thanks for your support!

Categories:
I have the same question (0)
  • Rajkumar_M Profile Picture
    3,747 Moderator on at

    Hi

    Plz try this formula it may help you

    Sort(
    ForAll(
    Distinct(
    Filter(DataSource.'Column A', !IsBlank('Column A')),
    'Column A'
    ),
    {Result: If(IsBlank(ThisRecord.Value), "Column A blank", ThisRecord.Value)}
    ),
    Result
    )

    If it's not works use If(IsBlank(ThisItem.'Column A'), "Column A blank", ThisItem.'Column A') instead of previous Result line

    Thanks!

    If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.

  • Verified answer
    Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    Hi @Rennacker54 ,

     

    One method:

     

    Sort(
     Distinct(
     AddColumns(
     'Your Data',
     "MyList",
     If(
     IsBlank('Column A'),
     "# Column A - Blank",
     'Column A'
     )
     ),
     MyList
     ),
     Value
    )

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

    Imran-Ami Khan

  • Rennacker54 Profile Picture
    19 on at

    Hi @Amik, how can I use this dropdown now to filter a gallery? This code adds a item to the dropdown, but when I select it my filter searches for "# Column A - Blank" instead for Items that are Blank() in Column A. 

    Filter(DataSource, Or(IsEmpty(DropdownA.SelectedItems), 'Column A' in DropdownA.SelectedItems))

     

  • Verified answer
    Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    Hi @Rennacker54 ,

     

    Similar logic needs to be applied to the Items property of the Gallery.

     

    Filter(
     AddColumns(
     'Your Data',
     "column_modified",
     If(
     'Column A' = Blank(),
     "# Column A - Blank",
     'Column A'
     )
     ),
     CountRows(ComboBoxA.SelectedItems) = 0 || column_modified in ComboBoxA.SelectedItems
    )

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

    Imran-Ami Khan

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard