I defined a True/False Mesure in my model.
But you can also simply use a Dummy measure
Either way, for any Measure of True/False type it seems we cannot use it in the Filter pane (see screenshot)
From your description, it seems you are dragging the measures Customer Rank To Be Shown and TrueFalseMeasure to a visual then these two measures display in Visual Level Filters pane, right?
From this article, you can see:
You can add a filter to a specific visual in two different ways (aka, a "visual filter").
We can only set filter condition based on a field rather than measure in Visual Level filter pane. In your scenario, you can create calculated columns with the same DAX then drag into the visual, then you can set filter condition.