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 / Filter Gallery based o...
Power Apps
Unanswered

Filter Gallery based on Radio Button

(0) ShareShare
ReportReport
Posted on by 372

I have database 1 (WeldingMap) :

firda59_0-1685342601088.png

and database 2 (OutputPApps) :

firda59_2-1685342707035.png

 

 

I have Radio button in my Powerapps. It connected to Gallery List. An items on my Radio button are "Acc", "Repair", and  "Outstanding". This is the formula that I wrote in Radio button On Select properties.

If(pilihan_1.Selected.Value = "ACC",
ClearCollect(acc_collection,Filter(OutputPApps,Result = "ACC")),
If(pilihan_1.Selected.Value = "Repair",
ClearCollect(acc_collection,Filter(OutputPApps,Result = "Repair"))))

So, when I click "Repair", the gallery will show a list from OutputPApps which has Repair keyword in their row.

firda59_0-1685343321142.png

 

 

Then, I want when I click Outstanding, the gallery will show:
All Joint List which has Middle Assy (assembly item) lists in the WeldingMap database that are not yet in the OutputPowerApps database. How to formula it? What I write on my Radio button just for "ACC" and "Repair" condition.

I already used this formula but can't work. Thank you in advance.

If(
pilihan_1.Selected.Value = "ACC",
Filter(OutputPApps, Result = "ACC"),
pilihan_1.Selected.Value = "Repair",
Filter(OutputPApps, Result = "Repair"),
pilihan_1.Selected.Value = "Outstanding",
Filter(
WeldingMap,
Not(
IsMatch(
'Joint No',
LookUp(OutputPApps, Text(Value('Joint No')) = Text(Value('Joint No')).'Joint No'),
Text
)
) &&
Not(
IsMatch(
'No Drawing',
LookUp(OutputPApps, 'No Drawing' = 'No Drawing').'No Drawing',
Text
)
) &&
Not(
IsMatch(
Assembly,
LookUp(OutputPApps, Assembly = Assembly).Assembly,
Text
)
)
)
)

 

Categories:
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @firda59 ,

     

    The data displayed in a gallery needs to be consistent. Cause OutputPApps and WeldingMap are different tables, the formula will not work.

    vbofengmsft_0-1685413587555.png

     

    Best Regards,
    Bof

  • firda59 Profile Picture
    372 on at

    So, there's no other formula to make it happen?

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @firda59 ,

     

    I'm afraid so. Unless you combine the two tables into one.

     

    Best Regards,

    Bof

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

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard