Hello @Anonymous ,
At this point, you should consider to add a calculated column to your source, it will be easier to have the matching score for all your records
IF function - Microsoft Support
You'll have to set the calculation like : (in sharepoint)
IF([DaysUp] < 10, 1) + IF([Off], 1) + IF([Rebooted], 1)
Not sure for the syntax, a sharepoint Expert can correct if needed 🙂
Then you'll have a column with values from 0 to 3
Back in Power Apps, you can add a ComboBox with in it's .Items :
[{Name : "Green", Score:1 },
{Name : "Yellow", Score:2 },
{Name : "Red", Score:3 }]
Then you can filter on the comboBox selected value :
Filter('Your Source',
'Calculated Column Name' = ComboBox.Selected.Score || IsBlank(ComboBox.Selected.Score)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily.