Skip to main content

App Development

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

Announcements
Welcome to Qlik Community! Check out our new navigation! FIND OUT MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
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
Author

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

View solution in original post

4 Replies
utkarshgarg
Creator II
Creator II

This may be helpful :

QLIK SENSE: Get Current Selected Field

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

Thanks,

UG

Not applicable
Author

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
Creator II
Creator II

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
Author

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

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