Hi @TakuyaNoguchi ,
I've made a test for your reference:
1\I assume there is a table:
ClearCollect(
CollectionName,
{ID:1,fruits:"apple"},
{ID:2,fruits:"banana"},
{ID:3,fruits:"lemon"},
{ID:4,fruits:"apple"},
{ID:5,fruits:"apple"},
{ID:6,fruits:"apple"}
)
2\Add a blank vertical gallery(Gallery6) and set it's items property to:
Distinct(CollectionName,fruits)
3\Insert a check box(Checkbox1) into the gallery and set it's Text property to:
ThisItem.Result

4\Finally, we could filter rows by this formula:
Filter(CollectionName,fruits in Filter(Gallery6.AllItems,ThisRecord.Checkbox1.Value).Result)


Best Regards,
Bof