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?
Solved! Go to Solution.
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
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
The problem is solved. Thanks.