Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
joshua1990
Post Prodigy
Post Prodigy

BOOLEAN column based on numerous filters

Hey community!

I have a table like this:

OrderDateDepartmentAreaStateValueQuantityCostEmployee
10001.01.2020MetallurgyArea 15099995628950Alex

 

Now I need a Dax Measure (not a column) that shows me TRUE or FALSE based on this heuristic:

TRUE IF

  • State >= 0 <= 50
  • State <> 51
  • State <= 95
  • Department <> "Metallurgy"
  • Area <> "Area 1"

How would you build that Measure?

1 REPLY 1
AlB
Community Champion
Community Champion

Hi @joshua1990 

You want a measure but are referring to row context (the values in a row of the table) to define the outcome. That seems contradictory. Can you elaborate?  The measure would have to check all rows in the table? If so, how would the final result be constructed from all those checks? Or are you going to use the measure in a table visual such that the measure will be applied to each row depicted in the visual?

Please mark the question solved when done and consider giving kudos if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.