Forum Discussion
claret_mug
5 years agoFrequent Visitor
using OR in measures
Hello I have the following measure that calculates the number of students who have made progress. For the 'Entry Grade Mapping' I want to include students if they are "BTEC only" or " Mixed BTEC ...
- Anonymous5 years ago
Hi claret_mug ,
Check the formula below. "&&" as "and", "||" as "or".
BTEC + Progression all years = CALCULATE ( [Total students], FILTER ( 'Table1', 'Table1'[Collaborative Provision Indicator] = "Non-collaborative" && 'Table1'[Course length 1 year or less] = "No" && 'Table1'[Program level] = "No UG " && 'Table1'[Course Mode (FT / PT)] = " Full Time " && 'Table1'[Entry Route] = " UCAS / GTTR " && 'Table1'[EU Overseas Home Residence] = " Home " && ( 'Table1'[Entry Qualification Mapping] = "BTEC Only" || 'Table1'[Entry Qualification Mapping] = "Mixed BTEC and A-Levels" ) ) )Best Regards,
Jay
Anonymous
5 years agoNot applicable
Hi claret_mug ,
Check the formula below. "&&" as "and", "||" as "or".
BTEC + Progression all years =
CALCULATE (
[Total students],
FILTER (
'Table1',
'Table1'[Collaborative Provision Indicator] = "Non-collaborative"
&& 'Table1'[Course length 1 year or less] = "No"
&& 'Table1'[Program level] = "No UG "
&& 'Table1'[Course Mode (FT / PT)] = " Full Time "
&& 'Table1'[Entry Route] = " UCAS / GTTR "
&& 'Table1'[EU Overseas Home Residence] = " Home "
&& ( 'Table1'[Entry Qualification Mapping] = "BTEC Only"
|| 'Table1'[Entry Qualification Mapping] = "Mixed BTEC and A-Levels" )
)
)
Best Regards,
Jay