Thanks, It worked!! I am using below expression for dynamics 365 option set value comparision
if(equals(triggerBody()['new_revenuetype'],100000000),'ECNB',if(equals(triggerBody()['new_revenuetype'],100000001),'ECEB','NCNB'))
new_revenuetype is the schema name of the dynamics field and '100000000 and 100000001' are the optionset values. ECEB and NCNB are the sharepoint picklist values.