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:
I have the same question (0)
  • 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

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 638

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard