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 / Using a Toggle to filter
Power Apps
Unanswered

Using a Toggle to filter

(0) ShareShare
ReportReport
Posted on by 69

hello!

I'm trying to filter an equipment's table using a toggle. It seems pretty simple but the column I want to sort it by is actually linked to another tables called "equipment types". IDK how to link the 2. I want the toggle to display just the "desk" equipment types when it is checked and when its no to display all the equipment.

Also the "equipment types" is a lookup column so it uses the column ID in the equipment's table.

Categories:
  • Kimii Profile Picture
    134 on at

    Hi @Littleone145 

     

    If [equipment types] not a column in your Equipment table, i suggest to add then you can sort the table by it.

    Gallery item might be: 

    If(Toggle1.Value,
    Filter(AddColumns(Equipment, "Type", LookUp(RenameColumns(Equipment types, "ID", "UID"), UID = ID).equipmenttype), Type= "desk"),
    Equipment)

     

  • Littleone145 Profile Picture
    69 on at

    @Kimii I do already have it as a column, its a foreign key refencing my lookup table.

  • Kimii Profile Picture
    134 on at

    LookUp(equipment types, ID = ThisItem.ID).equipmenttype

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 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard