Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Should this not work?
Thanks
if(Match(Opportunity.davey_HeaderCancelCode,'05','06','18','22','24','25','27') > 0,1,0) as HPermCancel,
Found the problem. CRM stored them without the leading 0 and SAP with the leading 0. Resolved.
Looks OK to me. What are the possible values for Opportunity.davey_HeaderCancelCode and what are you getting for HPermCancel?
Hi,
can you try like below.
if(Match(Opportunity.davey_HeaderCancelCode,'05','06','18','22','24','25','27') ,1,0) as HPermCancel,
or
if(WlidMatch(Opportunity.davey_HeaderCancelCode,'05','06','18','22','24','25','27') ,1,0) as HPermCancel,
Thanks,
Mukram
It seems like it should work... basically you are assigning 1 for all those rows where Opportunuty.dabey_HeaderCancelCode = 05, 06, 18, 22, 24, 25, 27, right?
Yep
Don't see a reason for it to not work.... Is it not flagging anything with 1? or everything is flagged with 1? What is going on?
I am running it again to see what is flagged and what is not. Will keep you posted thanks.
My test did not work.....any ideas....
What were the results? Without giving me more details, I would be throwing stones in the dark...
I am reading 2 different databases (Microsoft CRM and SAP) one is storing it differently than the other. I will re-run in the morning and let you know the results. Need to make a few changes and re-extract the data. Thanks