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 / Dropdown To Filter Gal...
Power Apps
Answered

Dropdown To Filter Gallery Connected to Excel table

(0) ShareShare
ReportReport
Posted on by

Hi, 

I am new to power apps.

I have followed the YouTube channel on how to filter the gallery.

I have go through all the subject related to drop down filter.

But I still not get the solution.

I already spend 3 days searching what when wrong with my gallery's filter formula.

 

I have a gallery with data from excel table tbl_DetailsOpx.

I created a dropdown (Dropdwon1) with fx: Distinct(tbl_DetailsOpx, 'BUDGET CATEGORY').

Then on the gallery Items formula: Filter(tbl_DetailsOpx, 'BUDGET CATEGORY'= Dropdown1.Selected.Value).

 

But when preview, the gallery is empty. No filtering action happened.

 

Can anyone help me.

 

Thanks you very much.

 

Categories:
  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @ahmadluq ,

     

    What data type is 'BUDGET CATEGORY'?

    Maybe you can try this:

    Filter(tbl_DetailsOpx, Text('BUDGET CATEGORY')= Text(Dropdown1.Selected.Value))
    Or
    Filter(tbl_DetailsOpx, Value('BUDGET CATEGORY')= Value(Dropdown1.Selected.Value))

     

     

    Hope this helps you!

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

    If my answer solves your problem, please accept it as a solution to help more people stuck on the same problem find it.

     

    Best regards,

    Rimmon Li

  • ahmadluq Profile Picture
    on at

    Hi Rimmon Li,

     

    Sorry for my late response.

    Thank you for your fast reply.

     

    Sorry I don't know how to set the 'Budget Category' excel column data type.

    Can you explain how to do that in this thread?

     

    And, I've tried your 2 formula. The 1st formula is working.

    I am very glad.

    But, when I using this formula it have error.

    FontWeight=If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal)

     

    Can you please help me how to fix this formula here or I need to create a new thread?

     

    Thank you very much.

     

  • ahmadluq Profile Picture
    on at

    Sorry Rimmy,

    That error due to my bad.
    I miss to the last ')', I only put the 1 instead of 2.

     

    My filtering problem is solve due to this data type statement.

    Btw, can you advise how to set the data type for the excel column?

     

    Thank you very much.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard