Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I'm trying to setup a true false evaluation statement similar to below. Ideally what I want is to only show the rows where the same code has a value in both the OT column and the PT column. I figure if I can get the evulation column correcty I can just filter out the data that doesn't meet the criteria. The highlighted yellow is the data I want to keep.
Thank you!
Solved! Go to Solution.
Hi @mvgust
try
IF(
CALCULATE(COUNTROWS(Table), ALLEXCEPT(Table, Table[Code]), Table[Value OT] <> BLANK()) > 0 &&
CALCULATE(COUNTROWS(Table), ALLEXCEPT(Table, Table[Code]), Table[Value PT] <> BLANK()) > 0,
TRUE(),
FALSE()
)
Hi @mvgust
try
IF(
CALCULATE(COUNTROWS(Table), ALLEXCEPT(Table, Table[Code]), Table[Value OT] <> BLANK()) > 0 &&
CALCULATE(COUNTROWS(Table), ALLEXCEPT(Table, Table[Code]), Table[Value PT] <> BLANK()) > 0,
TRUE(),
FALSE()
)
That worked perfectly! Thank you!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!