Arcade expression pop-up query

480
2
Jump to solution
05-18-2022 08:11 AM
Hoquez
by
New Contributor II

Hey all,

I'm trying to configure pops-ups. The following expression works fine.

var formatService = When($datapoint["services_offered"]=='Health_Department/Clinics' , ‘Health Department/Clinics ’)

 

However, the expression is given below doesn't works.

var formatService = When($datapoint["services_offered"]=='Health_Department/Clinics' & 'Family_Planning_Birth_Control_S', ‘Health Department/Clinics and Family Planning Birth Control Services’)

 

Can you please share your thought?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
KarstenRank
Occasional Contributor III

Hello,

try:

var formatService = When($datapoint["services_offered"]=='Health_Department/Clinics' && $datapoint["services_offered"] == 'Family_Planning_Birth_Control_S', ‘Health Department/Clinics and Family Planning Birth Control Services’)

 

Greetings

Karsten

View solution in original post

2 Replies
KarstenRank
Occasional Contributor III

Hello,

try:

var formatService = When($datapoint["services_offered"]=='Health_Department/Clinics' && $datapoint["services_offered"] == 'Family_Planning_Birth_Control_S', ‘Health Department/Clinics and Family Planning Birth Control Services’)

 

Greetings

Karsten

Hoquez
by
New Contributor II

The problem is solved. Thanks. 

0 Kudos