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 September 15. Request your voucher.

Reply
Anonymous
Not applicable

Plotting Latitude and Longitude on Map that are calculated via DAX measures

Hi all,

I have calculated "average" latitude and longitude coordinates by converting them from decimal coordinates(lat/lon) -> to cartesian coorinates (x, y, z) -> and back to decimal coordinates (lat/lon). However, when attempting to plot them onto the map visualisation, I get this error message:

"Can't display this visual.
To display latitude and longitude pairs, set the aggregate for Latitude and Longitude to Don't summarize."

However, since they are measures, I do not have any option to set them to "Don't summarize". How can I plot these points?

@Greg_Deckler @koorosh 

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@Anonymous IDK, not sure if I ever tried using measures for map locations before. Perhaps you could try creating a calculated table? Seems like a bug to me. Measure, by definition, can only return a single, scalar value so seems like it should work as long as you have something in the Legend that uniquely identifies each point.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi @Greg_Deckler, sorry for late reply. The limitation of what i'm trying to do requires the map coordinates as calculated measures, which makes it tricky. I found a round-about way to do it without having it as measures (less accurate, but fits ~80% of the requirement) and it was good enough for me.
 

Thanks for your comment!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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