<?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: Adding the Quartile summary in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4022684#M158722</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Thank you for responding. I am unable to group by&amp;nbsp; "[Res% Quartile]"&lt;/P&gt;&lt;P&gt;Not just this, I am unable to group by using any of the measures.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2024 10:38:14 GMT</pubDate>
    <dc:creator>Sri_phani</dc:creator>
    <dc:date>2024-07-03T10:38:14Z</dc:date>
    <item>
      <title>Adding the Quartile summary</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4020766#M158629</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Hi,&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Can someone help me summarize the Quartiles that I created using a Measure.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;I have data that has the Customer Resolve Survey score and I created a Quartile using this measure:&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;FONT face="verdana,geneva"&gt;Res% Quartile = &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="verdana,geneva"&gt;&lt;EM&gt;VAR&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt; AgentScore&lt;/EM&gt; = [Resolve]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="verdana,geneva"&gt;&lt;EM&gt;VAR&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt; FilteredData&lt;/EM&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;('1_Core Raw data'[Start of Month],'1_Core Raw data'[Partner &amp;amp; Site],'1_Core Raw data'[Team manager],'1_Core Raw data'[Final LOB],'1_Core Raw data'[agent_email], '1_Core Raw data'[File])&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="verdana,geneva"&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="verdana,geneva"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;NOT&lt;/SPAN&gt; &lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;([Resolve]),&lt;/SPAN&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="verdana,geneva"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;TRUE&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="verdana,geneva"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AgentScore &amp;gt;= &lt;/SPAN&gt;&lt;SPAN&gt;PERCENTILEX.INC&lt;/SPAN&gt;&lt;SPAN&gt;(FilteredData, [Resolve], &lt;/SPAN&gt;&lt;SPAN&gt;0.75&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;"Q1"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="verdana,geneva"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AgentScore &amp;gt;= &lt;/SPAN&gt;&lt;SPAN&gt;PERCENTILEX.INC&lt;/SPAN&gt;&lt;SPAN&gt;(FilteredData, [Resolve], &lt;/SPAN&gt;&lt;SPAN&gt;0.50&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;"Q2"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="verdana,geneva"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AgentScore &amp;gt;= &lt;/SPAN&gt;&lt;SPAN&gt;PERCENTILEX.INC&lt;/SPAN&gt;&lt;SPAN&gt;(FilteredData, [Resolve], &lt;/SPAN&gt;&lt;SPAN&gt;0.25&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;"Q3"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="verdana,geneva"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AgentScore &amp;gt;= &lt;/SPAN&gt;&lt;SPAN&gt;PERCENTILEX.INC&lt;/SPAN&gt;&lt;SPAN&gt;(FilteredData, [Resolve], &lt;/SPAN&gt;&lt;SPAN&gt;0.00&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;"Q4"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="verdana,geneva"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ))&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="verdana,geneva"&gt;&lt;SPAN&gt;Now the requirement is, I have to show the number of agents and the max and min score based on the available table. Like I provided in the below snapshot.&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="verdana,geneva"&gt;&lt;img /&gt;&lt;/FONT&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is glance of dataset that I have, I have single dataset which has columns such as Lyft ID, team manager, LOB, Date, Start of Month. All these I will use as a slicer to filter the visual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;Kindly help me! Thanks.&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Jul 2024 14:44:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4020766#M158629</guid>
      <dc:creator>Sri_phani</dc:creator>
      <dc:date>2024-07-02T14:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding the Quartile summary</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4021719#M158688</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="475653" data-lia-user-login="Sri_phani" class="lia-mention lia-mention-user"&gt;Sri_phani&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I think you can create a new table t&lt;SPAN&gt;o show the number of agents and the max and min scores for each quartile.&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Quartile Summary =
SUMMARIZE (
    '1_Core Raw data',
    [Res% Quartile],
    "Number of Agents", COUNT ( '1_Core Raw data'[agent_email] ),
    "Max Score", MAX ( '1_Core Raw data'[Resolve] ),
    "Min Score", MIN ( '1_Core Raw data'[Resolve] )
)&lt;/LI-CODE&gt;
&lt;P&gt;You can also add slicer to filter the data.&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;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 03:48:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4021719#M158688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-03T03:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Adding the Quartile summary</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4022684#M158722</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Thank you for responding. I am unable to group by&amp;nbsp; "[Res% Quartile]"&lt;/P&gt;&lt;P&gt;Not just this, I am unable to group by using any of the measures.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 10:38:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4022684#M158722</guid>
      <dc:creator>Sri_phani</dc:creator>
      <dc:date>2024-07-03T10:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding the Quartile summary</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4029538#M159266</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="475653" data-lia-user-login="Sri_phani" class="lia-mention lia-mention-user"&gt;Sri_phani&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I'm sorry I didn't achieve the results you expected, if you can provide me with specific example data or .pbix files, I can provide further help and answers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 07:10:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4029538#M159266</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-08T07:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding the Quartile summary</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4029994#M159323</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;, Please find the same file below. while I am unable to provide all the columns that can replicate exact columns as per the image. This data set is mostly a replica of the one I am working on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://drive.google.com/file/d/1pXVIjkSGhA_YYF6RZeowE3PNW6P37lYM/view?usp=sharing" target="_self"&gt;Quartile file&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 10:46:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4029994#M159323</guid>
      <dc:creator>Sri_phani</dc:creator>
      <dc:date>2024-07-08T10:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adding the Quartile summary</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4032256#M159497</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="475653" data-lia-user-login="Sri_phani" class="lia-mention lia-mention-user"&gt;Sri_phani&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I create a table as you mentioned.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then I create a measure and here is the DAX code.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
VAR _Resolve =
    MAX ( 'Table'[Resolve] )
RETURN
    IF (
        NOT ISBLANK ( _Resolve ),
        SWITCH (
            TRUE (),
            _Resolve &amp;gt;= 0.75, "Q1",
            _Resolve &amp;lt; 0.75
                &amp;amp;&amp;amp; _Resolve &amp;gt;= 0.5, "Q2",
            _Resolve &amp;lt; 0.5
                &amp;amp;&amp;amp; _Resolve &amp;gt;= 0.25, "Q3",
            _Resolve &amp;lt; 0.25
                &amp;amp;&amp;amp; _Resolve &amp;gt;= 0, "Q4",
            BLANK ()
        )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I create a color DAX code and put it into the Measure column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Color = 
SWITCH(
    TRUE(),
    'Table'[Measure] = "Q1", "Green",
    'Table'[Measure] = "Q2", "Blue",
    'Table'[Measure] = "Q3", "Orange",
    "Red"
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 09:36:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4032256#M159497</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-09T09:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding the Quartile summary</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4032933#M159620</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question is about summarizing the Quartile as a table, like this. Not about the conditional formatting. Can you please help with this.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 16:17:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4032933#M159620</guid>
      <dc:creator>Sri_phani</dc:creator>
      <dc:date>2024-07-09T16:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding the Quartile summary</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4032935#M159621</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question is about summarizing the Quartile as a table, like this. Not about the conditional formatting. Can you please help with this.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 16:17:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-the-Quartile-summary/m-p/4032935#M159621</guid>
      <dc:creator>Sri_phani</dc:creator>
      <dc:date>2024-07-09T16:17:02Z</dc:date>
    </item>
  </channel>
</rss>

