<?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: A simple question, for a newbi user in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-simple-question-for-a-newbi-user/m-p/996858#M12554</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;here is the example of the data i work with,&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Sun, 29 Mar 2020 05:50:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-03-29T05:50:37Z</dc:date>
    <item>
      <title>A simple question, for a newbi user</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-simple-question-for-a-newbi-user/m-p/990873#M12303</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;i somehow with the help of the internet managed to get the maximum value of the sum by&amp;nbsp;a c&lt;SPAN&gt;ategory, followed by that scrpit:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;max value = MAXX(SUMMARIZE(Products, Products[Category_Name], "rev", SUM(Products[rev])), [rev])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and im now trying to get &lt;U&gt;&lt;STRONG&gt;the category name of that measure&lt;/STRONG&gt;&lt;/U&gt;, and i have no idea how to do it.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;that is the value that i got, and and i want to see which category it is.&lt;/DIV&gt;&lt;DIV&gt;thanks!!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Mar 2020 11:21:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-simple-question-for-a-newbi-user/m-p/990873#M12303</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-25T11:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: A simple question, for a newbi user</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-simple-question-for-a-newbi-user/m-p/995141#M12444</link>
      <description>&lt;P&gt;Can you add sample tables (in format that can be copied to PowerBI) from your model with anonymised data? Like this (just copy and paste into the post window).&lt;/P&gt;
&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Column1&lt;/TD&gt;
&lt;TD&gt;Column2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;2.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 10:49:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-simple-question-for-a-newbi-user/m-p/995141#M12444</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2020-03-27T10:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: A simple question, for a newbi user</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-simple-question-for-a-newbi-user/m-p/996858#M12554</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;here is the example of the data i work with,&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sun, 29 Mar 2020 05:50:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-simple-question-for-a-newbi-user/m-p/996858#M12554</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-29T05:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: A simple question, for a newbi user</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-simple-question-for-a-newbi-user/m-p/996971#M12562</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe not the best solution but should work&lt;/P&gt;
&lt;P&gt;create a rank measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;RankMeasure = RANKX(ALL(Products[Category_Name]),CALCULATE(SUM(Products[rev])),,DESC)&lt;/LI-CODE&gt;
&lt;P&gt;then your desired&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;TopCategoryMeasure = calculate(
FIRSTNONBLANK(Products[Category_Name],1), 
FILTER(ALL(Products[Category_Name]),[RankMeasure]=1)
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Mar 2020 11:37:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-simple-question-for-a-newbi-user/m-p/996971#M12562</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-03-29T11:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: A simple question, for a newbi user</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-simple-question-for-a-newbi-user/m-p/997006#M12563</link>
      <description>&lt;P&gt;love u&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 29 Mar 2020 12:34:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/A-simple-question-for-a-newbi-user/m-p/997006#M12563</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-29T12:34:05Z</dc:date>
    </item>
  </channel>
</rss>

