<?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: Show top ranking Product for that month in Tooltip in Line &amp;amp; Clustered Column Chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-top-ranking-Product-for-that-month-in-Tooltip-in-Line-amp/m-p/2846637#M91098</link>
    <description>&lt;P&gt;Try&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Top Ranked Product Name =
VAR RankingContext =
    VALUES ( Nav_Item[Product Name] )
RETURN
    CONCATENATEX (
        TOPN ( 1, RankingContext, [Amount Measure] ),
        Nav_Item[Product Name],
        ", "
    )
&lt;/LI-CODE&gt;
&lt;P&gt;In the case where there are more than 1 product ranked #1 then it will return a comma separated list of each of them&lt;/P&gt;</description>
    <pubDate>Mon, 17 Oct 2022 13:45:24 GMT</pubDate>
    <dc:creator>johnt75</dc:creator>
    <dc:date>2022-10-17T13:45:24Z</dc:date>
    <item>
      <title>Show top ranking Product for that month in Tooltip in Line &amp; Clustered Column Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-top-ranking-Product-for-that-month-in-Tooltip-in-Line-amp/m-p/2846456#M91093</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Line &amp;amp; Clustered Column Chart that details Sales by Month for each Financial Year. I'm able to use my Rank X Measure to show the top Sales Amount for each month rated by the Product Name which sold the most in that month..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;However I would like the Name to be output also. Not sure how to do that! Here's my RANKX dax for the Top Ranked Product Amount Measure..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Top Ranked Product Amount = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RankingContext&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Nav_Item&lt;/SPAN&gt;&lt;SPAN&gt;[Product Name]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Amount Measure]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TOPN&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Nav_Item&lt;/SPAN&gt;&lt;SPAN&gt;[Product Name]&lt;/SPAN&gt;&lt;SPAN&gt; ), &lt;/SPAN&gt;&lt;SPAN&gt;[Amount Measure]&lt;/SPAN&gt;&lt;SPAN&gt; ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RankingContext&lt;/SPAN&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Oct 2022 12:22:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-top-ranking-Product-for-that-month-in-Tooltip-in-Line-amp/m-p/2846456#M91093</guid>
      <dc:creator>Tob_P</dc:creator>
      <dc:date>2022-10-17T12:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Show top ranking Product for that month in Tooltip in Line &amp; Clustered Column Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-top-ranking-Product-for-that-month-in-Tooltip-in-Line-amp/m-p/2846637#M91098</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Top Ranked Product Name =
VAR RankingContext =
    VALUES ( Nav_Item[Product Name] )
RETURN
    CONCATENATEX (
        TOPN ( 1, RankingContext, [Amount Measure] ),
        Nav_Item[Product Name],
        ", "
    )
&lt;/LI-CODE&gt;
&lt;P&gt;In the case where there are more than 1 product ranked #1 then it will return a comma separated list of each of them&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 13:45:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-top-ranking-Product-for-that-month-in-Tooltip-in-Line-amp/m-p/2846637#M91098</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-10-17T13:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Show top ranking Product for that month in Tooltip in Line &amp; Clustered Column Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-top-ranking-Product-for-that-month-in-Tooltip-in-Line-amp/m-p/2846968#M91125</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;- Excellent work again John. Worked a treat!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 15:21:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-top-ranking-Product-for-that-month-in-Tooltip-in-Line-amp/m-p/2846968#M91125</guid>
      <dc:creator>Tob_P</dc:creator>
      <dc:date>2022-10-17T15:21:39Z</dc:date>
    </item>
  </channel>
</rss>

