# Geolocation in Data Explorer - how to avoid mixed results?

**URL:** <https://community.dynatrace.com/t/geolocation-in-data-explorer-how-to-avoid-mixed-results/33540>\
**Category:** Dashboarding\
**Tags:** data-explorer, dashboards-classic, geolocation\
**Created:** [December 14, 2021, 12:30pm UTC](https://community.dynatrace.com/t/geolocation-in-data-explorer-how-to-avoid-mixed-results/33540 "2021-12-14T12:30:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![marc\_zantingh](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marc_zantingh/32/7762_2.png) [@marc\_zantingh](https://community.dynatrace.com/u/marc_zantingh)\
**Post date:** [December 14, 2021, 12:30pm UTC](https://community.dynatrace.com/t/geolocation-in-data-explorer-how-to-avoid-mixed-results/33540/1 "2021-12-14T12:30:28Z")

</div>

When I base a graph or table in the Data Explorer on geolocation, the resulting data is on several different ‘levels’ - cities, countries, continents - all mixed up. Is there a way to prevent this, by filtering on one level for instance?

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [March 30, 2022, 3:47pm UTC](https://community.dynatrace.com/t/geolocation-in-data-explorer-how-to-avoid-mixed-results/33540/2 "2022-03-30T15:47:57Z")

</div>

You can set a filter to filter it by continent, but not list it by continents. The Ascending/Descending isn’t by location name either, its based off the values for each location.

This would be a great RFE to put in tho.

---

<div class="post-metadata">

**Author:** ![zietho](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/zietho/32/41733_2.png) [@zietho](https://community.dynatrace.com/u/zietho)\
**Post date:** [July 20, 2022, 9:45pm UTC](https://community.dynatrace.com/t/geolocation-in-data-explorer-how-to-avoid-mixed-results/33540/3 "2022-07-20T21:45:55Z")

</div>

Chad is right.

You can, however, influence the sorting. To do so use the code mode like:

before

 ![zietho_2-1658352504380.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/3/b3762b8aae5c605f5038577d545d75a34ac2d60c.png)

after (using dimension instead of value):

 ![zietho_0-1658353535050.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/1/012d3ad3e3e8cc3dfa0b64ecdb9b1c32ff0b93f6.png)

regards

Thomas

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [July 21, 2022, 8:11am UTC](https://community.dynatrace.com/t/geolocation-in-data-explorer-how-to-avoid-mixed-results/33540/4 "2022-07-21T08:11:24Z")

</div>

[@zietho](https://community.dynatrace.com/user/23400)&nbsp;I disagree on this. This will sort on the internal dimension value, not on the human readable value, so it’s not applicable in general.  
So it sorts on the values like APPLICATION-CB0200BF7867BEA0 instead of “Easytravel Angular”. You need to engage the **:names** transformation to get another dimension value - the human readable one.

---

<div class="post-metadata">

**Author:** ![zietho](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/zietho/32/41733_2.png) [@zietho](https://community.dynatrace.com/u/zietho)\
**Post date:** [July 21, 2022, 1:14pm UTC](https://community.dynatrace.com/t/geolocation-in-data-explorer-how-to-avoid-mixed-results/33540/5 "2022-07-21T13:14:37Z")

</div>

true indeed, forgot about :names ;). good catch and I will update by time.
