Can you be more specific with your problem and include the schema of the table in question, the data in the table, the results you are seeing, and the verison and build number of the database engine that you are running? The SQL below (using a recent build of 16.0.0) works fine for me.
Reg
PS: Apologies for the screenshot. I was having trouble pasting text into the response for some reason.