Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Using Or function

hi All,

Can you please tell me if the below syntax is correct? I am trying to use or and like condtion together

count({<Officeaddress ={"*Delhi*","* New Delhi*","*Old Delhi*"}>} Transaction_id)

1 Solution

Accepted Solutions
Not applicable
Author

So wouldn't you just add 'ND'

count({<Officeaddress ={"*Delhi*","* New Delhi*","*Old Delhi*", 'ND'}>} Transaction_id)

View solution in original post

7 Replies
vardhancse
Specialist III
Specialist III

why cant u use only one condition

=count({$<Officeaddress={'*Delhi*'}>}(Transaction_ID))


as its  a wild card search it will take all the data which contains delhi

Not applicable
Author

Sorry i missed actually I need to check ND as well

vardhancse
Specialist III
Specialist III

wild card search.jpgas its a wild card search it will give u the count of transaction Id which contains office address *delhi*.

Not applicable
Author


Hi Sai,

Thanks foy your help but some people have written Delhi as ND so i want to pass ND as well in or condtion

Not applicable
Author

So wouldn't you just add 'ND'

count({<Officeaddress ={"*Delhi*","* New Delhi*","*Old Delhi*", 'ND'}>} Transaction_id)

Marcio_Campestrini
Specialist
Specialist

Hi Sasi.

And what if you change the ND to New Delhi in the script, putting a condition in the script?

Márcio Rodrigo Campestrini
vardhancse
Specialist III
Specialist III

hi you can  use applymap function for ND to New Delhi

Applymap('CD',Officeaddress) as Officeaddress,

we can use excel sheet to get description from code