Hi folks,
I have a table with ids and geometries: item_id, location
I want to show all items on a map regardless of the user selection on item_id. I thought I could do this by configuring the dimension as only({1}item_id) but I get an invalid dimension error.
I've thought of using alternate states, but then if the user picks an item from the map, I can't see the selection in other charts.
How can I show all items on the map regardless of the current selections?
Hi Morenoju,
I think the only way is to disable the selections, but you can't overrule selections being made in the other objects. The current map will always show it.
Jordy
Climber
Thanks Jordy. But isn't there a way to show all items on the map layer regardless the selections being made in other objects? This is something we often do in tables and charts.
I tried to use an alternate state
=only({AlternateState2}[item_id])
But it also gives invalid dimension error.
@Patric_Nordstrom , maybe you have a visualization trick to achieve this? 🙂
Thanks!
For now, what I'm going to be doing is to concatenate the locations as a multistring:
LOAD
0 as item_id,
'[' & concat(location,',') & ']' as location,
RESIDENT items;
Yes, the easiest way is to use set analysis to ignore selections. Make sure the set expression is on all the measures: location, color, label in the layer etc etc.
Dimension = item
Location = only({1} location)
Thanks,
Patric