<?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: Conditional group dax in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-group-dax/m-p/3451028#M131458</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="615051" data-lia-user-login="nirali_arora" class="lia-mention lia-mention-user"&gt;nirali_arora&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for the answer and help, there is a small logic difference is in the logic&lt;BR /&gt;i wanted to make the segregation aganist user if login value is greater&amp;nbsp; than five then hyper active but this should work if value should be greater than 5 for entire month then only the user will be hyper active custromer&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2023 05:48:05 GMT</pubDate>
    <dc:creator>AlanP514</dc:creator>
    <dc:date>2023-09-28T05:48:05Z</dc:date>
    <item>
      <title>Conditional group dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-group-dax/m-p/3449489#M131356</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I am trying to create conditional group or bin based on the measure&amp;nbsp;&lt;BR /&gt;I need to segragte all customer into three&lt;BR /&gt;Hyper active&amp;nbsp;&lt;BR /&gt;Super Active&lt;BR /&gt;Active&lt;BR /&gt;I Have created count of user who has logged in each month(Below is that measure)&lt;/P&gt;
&lt;PRE class=""&gt;&lt;CODE&gt;Logins = Sumx(Facttracking, Fact tracking[Desktop count] +  Fact tracking[Mobile count]&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;so i have added user in the row section of the pivot , month in the section of column name and login in the measure value&lt;BR /&gt;so according to the sum of all values aganist each month&lt;BR /&gt;if the total sum of the count value&amp;nbsp; &amp;gt;= 5 i need to segregrate those customer into hyper active&lt;BR /&gt;if the total sum of the count value&amp;nbsp; = 3,4 i need to segregrate those customer into Super&amp;nbsp; active&lt;BR /&gt;if the total sum of the count value&amp;nbsp; = 1,2 i need to segregrate those customer into&amp;nbsp; &amp;nbsp;active&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Appreatiate help on this to create dax&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 10:12:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-group-dax/m-p/3449489#M131356</guid>
      <dc:creator>AlanP514</dc:creator>
      <dc:date>2023-09-27T10:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional group dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-group-dax/m-p/3449561#M131360</link>
      <description>&lt;P&gt;You can try the following measure&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CustomerCategory = &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VAR TotalLogins = [Logins] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RETURN &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SWITCH ( TRUE (), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TotalLogins &amp;gt;= 5, &lt;/SPAN&gt;&lt;SPAN&gt;"Hyper Active", &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TotalLogins &amp;gt;= 3 &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TotalLogins &amp;lt;= 4, "Super Active", &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TotalLogins &amp;gt;= 1 &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TotalLogins &amp;lt;= 2, "Active", &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLANK () &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 10:39:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-group-dax/m-p/3449561#M131360</guid>
      <dc:creator>nirali_arora</dc:creator>
      <dc:date>2023-09-27T10:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional group dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-group-dax/m-p/3451028#M131458</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="615051" data-lia-user-login="nirali_arora" class="lia-mention lia-mention-user"&gt;nirali_arora&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for the answer and help, there is a small logic difference is in the logic&lt;BR /&gt;i wanted to make the segregation aganist user if login value is greater&amp;nbsp; than five then hyper active but this should work if value should be greater than 5 for entire month then only the user will be hyper active custromer&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 05:48:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-group-dax/m-p/3451028#M131458</guid>
      <dc:creator>AlanP514</dc:creator>
      <dc:date>2023-09-28T05:48:05Z</dc:date>
    </item>
  </channel>
</rss>

