I have created the following formula to try and get multiple parameters selected to show:
if (join({?area},", ")) = "2" then "Bournemouth" else
if (join({?area},", ")) = "3" then "Poole" else
if (join({?area},", ")) = "51" then "Beaminster" else
if (join({?area},", ")) = "52" then "Bridport" else
if (join({?area},", ")) = "53" then "Dorchester" else
if (join({?area},", ")) = "54" then "Lyme Regis" else
if (join({?area},", ")) = "55" then "Sherborne" else
if (join({?area},", ")) = "56" then "Swanage" else
if (join({?area},", ")) = "57" then "Wareham" else
if (join({?area},", ")) = "572" then "Bere Regis" else
if (join({?area},", ")) = "578" then "Wool" else
if (join({?area},", ")) = "581" then "Weymouth" else
if (join({?area},", ")) = "585" then "Portland" else
if (join({?area},", ")) = "61" then "Blandford" else
if (join({?area},", ")) = "62" then "Christchurch" else
if (join({?area},", ")) = "63" then "Ferndown" else
if (join({?area},", ")) = "64" then "Gillingham" else
if (join({?area},", ")) = "65" then "Shaftesbury" else
if (join({?area},", ")) = "66" then "Verwood" else
if (join({?area},", ")) = "67" then "Wimborne" else
if (join({?area},", ")) = "677" then "Sturminster Newton"
This works fine if only one area is selected in the parameter but as soon as two or more values are selected in the parameter then nothing shows.
what am i doing wrong?