<?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: How to get Total for a measure column or an alternate DAX solution? Rank of Total for selected item. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Total-for-a-measure-column-or-an-alternate-DAX/m-p/2283765#M55938</link>
    <description>&lt;P&gt;I just found the solution, sharing for the community. The final step was to get Rank 27 from the last column onto the card. I am using the below DAX to create a final summary of the last column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Avg Ranking Ongoing Cost Sum = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUMX&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;ValueMoney[Fund Provider]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-270px"&gt;&lt;SPAN&gt;[Rank Ongoing Selected]&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;ValueMoney&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 14 Jan 2022 13:17:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-01-14T13:17:59Z</dc:date>
    <item>
      <title>How to get Total for a measure column or an alternate DAX solution? Rank of Total for selected item.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Total-for-a-measure-column-or-an-alternate-DAX/m-p/2283594#M55923</link>
      <description>&lt;P&gt;How to get this measure on the card total? I am only looking to get 27 on card visual but it comes blank. I tried aggregation on top of this "Rank Ongoing Selected" but it did not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to show Rank of Avg Ongoing Cost where Z_highlight = 1. There are also slicer changing the filter context hence I am using ALLSELECTED for Rank.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Avg Ongoing Ranking 1 = &lt;/SPAN&gt;&lt;SPAN&gt;RANKX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&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;ValueMoney[Fund Provider]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-210px"&gt;&lt;SPAN&gt;NOT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ValueMoney&lt;/SPAN&gt;&lt;SPAN&gt;[avg ongoing cost]&lt;/SPAN&gt;&lt;SPAN&gt;))),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-210px"&gt;&lt;SPAN&gt;[avg ongoing cost]&lt;/SPAN&gt;&lt;SPAN&gt;,,&lt;/SPAN&gt;&lt;SPAN&gt;ASC&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Rank Ongoing Selected = &lt;/SPAN&gt;&lt;SPAN&gt;VALUE&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Z_Highlight]&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;RANKX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&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;ValueMoney[Fund Provider]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-210px"&gt;&lt;SPAN&gt;NOT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ValueMoney&lt;/SPAN&gt;&lt;SPAN&gt;[avg ongoing cost]&lt;/SPAN&gt;&lt;SPAN&gt;))),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-210px"&gt;&lt;SPAN&gt;[avg ongoing cost]&lt;/SPAN&gt;&lt;SPAN&gt;,,&lt;/SPAN&gt;&lt;SPAN&gt;ASC&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;()))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-210px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Jan 2022 11:21:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Total-for-a-measure-column-or-an-alternate-DAX/m-p/2283594#M55923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-14T11:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Total for a measure column or an alternate DAX solution? Rank of Total for selected item.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Total-for-a-measure-column-or-an-alternate-DAX/m-p/2283652#M55928</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , assume you create a rank like &lt;/P&gt;
&lt;P&gt;Rank Brand = Rankx(ALL('Item'[Brand]),[Net]) // using all &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then this measure can give selected rank for brand &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Rank M = maxx(VALUES('Item'[Brand]), [Rank Brand])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 11:53:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Total-for-a-measure-column-or-an-alternate-DAX/m-p/2283652#M55928</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-01-14T11:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Total for a measure column or an alternate DAX solution? Rank of Total for selected item.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Total-for-a-measure-column-or-an-alternate-DAX/m-p/2283661#M55930</link>
      <description>&lt;P&gt;Thanks for the response Amit. but if we use ALL in RANK then we will lose the filter context set by the slicers. There are slicers on page that reduces the data set to few brands only. Rank is calculated based on selected values.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 11:58:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Total-for-a-measure-column-or-an-alternate-DAX/m-p/2283661#M55930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-14T11:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Total for a measure column or an alternate DAX solution? Rank of Total for selected item.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Total-for-a-measure-column-or-an-alternate-DAX/m-p/2283693#M55933</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , That is a problem, when selecting a brand in visual,&amp;nbsp; you have only that brand. so allselected will be given Rank 1.&lt;/P&gt;
&lt;P&gt;Interaction off - it will not work&lt;/P&gt;
&lt;P&gt;removefilters, all I tried a few more combinations, but they remove the brand from the context. So did not work for me.&lt;/P&gt;
&lt;P&gt;Wait for other users to provide some solution&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 12:22:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Total-for-a-measure-column-or-an-alternate-DAX/m-p/2283693#M55933</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-01-14T12:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Total for a measure column or an alternate DAX solution? Rank of Total for selected item.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Total-for-a-measure-column-or-an-alternate-DAX/m-p/2283765#M55938</link>
      <description>&lt;P&gt;I just found the solution, sharing for the community. The final step was to get Rank 27 from the last column onto the card. I am using the below DAX to create a final summary of the last column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Avg Ranking Ongoing Cost Sum = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUMX&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;ValueMoney[Fund Provider]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-270px"&gt;&lt;SPAN&gt;[Rank Ongoing Selected]&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;ValueMoney&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Jan 2022 13:17:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Total-for-a-measure-column-or-an-alternate-DAX/m-p/2283765#M55938</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-14T13:17:59Z</dc:date>
    </item>
  </channel>
</rss>

