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
amitchandak
5 years agoSuper User
claret_mug , Not very clear with formula
Or can be like
Table1[Entry Qualification Mapping]="BTEC only" || Table1[Entry Qualification Mapping]="Mixture of BTEC and A-Levels"
OR( Table1[Entry Qualification Mapping]="BTEC only" , Table1[Entry Qualification Mapping]="Mixture of BTEC and A-Levels")
or use in
Table1[Entry Qualification Mapping] in {"BTEC" ,"Mixture of BTEC and A-Levels"}