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 / How to get items from ...
Power Apps
Answered

How to get items from two columns in the same dropbox.

(0) ShareShare
ReportReport
Posted on by 24

I have two columns which contain the same type value which is country and now I have a dropbox which filters galleries by country but I don’t know how to get all items into one combobox.

 

 Please help!

Categories:
  • turnerj3 Profile Picture
    2,039 on at

    With a combobox you can use a Double layout and pick 2 columns to show.

    turnerj3_0-1686247481244.png

     

  • GoTESTO Profile Picture
    24 on at

    No I mean like showing items individually and I just took as an example but I have 10 columns of countries which I need to have this filter showing all items across all 10 columns.

  • GoTESTO Profile Picture
    24 on at

    By filter I mean one combobox showing every country in all columns as items

  • turnerj3 Profile Picture
    2,039 on at

    I think you are going to be better off trying to make a one collumn collection from all your Collumns and then using that as the dropdown source.

  • GoTESTO Profile Picture
    24 on at

    So there is no way of doing what I want to do right?

  • Verified answer
    turnerj3 Profile Picture
    2,039 on at

    Not with that attitude😁

    ClearCollect(
    colCountries,
    RenameColumns(ShowColumns(yourlist,"firstcolumn"),"firstcolumn","ColumnA"),
    RenameColumns(ShowColumns(yourlist,"secondcolumn"),"secondcolumn","ColumnA")
    );

    Keep adding Rename columns for each of your columns and this will stack them in collection under ColumnA. Change collection name and Column A to whatever you want. After this use the collection and ColumnA as your dropdown source.

  • GoTESTO Profile Picture
    24 on at

    Still not working could it be that I am pulling the data from exel?

  • turnerj3 Profile Picture
    2,039 on at

    After creating the collection did you change the combobox items datasource to the collection?

  • GoTESTO Profile Picture
    24 on at

    This is what I have done NewCountry is not a table or a column i just wrote that.

    ClearCollect(

        NewCountry,

        RenameColumns(ShowColumns(Table1,"1st Country"),"1st Country","ColumnA"),

        RenameColumns(ShowColumns(Table1,"2nd Country "),"2nd Country ","ColumnA")

    );

  • turnerj3 Profile Picture
    2,039 on at

    Now in your dropdown use NewCountry for datasource and ColumnA as the field

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard