in your browser, go to your service end point and see if you have duplicates
http://xx.xx.xx.xx:8000/AC_ANALYTICS/Power111.xsodata/SENSOR_DETAILS1?$format=json&$orderby=SO_TEXT_DT_MM_YYYY
see if the duplicates exist...
if you do not have access to fix the view. you will need to do it on a json object... (I dont recommend this approach.. you should try to get the view fixed instead)