Added support to SELECTEDVALUE function

The function SELECTEDVALUE is now supported. It’s a shortcut for IF ( HASONEVALUE ( Column ), VALUES ( Column ) , )