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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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