cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
avisingh Regular Visitor
Regular Visitor

TRUE/FALSE Measures Cannot Be Used in Filter Pane

I defined a True/False Mesure in my model.

  • Customer Rank To Be Shown = [Customer Rank] <= [Selected Top N]

But you can also simply use a Dummy measure

  • TrueFalseMeasure = IF(1=2, TRUE, FALSE)

 

Either way, for any Measure of True/False type it seems we cannot use it in the Filter pane (see screenshot)

 

20181104_True_False_Measure_Filter.png

1 REPLY 1
Highlighted
Moderator v-qiuyu-msft
Moderator

Re: TRUE/FALSE Measures Cannot Be Used in Filter Pane

Hi @avisingh,

 

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

  • Filter a field that is already being used by the visualization.
  • Identify a field that is not already being used by the visualization, and add that field directly to the Visual level filters bucket.

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. 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.