I have database 1 (WeldingMap) :

and database 2 (OutputPApps) :

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.

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
)
)
)
)