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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
josecruz50
New Member

Filtering by range of data (coordinates)

Hi! One week Power BI user here...

 

I have created a report about tremors. Among the data that I am reporting, I have latitude and longitude, which are plotting without any problem on my Map visualization. The thing is that I want to filter my data to a range of specific coordinates. I am looking for something like the date range filter that the Slicer visualization has, but for latitude and longitud. I also want to set my data my regions, for example, whatever falls between latitude -50 and -60 & longitude 20 and 30, I will call it My Land; and then I have a simple Slicer with those preset regions. I want my users to select their desire range of coordinates or select the preset regions, so that both my data and its related map can be automatically filtered based on those selections. Having the map to zoom to that range of coordinates automatically (although it does not have to be perfectly zoomed, due to the size of the map), would be an awesome plus!

 

Any ideas? Thank you!

1 ACCEPTED SOLUTION

I figured out the problem. Although my latitude and longitude variables were set to the correct data category, the data type had to be decimal number.

View solution in original post

3 REPLIES 3
v-xicai
Community Support
Community Support

Hi @josecruz50 ,

 

You can put the Latitude and Longitude value into the Latitude and Longitude of Map visual in Fields pane, and then create Slicers for Latitude and Longitude like picture below.

 

6.png

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 


@v-xicai wrote:

Hi @josecruz50 ,

 

You can put the Latitude and Longitude value into the Latitude and Longitude of Map visual in Fields pane, and then create Slicers for Latitude and Longitude like picture below.

 

6.png

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 


Hello @v-xicai . What you just showed is exactly what I need, but when I create a slicer based on latitude or longitude, the system gives me two options for slicer type: list and dropdown. The system is not giving me an option for range selection bar. Can you tell me how you got it? Thanks!!!

I figured out the problem. Although my latitude and longitude variables were set to the correct data category, the data type had to be decimal number.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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