Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Announcements
Qlik Analytics Tour 2020 Online. Begins August 10th. Register Today
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Specialist II
Specialist 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
Highlighted
Specialist II
Specialist II

Re: SVG Maps

Thanks Steve

I've showed the national map using this

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

View solution in original post

2 Replies
Highlighted
Creator
Creator

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.

Highlighted
Specialist II
Specialist II

Re: SVG Maps

Thanks Steve

I've showed the national map using this

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

View solution in original post