Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

joaquinlr
Valued Contributor II

SVG Maps

Hi:

I've created an app that shows a world map with the related data.

Is it possible to switch to national maps (by province) when selected over a country?

Thank you

Tags (4)
1 Solution

Accepted Solutions
joaquinlr
Valued Contributor II

Re: SVG Maps

Thanks Steve

I've showed the national map using this

= IF (GetSelectedCount(Country)=1, only(CountryMapFile), 'world.svg')

2 Replies
ses
Contributor

Re: SVG Maps

Hi Joaquin,

You can specify this kind of expression in the Load SVG path

=if(count(DISTINCT CountryCode)>1, 'World.svg', only(FileName))

with the FileNames referencing the necessary SVG file.

joaquinlr
Valued Contributor II

Re: SVG Maps

Thanks Steve

I've showed the national map using this

= IF (GetSelectedCount(Country)=1, only(CountryMapFile), 'world.svg')

Community Browser