Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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!
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 45 | |
| 34 | |
| 27 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 59 | |
| 58 | |
| 39 | |
| 22 | |
| 20 |