<?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: RANKING VALUE in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4252229#M168400</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you quick check my data, I follow your instruction but seem it returns wrong result&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2024 08:27:42 GMT</pubDate>
    <dc:creator>HanhLe</dc:creator>
    <dc:date>2024-10-22T08:27:42Z</dc:date>
    <item>
      <title>RANKING VALUE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4242856#M167976</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I want to make a ranking of product type for each lines follow these description, but I got wrong result, hope to receive your help, thanks&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 09:31:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4242856#M167976</guid>
      <dc:creator>HanhLe</dc:creator>
      <dc:date>2024-10-15T09:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: RANKING VALUE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4242913#M167980</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;You need to remove filters on whatever A02, A03 is (products?) so that RANK evaluates over the entire product type and not just over each product. So something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Rank = 
RANKX(
    ALL(Products[Product]),
    [Average of PPH], //Or whatever measure you want to rank by
    ,
    DESC
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try it out and if it doesn't work you can give some more info on how the data is structured and what measures you have been trying so I can give you more specific advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 10:13:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4242913#M167980</guid>
      <dc:creator>TomasAndersson</dc:creator>
      <dc:date>2024-10-15T10:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: RANKING VALUE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4245743#M168094</link>
      <description>&lt;P&gt;Hi Tomas,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your advice, maybe I did not descripe clearly about what result I want to have so let me adjust my BIs visual, I want to rank top PPH line produce each product type, and please consider that 1 line can produce multiple product type.&lt;/P&gt;&lt;P&gt;This analysis can help me know that for each product type, which line produce better. Kindly help to check, thanks a lot&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 02:38:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4245743#M168094</guid>
      <dc:creator>HanhLe</dc:creator>
      <dc:date>2024-10-17T02:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: RANKING VALUE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4250152#M168276</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="747234" data-lia-user-login="HanhLe" class="lia-mention lia-mention-user"&gt;HanhLe&lt;/a&gt;&amp;nbsp;, hello&amp;nbsp;TomasAndersson, thank you for the prompt reply!&lt;BR /&gt;&lt;BR /&gt;Check the following measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Top PPH = 
VAR CurrentProductType = SELECTEDVALUE('Table'[Product Type])  
VAR CurrentLine = SELECTEDVALUE('Table'[Line])               

RETURN
    RANKX(
        FILTER(
            ALL('Table'),                                   
            'Table'[Product Type] = CurrentProductType      
        ),
        CALCULATE(SUM('Table'[PPH])),                                       
        ,
        ASC,                                                  
        DENSE                                                
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Joyce&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 06:30:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4250152#M168276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-21T06:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: RANKING VALUE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4252176#M168395</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you help to check my data, seem it does not work&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 08:07:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4252176#M168395</guid>
      <dc:creator>HanhLe</dc:creator>
      <dc:date>2024-10-22T08:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: RANKING VALUE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4252189#M168396</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help to check my data, seem the result is not same as yours data's demonstration, thanks&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 08:12:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4252189#M168396</guid>
      <dc:creator>HanhLe</dc:creator>
      <dc:date>2024-10-22T08:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: RANKING VALUE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4252229#M168400</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you quick check my data, I follow your instruction but seem it returns wrong result&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 08:27:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4252229#M168400</guid>
      <dc:creator>HanhLe</dc:creator>
      <dc:date>2024-10-22T08:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: RANKING VALUE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4255844#M168591</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="747234" data-lia-user-login="HanhLe" class="lia-mention lia-mention-user"&gt;HanhLe&lt;/a&gt;&amp;nbsp;，&lt;BR /&gt;&lt;BR /&gt;Thank you for your feedback.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please help identify if you have duplicate product lines for your product type?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, we recommend that you summarise the table first and then rankx according to the summary table:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 = SUMMARIZE('Table',
'Table'[Line],
'Table'[Product Type],
"PPH",(SUM('Table'[PPH])))&lt;/LI-CODE&gt;
&lt;P&gt;If the issue persists, please upload your sample pbix file for further troubleshooting.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;In addition, do not include sensitive information or anything not related to the issue or question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Joyce&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 07:51:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4255844#M168591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-24T07:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: RANKING VALUE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4257321#M168676</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lots for your checking&lt;/P&gt;&lt;P&gt;Yes I think the issue is from duplicate value by another column is [Date].&lt;/P&gt;&lt;P&gt;I would prefer not to summarize the table coz I still need [Date] filter for analysis&lt;/P&gt;&lt;P&gt;Since I cannot attached pbix file here so please access this link for data with more clear for you.&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/12c6i-rNCfTnLAdIkdl7gaDOQ1zCerZ2b/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/12c6i-rNCfTnLAdIkdl7gaDOQ1zCerZ2b/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 06:16:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4257321#M168676</guid>
      <dc:creator>HanhLe</dc:creator>
      <dc:date>2024-10-25T06:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: RANKING VALUE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4259735#M168803</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="747234" data-lia-user-login="HanhLe" class="lia-mention lia-mention-user"&gt;HanhLe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I’m unable to open the link file you shared.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please check the link or provide the information without any sensitive information in a different format?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your understanding!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 02:40:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4259735#M168803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-28T02:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: RANKING VALUE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4266348#M169102</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I cannot attach file here so please check the link again. I already opened link access&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 02:57:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKING-VALUE/m-p/4266348#M169102</guid>
      <dc:creator>HanhLe</dc:creator>
      <dc:date>2024-11-01T02:57:07Z</dc:date>
    </item>
  </channel>
</rss>

