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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors