<?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: Rank column in a table visualization with multiple categories coming from different sources in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-column-in-a-table-visualization-with-multiple-categories/m-p/2271511#M55320</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , You have to create a measure rank &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;rankx(summarize(allselected(source1), sources2[SKU], source1[gender],source1[color], source1[source2]) , [sales],,desc, dense)&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jan 2022 11:31:36 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-01-07T11:31:36Z</dc:date>
    <item>
      <title>Rank column in a table visualization with multiple categories coming from different sources</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-column-in-a-table-visualization-with-multiple-categories/m-p/2271363#M55306</link>
      <description>&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to have a rank column in my table. I know that I have to use rankx but here is the difficult point : I have created a relation between 2 sources based on the sku, and now I would like to rank but in my table I have dimensions coming from my source 1 and my source 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a visual example :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in my source 1 I have for example the field : sku, gender, color and sales&lt;/P&gt;&lt;P&gt;In the source 2 I have : sku and type&lt;/P&gt;&lt;P&gt;I have created a relation between the two tables based on the sku key.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An important point : I have contextual filters so the rank measure should change each time the filter value change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would you do that ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks guy !&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 10:46:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-column-in-a-table-visualization-with-multiple-categories/m-p/2271363#M55306</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-07T10:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rank column in a table visualization with multiple categories coming from different sources</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-column-in-a-table-visualization-with-multiple-categories/m-p/2271511#M55320</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , You have to create a measure rank &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;rankx(summarize(allselected(source1), sources2[SKU], source1[gender],source1[color], source1[source2]) , [sales],,desc, dense)&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 11:31:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-column-in-a-table-visualization-with-multiple-categories/m-p/2271511#M55320</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-01-07T11:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rank column in a table visualization with multiple categories coming from different sources</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-column-in-a-table-visualization-with-multiple-categories/m-p/2271744#M55332</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;,&amp;nbsp;thanks for the anwser &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But Source 1 and source 2 are two different sources so I don't understand how this part :&amp;nbsp;&lt;SPAN&gt;source1[source2]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;could work. Source 2 is not a column of the source 1.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 13:51:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-column-in-a-table-visualization-with-multiple-categories/m-p/2271744#M55332</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-07T13:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Rank column in a table visualization with multiple categories coming from different sources</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-column-in-a-table-visualization-with-multiple-categories/m-p/2271838#M55342</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , sorry , it should be Type &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;rankx(summarize(allselected(source1), sources2[SKU], source1[gender],source1[color], source1[Type]) , [sales],,desc, dense)&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 14:56:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-column-in-a-table-visualization-with-multiple-categories/m-p/2271838#M55342</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-01-07T14:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rank column in a table visualization with multiple categories coming from different sources</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-column-in-a-table-visualization-with-multiple-categories/m-p/4040304#M160200</link>
      <description>&lt;P&gt;Thank you for your suggestion. I was running into a similar issue and this measure worked perfectly&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 04:06:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-column-in-a-table-visualization-with-multiple-categories/m-p/4040304#M160200</guid>
      <dc:creator>jnguyen21</dc:creator>
      <dc:date>2024-07-13T04:06:31Z</dc:date>
    </item>
  </channel>
</rss>

