Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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 3
wallace13
Advocate II
Advocate II

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.

 

wallace13_0-1660858838962.png

 

v-yulgu-msft
Employee
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.

1.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.