Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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
User | Count |
---|---|
21 | |
14 | |
11 | |
8 | |
5 |
User | Count |
---|---|
24 | |
22 | |
20 | |
15 | |
10 |