Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Gau1
Contributor II
Contributor II

Expression works in table object but does not work in Map object

Hi All,

I have below expression which works in table object but does not work in Map object

Sum( {<region_exco={$(=concat( distinct chr(39) & region_exco & chr(39),',') )},reporting_unit=>} 1)

The business requirement is when "reporting unit" is selected it should show  all the "reporting unit" from that "region_exco".

Can anyone help me in this please.

Thanks in advance.

Regards,

GG

 

 

Labels (1)
6 Replies
anat
Master
Master

can you try with P function

https://help.qlik.com/en-US/sense/November2023/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAn...

 

Sum( {<region_exco=p(region_exco),reporting_unit=>} 1)

Gau1
Contributor II
Contributor II
Author

Hi Anat,

Thanks for your reply.

But this is also not working.

anat
Master
Master

if possible can you share sample data and expected output...

vinieme12
Champion III
Champion III

The business requirement is when "reporting unit" is selected it should show  all the "reporting unit" from that "region_exco".

why would you need to use set analysis for filtering associated values when Qlik does that by default??

 

=Sum( 1)

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Gau1
Contributor II
Contributor II
Author

Hi, 

"reporting unit" are cities and "region_exco" are respective countries. When the user selects one city the all the cities from that country should be visible in the Map chart. This is the requirement.

Can you please help me in this.

Regaards,

Gaurav 

vinieme12
Champion III
Champion III

Then you need to associate those fields in the data model

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.