Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

Map point position varying with parameter slider

I inserted lat long coordinates in two different parameters (what if function), however I'm not able to update my custom visual map with this point, once the databases are not linked.

3 Replies

  • v-yulgu-msft's avatar
    v-yulgu-msft
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi Anonymous,

     

    You want to update the data points located on map visual via the specified numeric value in What If Parameter, right? However, this is not possible. As the data points in map visual is determined by the field [lat] and [long] which are not related to the what if parameter. The What If Parameter works only when you use the corresponding measure Parameter Value = SELECTEDVALUE(Parameter[Parameter]) in other calculations. In your scenario, you just need to add [lat] and [long] into two common slicers.

     

    Best regards,

    Yuliana Gu

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi v-yulgu-msft, thanks for help, unfortunatelly still not working.. I'd like to provide to the user the ability to select the position (only 1 point, 1 lat/long pair) where the evaluation will begin. Below you can find my .pbix file with test and errors messages:

      Test

       

      Thanks!

  • Anonymous's avatar
    Anonymous
    Not applicable

    Were you able to get this resolved?  I'm having the same issue.  I want to use What-if parameters to pass a dynamic latitude and longitude and the map to plot it.  I'm getting an error where it seems like it won't accept the measures from the selectedvalues from the what-if.