mfaqueiroz
Registered User.
- Local time
- Yesterday, 22:22
- Joined
- Sep 30, 2015
- Messages
- 125
Hey everybody!
I have a derived column showing the # of times a "X" appears within the CodeMachine string. I'm using the follow code:
Count: LEN(CodeMachine) - LEN(REPLACE(CodeMachine,"X",""))
i only want the registers with the count="2" but when i write in criteria "="2" or "2" or "like 2" appears this error: Data Type mismatch in criteria expression
Could someone help me?
thank you!

I have a derived column showing the # of times a "X" appears within the CodeMachine string. I'm using the follow code:
Count: LEN(CodeMachine) - LEN(REPLACE(CodeMachine,"X",""))
i only want the registers with the count="2" but when i write in criteria "="2" or "2" or "like 2" appears this error: Data Type mismatch in criteria expression
Could someone help me?
thank you!