<?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: Dynamically rank calculated measure based on different groupings in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4262961#M168964</link>
    <description>&lt;P&gt;Hi, Is this what you are looking for ?&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;Or this ?&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2024 23:51:11 GMT</pubDate>
    <dc:creator>SachinNandanwar</dc:creator>
    <dc:date>2024-10-29T23:51:11Z</dc:date>
    <item>
      <title>Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4256784#M168654</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having some trouble getting my rank to work properly and was hoping for some assistance. As you can see below, my Industry Per Caps Rank column is not what you would expect. I'd like the per caps rank for product A to be 1, product B to be 2, and so on. My formula is below as well. Does anyone know what I may be doing wrong here? I also want the ranking to update dynamically based on the slicer I'm using (e.g., instead of product, rank by manufacturer, etc). Any help would be greatly appreciated!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Industry Per Caps Rank =&lt;/SPAN&gt; &lt;SPAN&gt;rankx&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;allselected&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Niel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;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;H&lt;/TD&gt;&lt;TD&gt;0.77&lt;/TD&gt;&lt;TD&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;I&lt;/TD&gt;&lt;TD&gt;0.58&lt;/TD&gt;&lt;TD&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;J&lt;/TD&gt;&lt;TD&gt;0.48&lt;/TD&gt;&lt;TD&gt;19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;K&lt;/TD&gt;&lt;TD&gt;0.46&lt;/TD&gt;&lt;TD&gt;19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;L&lt;/TD&gt;&lt;TD&gt;0.4&lt;/TD&gt;&lt;TD&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;M&lt;/TD&gt;&lt;TD&gt;0.26&lt;/TD&gt;&lt;TD&gt;28&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;TD&gt;0.07&lt;/TD&gt;&lt;TD&gt;82&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 24 Oct 2024 18:38:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4256784#M168654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-24T18:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4256890#M168658</link>
      <description>&lt;LI-CODE lang="markup"&gt;DynamicRank =
RANKX (
    ALLSELECTED ( 'product_industry_per_caps' ),
    CALCULATE ( MAX ( 'product_industry_per_caps'[Product] ) ),
    ,
    ASC,
    DENSE
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 20:32:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4256890#M168658</guid>
      <dc:creator>SachinNandanwar</dc:creator>
      <dc:date>2024-10-24T20:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4258149#M168714</link>
      <description>&lt;P&gt;Hi Sachin!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for your quick response. Would there be a way to build the formula to be able to swap out [product] column for other columns? For example, let's say I want to see per caps figures by [region] instead of [product]. Is this possible? I appreciate your insight!&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 13:26:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4258149#M168714</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-25T13:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4258383#M168727</link>
      <description>&lt;P&gt;Yes..&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DynamicRank =
RANKX (
    ALLSELECTED ( 'product_industry_per_caps' ),
    CALCULATE ( MAX ( 'product_industry_per_caps'[Region] ) ),
    ,
    ASC,
    DENSE
)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 25 Oct 2024 16:30:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4258383#M168727</guid>
      <dc:creator>SachinNandanwar</dc:creator>
      <dc:date>2024-10-25T16:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4260557#M168846</link>
      <description>&lt;P&gt;Hi Sachin!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for the response. I'd like to know if there is a way to set up the formula to be able to swap out the column (e.g., [region], [sub-category]) dynamically based on the visual (without needing to write a separate formula for each rank). Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 13:07:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4260557#M168846</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-28T13:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4260568#M168847</link>
      <description>&lt;P&gt;You can do it through field parameters.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters" target="_blank"&gt;https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 13:21:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4260568#M168847</guid>
      <dc:creator>SachinNandanwar</dc:creator>
      <dc:date>2024-10-28T13:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4260602#M168850</link>
      <description>&lt;P&gt;Hi Sachin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your approach and it's still looking like it's not ranking correctly. Any further guidance would be greatly appreciated. Thank you!&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 13:41:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4260602#M168850</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-28T13:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4260610#M168851</link>
      <description>&lt;P&gt;Can you share the PBI file ?If you can then please share it on Google drive or One drive&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 13:48:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4260610#M168851</guid>
      <dc:creator>SachinNandanwar</dc:creator>
      <dc:date>2024-10-28T13:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4260639#M168855</link>
      <description>&lt;P&gt;Hi Sachin,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try seeing &lt;A href="https://drive.google.com/file/d/1iLf3wNv_rYqOp3ktJGaN6G1R1_8rZM1i/view?usp=drive_link" target="_self"&gt;here&lt;/A&gt;. Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 14:05:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4260639#M168855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-28T14:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4260746#M168860</link>
      <description>&lt;P&gt;Can you grant access to the file ?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 15:25:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4260746#M168860</guid>
      <dc:creator>SachinNandanwar</dc:creator>
      <dc:date>2024-10-28T15:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4260792#M168863</link>
      <description>&lt;P&gt;Hi Sachin!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much - see if this link works &lt;A href="https://drive.google.com/file/d/1iLf3wNv_rYqOp3ktJGaN6G1R1_8rZM1i/view?usp=sharing" target="_self"&gt;here&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 16:05:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4260792#M168863</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-28T16:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4261109#M168880</link>
      <description>&lt;P&gt;Please check the screengrab.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;PBI file uploaded here :&amp;nbsp;&lt;A href="https://easyupload.io/tl3qnh" target="_blank" rel="noopener"&gt;https://easyupload.io/tl3qnh&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 20:27:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4261109#M168880</guid>
      <dc:creator>SachinNandanwar</dc:creator>
      <dc:date>2024-10-28T20:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4262376#M168936</link>
      <description>&lt;P&gt;Hi Sachin, Thanks so much for the help here. Is there a way to build out this rank in the original Nielsen(excl. dist) table? I need this ranking/visual to adjust with different filters brought in. For example, if I added [Zone] as a filter, I'd like for this to update based on each zone.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 13:31:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4262376#M168936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-29T13:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4262961#M168964</link>
      <description>&lt;P&gt;Hi, Is this what you are looking for ?&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;Or this ?&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 23:51:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4262961#M168964</guid>
      <dc:creator>SachinNandanwar</dc:creator>
      <dc:date>2024-10-29T23:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4264383#M169012</link>
      <description>&lt;P&gt;Hi Sachin! Thank you so much for your ongoing help. I'm looking for the bottom solution (but built with the ability to view by: category, sub-category, zone, channel, manufacturer) - essentially all the attribute fields listed in Nielsen (excl. dist) table. Do you know if there is a way to do this? Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 17:44:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4264383#M169012</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-30T17:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4264507#M169018</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Please check&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;PBI File :&amp;nbsp;&lt;A href="https://easyupload.io/fxanxw" target="_blank"&gt;https://easyupload.io/fxanxw&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 20:58:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4264507#M169018</guid>
      <dc:creator>SachinNandanwar</dc:creator>
      <dc:date>2024-10-30T20:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4269578#M169301</link>
      <description>&lt;P&gt;Thanks so much, Sachin! Do you know if there is a way to set up a parameter for the whole dashboard page (as opposed to just one visual)?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 19:02:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4269578#M169301</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-04T19:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rank calculated measure based on different groupings</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4270047#M169326</link>
      <description>&lt;P&gt;Please create a new topic for new requirements.Different requirements are getting jumbled up in one topic.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 05:04:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-rank-calculated-measure-based-on-different-groupings/m-p/4270047#M169326</guid>
      <dc:creator>SachinNandanwar</dc:creator>
      <dc:date>2024-11-05T05:04:30Z</dc:date>
    </item>
  </channel>
</rss>

