Not able to validate if condition with member of SmartList data type when comparing with integer
I have written very simple formula in free form application, where my cube Hybrid BSO. I have created a dynamic calc member MemberB with member formula mentioned in code snippet. In the formula it references MemberA which is stored member and of data type Smart List. It is assigned with Smartlist YESNO where it has only one entry as YES and it's ID is defined as 1. When I try to validate the formula, I'm getting below error.
An error occurred while validating the member formula.
Error compiling formula for [calc-expression, at or after line: ["IF(MemberA == 1)"]] (line 1): expected type [NUMBER] found [STRING] ([MemberA]) in function [operator @EQ]