Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Filtering Gallery disabling subtitle customization?

(0) ShareShare
ReportReport
Posted on by

My exhaustive searching has so far been in vain, hoping someone here can help..

I have a gallery that is filtered using the following code in Items:

 

Distinct(Sort(Filter(AccountList, SALESPERSON = AELabelDD.SelectedText.Value && Prospect = TypeLabelDD.SelectedText.Value),Advertiser),Advertiser)

 

This works fine, but within the gallery, where normally I can customize a title or subtitle TEXT with ThisItem.Column the only thing it accepts is ThisItem.Value. In this particular case that Value is "Advertiser". 

Is there a way to add the other column name into the gallery ITEMS box so it is available? Not familiar with the syntax for that.

Any help is greatly appreciated!

Categories:
  • Murphys110 Profile Picture
    on at
    Re: Filtering Gallery disabling subtitle customization?

    @Amik that worked! Thank you! I'd actually tried that previously, but the red Xs showed up and I didn't take the time to see if I could update the text field... 

    Thanks!!

  • Murphys110 Profile Picture
    on at
    Re: Filtering Gallery disabling subtitle customization?

    Ah...... in this case Distinct isn't necessary... would this be the correct syntax if removing it? Thank you!

    Sort(Filter(AccountList, SALESPERSON = AELabelDD.SelectedText.Value && Prospect = TypeLabelDD.SelectedText.Value),Advertiser)
  • Verified answer
    Ami K Profile Picture
    15,665 Super User 2024 Season 1 on at
    Re: Filtering Gallery disabling subtitle customization?

    @Murphys110 - the Distinct function will return a single column table called "Value". This column only will contain distinct values of the "Advertiser" column with any duplicate values removed.

     

    Could share more context of what you're expecting your Gallery to show?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard