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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I'm trying to do a simple OR() function using DIrect Query mode but it's not their. I found on the web that if I select "Allow unrestricted measures in DirectQuery mode." in Options -> Direct Query, this should resolve my problem, but this check box don't exist anymore.
Any ideas how to workaround this issue?
Hey,
you can use this
|| (two pipe signs) instead of OR and
&& instead of AND
This measure
Measure = CALCULATE( SUM('Table1'[value]) , FILTER( 'Table1' , 'Table1'[color] = "red" || 'Table1'[color] = "yellow" ) )
creates this:
Hopefully this is what you are looking for.
Regards,
Tom