<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Azure Map Point ID, Order help in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4839229#M184792</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/712480"&gt;@unknown917&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The idea is that you want to rank the entries by distance, and then keep only the ones where rank = 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something along the lines of this:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;RankInBin =
VAR sp  = 'Table'[StartingPoint]
VAR bin = 'Table'[DirBin]
RETURN
    RANKX(
        FILTER(
            ALL('Table'),
            'Table'[StartingPoint] = sp
                &amp;amp;&amp;amp; 'Table'[DirBin] = bin
        ),
        'Table'[DistanceKm],
        ,
        DESC,
        DENSE
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next create a slim table of “farthest points” by filtering to RankInBin = 1:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;OutlierPoints =
FILTER(
    'Table',
    'Table'[RankInBin] = 1
)&lt;/LI-CODE&gt;&lt;P&gt;If you sometimes get multiple rows with the exact same max distance, add a secondary tiebreaker to the rank. One simple way is build a SortKey column and rank by that:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SortKey = 'Table'[DistanceKm] * 1000000 + (360 - 'Table'[BearingDeg]) / 1000&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Then change the RANKX expression to use [SortKey] instead of DistanceKm, still DESC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Sep 2025 16:03:16 GMT</pubDate>
    <dc:creator>tayloramy</dc:creator>
    <dc:date>2025-09-30T16:03:16Z</dc:date>
    <item>
      <title>Azure Map Point ID, Order help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4838193#M184768</link>
      <description>&lt;P&gt;I have a table with a starting point and multiple end points.&amp;nbsp; I have calculated the distance and cardinal direction from the starting point to each of the end points.&amp;nbsp; I now wish to take the most outlying points and represent them on the azure map as a polygon to visualize the territory surrounding the starting point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone offer some guidance as to how to summarize, or filter, the data on the visual as to only return the single most outlying points?&amp;nbsp; Create a new table?&amp;nbsp; Or create a calculated within the existing table to get a sequence?&amp;nbsp; There are duplicates in the table as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 16:03:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4838193#M184768</guid>
      <dc:creator>unknown917</dc:creator>
      <dc:date>2025-09-29T16:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Map Point ID, Order help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4838301#M184772</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Here is an example of a failed attempt (backstory, my distance and direction calcs are measures):&lt;/SP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t;[StartingPoint]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Latitude]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Longitude]&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Sep 2025 19:19:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4838301#M184772</guid>
      <dc:creator>unknown917</dc:creator>
      <dc:date>2025-09-29T19:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Map Point ID, Order help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4838348#M184773</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/712480"&gt;@unknown917&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You’re basically trying to draw the “territory” around a start location. In geospatial terms, that’s a boundary around your farthest points (often approximated by selecting the farthest point in each direction and connecting them in order, or by computing a convex hull). The Azure Maps visual can show that boundary as a polygon if you give it geometry (e.g., WKT/GeoJSON) via a reference layer, or you can switch to a custom visual (like Icon Map) that accepts WKT directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this approach:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Move “distance” and “bearing/direction” from measures to columns&lt;/STRONG&gt;&lt;BR /&gt;You need row-level values to rank and sort points. Create calculated columns (or do it in Power Query) for:&lt;UL&gt;&lt;LI&gt;DistanceKm (Haversine)&lt;/LI&gt;&lt;LI&gt;BearingDeg (0–360 degrees from start &amp;gt; endpoint)&lt;/LI&gt;&lt;LI&gt;DirBin (e.g., 16 bins of 22.5° each)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Pick the outliers (one per direction bin)&lt;/STRONG&gt;&lt;BR /&gt;Create a small table of only the farthest point per direction bin, per StartingPoint (use RANKX in DAX or a Group/Max step in Power Query). This eliminates duplicates naturally.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Build the polygon (WKT) by ordering points by bearing&lt;/STRONG&gt;&lt;BR /&gt;Concatenate the ordered lon/lat pairs into a POLYGON((lon lat, ... , lon lat)) string (repeat the first coordinate at the end to close the ring).&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Show it on a map&lt;/STRONG&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Azure Maps:&lt;/EM&gt; Add the polygon as a &lt;STRONG&gt;Reference layer&lt;/STRONG&gt; (upload a CSV with the WKT column), or if your model produces WKT as a table, export it and use that CSV as the reference layer. The Azure Maps visual supports WKT/GeoJSON/KML/SHP via reference layers. See: &lt;A href="https://learn.microsoft.com/azure/azure-maps/power-bi-visual-add-reference-layer" target="_blank" rel="noopener"&gt;Add a reference layer to Azure Maps&lt;/A&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 21:41:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4838348#M184773</guid>
      <dc:creator>tayloramy</dc:creator>
      <dc:date>2025-09-29T21:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Map Point ID, Order help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4839006#M184790</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1340679"&gt;@tayloramy&lt;/a&gt;&amp;nbsp;- I'm struggling with 2. how to create the table with the farthest points by direction, by starting point. I created a Variant table to get the data I need, but am not grasping how to use RANKX to produce a short list of lat/long by direction, by farthest point.&amp;nbsp; Any guidance would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 12:12:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4839006#M184790</guid>
      <dc:creator>unknown917</dc:creator>
      <dc:date>2025-09-30T12:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Map Point ID, Order help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4839229#M184792</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/712480"&gt;@unknown917&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The idea is that you want to rank the entries by distance, and then keep only the ones where rank = 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something along the lines of this:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;RankInBin =
VAR sp  = 'Table'[StartingPoint]
VAR bin = 'Table'[DirBin]
RETURN
    RANKX(
        FILTER(
            ALL('Table'),
            'Table'[StartingPoint] = sp
                &amp;amp;&amp;amp; 'Table'[DirBin] = bin
        ),
        'Table'[DistanceKm],
        ,
        DESC,
        DENSE
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next create a slim table of “farthest points” by filtering to RankInBin = 1:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;OutlierPoints =
FILTER(
    'Table',
    'Table'[RankInBin] = 1
)&lt;/LI-CODE&gt;&lt;P&gt;If you sometimes get multiple rows with the exact same max distance, add a secondary tiebreaker to the rank. One simple way is build a SortKey column and rank by that:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SortKey = 'Table'[DistanceKm] * 1000000 + (360 - 'Table'[BearingDeg]) / 1000&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Then change the RANKX expression to use [SortKey] instead of DistanceKm, still DESC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 16:03:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4839229#M184792</guid>
      <dc:creator>tayloramy</dc:creator>
      <dc:date>2025-09-30T16:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Map Point ID, Order help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4841075#M184824</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/712480"&gt;@unknown917&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for submitting your question to the Microsoft Fabric Community Forum, and thanks to&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1340679"&gt;@tayloramy&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;for offering helpful suggestions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you let us know if the suggested solution resolved your issue?If you still need help, please share more details so we can assist you further.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 05:07:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4841075#M184824</guid>
      <dc:creator>v-karpurapud</dc:creator>
      <dc:date>2025-10-03T05:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Map Point ID, Order help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4842736#M184863</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/712480"&gt;@unknown917&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We have not received a response from you regarding the query and were following up to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank You.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 04:36:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4842736#M184863</guid>
      <dc:creator>v-karpurapud</dc:creator>
      <dc:date>2025-10-06T04:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Map Point ID, Order help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4846176#M184952</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/712480"&gt;@unknown917&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;I wanted to check if you’ve had a chance to review the information provided. If you have any further questions, please let us know. Has your issue been resolved? If not, please share more details so we can assist you further.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 05:24:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Azure-Map-Point-ID-Order-help/m-p/4846176#M184952</guid>
      <dc:creator>v-karpurapud</dc:creator>
      <dc:date>2025-10-09T05:24:46Z</dc:date>
    </item>
  </channel>
</rss>

