Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Bookmark action from map visual

Hi all,

 

I  need to toggle a matrix / table visual on and off , when user clicks a circle on the map visual.

I ve created 2 bookmarks , one with a visible table including detail information of the clicked entity on the map and the other

one where this table is hidden.

but I cant find a way to connect the bookmarks to the map visual points.

 

Is this possible via bookmarks or they are not the correct components for this behavour ?

 

 

best regards

David

 

 

  • Hi Anonymous ,

    You can create a measure and a text box to achieve this instead of using bookmarks.

    Create a measure like this, put it in the table visual filter and set its value as 1:

    visual control =
    IF (
        CALCULATE ( COUNT ( 'Table'[City] ), ALLSELECTED ( 'Table' ) )
            < CALCULATE ( COUNT ( 'Table'[City] ), ALL ( 'Table' ) ),
        0,
        1
    )
    

    Create a text box without any values in it to hide the column headers of the table visual. When you click circles in the map, the visual would look like 'disappear'.

    Attached a sample file in the below, hopes it could help.

     

    Best Regards,
    Community Support Team _ Yingjie Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

5 Replies

  • v-yingjl's avatar
    v-yingjl
    Community Support

    Hi Anonymous ,

    You can create a measure and a text box to achieve this instead of using bookmarks.

    Create a measure like this, put it in the table visual filter and set its value as 1:

    visual control =
    IF (
        CALCULATE ( COUNT ( 'Table'[City] ), ALLSELECTED ( 'Table' ) )
            < CALCULATE ( COUNT ( 'Table'[City] ), ALL ( 'Table' ) ),
        0,
        1
    )
    

    Create a text box without any values in it to hide the column headers of the table visual. When you click circles in the map, the visual would look like 'disappear'.

    Attached a sample file in the below, hopes it could help.

     

    Best Regards,
    Community Support Team _ Yingjie Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      That works... Such a nice idea..

       

      thanks a lot...

       

    • Anonymous's avatar
      Anonymous
      Not applicable

      Just one more question,

      what ever I do to format the visual (forward / backward) etc

      if I make the map wider so the visual overlaps it,
      it always stays visible in the back of the map
      I cant bring it to front and have the toggle effect.

       

      any ideas ?

       

       

  • Anonymous , usually while creating the bookmark, it creates a snapshot and should be retrieved at that point.

    so if you save on a position on map , it should work

    • Anonymous's avatar
      Anonymous
      Not applicable

      I see

      so the bookmarked visual will appear only for 1 point.

       

      I would like to make it work for all points on the map..

      The behavour I m looking for is the same as a tooltip , but this is like a tooltip at a fixed place ... Not appearing on top of the mouse...