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

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 385 members 3,593 guests
Please welcome our newest community members: