If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Linking Revenue data to other country in map

Started by saumil287, 20 Jun 2011 05:18:13 AM

Previous topic - Next topic

saumil287

Hi All,
I am having arequirement where the revenue data of china country should be linked to India map. So I wrote the folowing code
CASE [Retailer country]
    WHEN 'China' THEN ([Retailer country] = 'India')
   END
but still giving an error.

Mpotla

HI,

Create one data item with the expresion

CASE [Retailer country]
    WHEN 'China' THEN ( 'India')
Else
([Retailer country] )
   END

Hope this would help!

Regards,
McMohan

saumil287


MFGF

You could probably achieve this without coding an expression - just use the Dictionary property of the map to translate 'China' to 'India'.  Given you already have a working solution, it's probably irrelevant this time, but if you come across the issue again in future it may save you a little coding. :)

MF.
Meep!