Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Not applicable

GetFieldSelections in sense map chart doesnt work

Hello, everyone!

Could someone share an idea, why does an expression like

if(getfieldselections([Analysis criteria])='Sales',Sum([Sales]),[Price])

which works correctly on a linechart (the Country as dimension as well) nearby doesnt work at the map object?

Regards,

Alexa.

1 Solution

Accepted Solutions
Not applicable

Re: GetFieldSelections in sense map chart doesnt work

Thanks for your reply. I've got differet cahrts working with getfieldselections. Only map didnt work appropriate=(

I've  made some changes in the expression and data model, now everything works fine=)

Best regards

4 Replies
utkarshgarg
Contributor II

Re: GetFieldSelections in sense map chart doesnt work

This may be helpful :

QLIK SENSE: Get Current Selected Field

Mike Tarallo used getfieldselections in his expression. It works..

Thanks,

UG

Not applicable

Re: GetFieldSelections in sense map chart doesnt work

Thanks for your reply. I've got differet cahrts working with getfieldselections. Only map didnt work appropriate=(

I've  made some changes in the expression and data model, now everything works fine=)

Best regards

utkarshgarg
Contributor II

Re: GetFieldSelections in sense map chart doesnt work

Are you trying to use two expressions in a single chart?

if yes, you can use the button extension.

Using this you can use up to five expression in your map using if else statements.

Check the example attached in this thread

2 KPIs in 1 map

Not applicable

Re: GetFieldSelections in sense map chart doesnt work

yes, I used 2 expressions to simulate conditional show of the chart.

I'll look at the extension you've mentioned, thanks a lot!