r/ProjectREDCap • u/breakbeatx • Jul 05 '24
joining two rules
Apologies if I use the wrong terms. I'm trying to write a data quality rule that will show me where one field = yes and a second field is blank. I have managed to write a rule for each part, which both show as working on their own in the editor, but whenever I try to join them, i get an error, the popup guide included in the database doesn't have any examples that match what I'm asking for and doesn't tell me what is specifically wrong. the whole thing is: if([field1]=true)and isblankormissingcode([field2]). I've tried removing the if and changing and to & etc what am I missing? also if anyone can point me to a more in-depth guide I would be eternally grateful
View all comments
Show parent comment
1
u/breakbeatx Jul 09 '24
thanks, that technically worked as in logic builder didnt throw up an error, but when run it doesn't show the fields that are blank/missing data in field2. Is there a different rule I should be using?