Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Solved! Go to Solution.
Just like what @musicbydannyd suggested, OR can only add two conditions,e.g OR(OR(condition1,condition2),condition3.
However || can add more than 2 conditions, e.g. condition1 || condition2 || condition3 ||....||condition N.
Proud to be a Super User!
@pramita , try like
DI JR = DIVIDE(CALCULATE(
COUNTROWS('INPUT'),filter('INPUT',
'INPUT'[Level] = "JR",
OR(
OR(
OR(
OUTPUT[Q1] < 4,
OUTPUT[Q5] < 4
),
OR(
OUTPUT[Q7] < 4,
OUTPUT[Q8] < 4
)
),
OUTPUT[Q11] < 4)
)),
DISTINCTCOUNT(OUTPUT[Email Address]))
Hi @pramita
Try below:
DI JR =
DIVIDE (
CALCULATE (
COUNTROWS ( INPUT ),
VALUES ( 'INPUT'[Level] ) = "JR",
FILTER (
OUTPUT,
OR (
OR (
OR ( OUTPUT[Q1] < 4, OUTPUT[Q5] < 4 ),
OR ( OUTPUT[Q7] < 4, OUTPUT[Q8] < 4 )
),
OUTPUT[Q11] < 4
)
)
),
DISTINCTCOUNT ( OUTPUT[Email Address] )
)
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @pramita
Try below:
DI JR =
DIVIDE (
CALCULATE (
COUNTROWS ( INPUT ),
VALUES ( 'INPUT'[Level] ) = "JR",
FILTER (
OUTPUT,
OR (
OR (
OR ( OUTPUT[Q1] < 4, OUTPUT[Q5] < 4 ),
OR ( OUTPUT[Q7] < 4, OUTPUT[Q8] < 4 )
),
OUTPUT[Q11] < 4
)
)
),
DISTINCTCOUNT ( OUTPUT[Email Address] )
)
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@pramita , try like
DI JR = DIVIDE(CALCULATE(
COUNTROWS('INPUT'),filter('INPUT',
'INPUT'[Level] = "JR",
OR(
OR(
OR(
OUTPUT[Q1] < 4,
OUTPUT[Q5] < 4
),
OR(
OUTPUT[Q7] < 4,
OUTPUT[Q8] < 4
)
),
OUTPUT[Q11] < 4)
)),
DISTINCTCOUNT(OUTPUT[Email Address]))
Just like what @musicbydannyd suggested, OR can only add two conditions,e.g OR(OR(condition1,condition2),condition3.
However || can add more than 2 conditions, e.g. condition1 || condition2 || condition3 ||....||condition N.
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |