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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.