<?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 do I group a field to show on a report in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3557661#M136996</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="541485" data-lia-user-login="EaglesTony" class="lia-mention lia-mention-user"&gt;EaglesTony&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Please try this DAX to create a new column:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Group = 
IF (
    'Table'[DaysBackFromToday] &amp;gt;= 0
        &amp;amp;&amp;amp; 'Table'[DaysBackFromToday] &amp;lt;= 90,
    "0-90 days",
    "90+ days"
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;The results are as follows:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you are still having problems, please point out the problem in the pbix file I provided.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Dino Tao&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2023 01:41:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-11-29T01:41:34Z</dc:date>
    <item>
      <title>How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3520631#M135244</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have the following data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Team&amp;nbsp; &amp;nbsp; Item&amp;nbsp; &amp;nbsp; DaysBackFromToday&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;90&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;456&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;789&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;412&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;120&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;892&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;150&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;105&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;365&lt;/P&gt;&lt;P&gt;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;501&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 91&lt;/P&gt;&lt;P&gt;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;502&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 92&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need is a field in Dax to show per Team the following&lt;/P&gt;&lt;P&gt;Team A:&amp;nbsp; &amp;nbsp;0-90 days:&amp;nbsp; 2&amp;nbsp; &amp;nbsp;90+: 3&amp;nbsp; %0-90 days:&amp;nbsp; 40% (2/5 is the calc)&amp;nbsp; %90+: 60%&lt;/P&gt;&lt;P&gt;Team B:&amp;nbsp; &amp;nbsp;0-90 days:&amp;nbsp; 0&amp;nbsp; &amp;nbsp;90+: 2&amp;nbsp; %0-90 days:&amp;nbsp; &amp;nbsp; &amp;nbsp;0%&amp;nbsp; %90+: 100%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 19:09:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3520631#M135244</guid>
      <dc:creator>EaglesTony</dc:creator>
      <dc:date>2023-11-07T19:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3521276#M135259</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="541485" data-lia-user-login="EaglesTony" class="lia-mention lia-mention-user"&gt;EaglesTony&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use these measures:&lt;/P&gt;&lt;LI-CODE lang="php"&gt;0-90 days = 
Var _A = FILTER('Table','Table'[Days Back From Today]&amp;lt;90)
Return
COUNTROWS(_A)+0&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;90+ days = 
Var _A = FILTER('Table','Table'[Days Back From Today]&amp;gt;90)
Return
COUNTROWS(_A)+0&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;% 0-90 days = 
Var _A = FILTER('Table','Table'[Days Back From Today]&amp;lt;90)
Var _B = COUNTROWS(_A)+0
Var _C = [0-90 days]+[90+ days]
Return
DIVIDE(_B,_C)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;%90 days = 
Var _A = FILTER('Table','Table'[Days Back From Today]&amp;gt;90)
Var _B = COUNTROWS(_A)+0
Var _C = [0-90 days]+[90+ days]
Return
DIVIDE(_B,_C)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider &lt;STRONG&gt;accepting&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;it as the solution&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.credly.com/users/vahid-doustimajd/badges" target="_blank"&gt;&lt;img /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank" rel="noopener noreferrer"&gt;LinkedIn&lt;/A&gt; | &lt;A href="https://twitter.com/VahidDMcom" target="_blank" rel="noopener noreferrer"&gt;Twitter&lt;/A&gt; | &lt;A href="https://www.vahiddm.com/" target="_blank" rel="noopener noreferrer"&gt;Blog&amp;nbsp;&lt;/A&gt;| &lt;A href="https://www.youtube.com/channel/UCF-uQfGF8de-EWnR9b2UQhQ" target="_blank" rel="noopener noreferrer"&gt;YouTube&lt;/A&gt;&lt;A href="https://www.youtube.com/channel/UCF-uQfGF8de-EWnR9b2UQhQ" target="_blank" rel="noopener noreferrer"&gt;&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 04:05:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3521276#M135259</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2023-11-08T04:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3521377#M135265</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="541485" data-lia-user-login="EaglesTony" class="lia-mention lia-mention-user"&gt;EaglesTony&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I'll start by showing you the test data I use:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;You can use the following DAX to create a measure:&lt;BR /&gt;Calculate the days of A on 0-90:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;COUNT_A_0-90 = 
CALCULATE(
    COUNT('Table'[DaysBackFromToday]),
    FILTER(
        'Table',
        'Table'[Team] = "A" &amp;amp;&amp;amp;
        'Table'[DaysBackFromToday] &amp;gt; 0 &amp;amp;&amp;amp;
        'Table'[DaysBackFromToday] &amp;lt;= 90
    )
)
&lt;/LI-CODE&gt;
&lt;P&gt;Calculate the days of A on 90+:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;COUNT_A_90+ = 
CALCULATE(
    COUNT('Table'[DaysBackFromToday]),
    FILTER(
        'Table',
        'Table'[Team] = "A" &amp;amp;&amp;amp;
        'Table'[DaysBackFromToday] &amp;gt; 90
    )
)
&lt;/LI-CODE&gt;
&lt;P&gt;Calculate the total number of A's, excluding cases where days=0:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total_A_&amp;gt;0 = 
CALCULATE(
    COUNT('Table'[DaysBackFromToday]),
    FILTER(
        'Table',
        'Table'[Team] = "A" &amp;amp;&amp;amp;
        'Table'[DaysBackFromToday] &amp;gt; 0
    )
&lt;/LI-CODE&gt;
&lt;P&gt;Calculate the proportion of days in A on 0-90:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Percentage_A_0-90 = 
[COUNT_A_0-90] / [Total_A_&amp;gt;0]
&lt;/LI-CODE&gt;
&lt;P&gt;Calculate the proportion of days in A on 90+:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Percentage_A_90+ = 
[COUNT_A_90+] / [Total_A_&amp;gt;0]
&lt;/LI-CODE&gt;
&lt;P&gt;And the final output is shown in the following figure:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;For B, you just need to change the A in each measure to B, and I won't repeat it for you.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dino Tao&lt;/P&gt;
&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 05:25:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3521377#M135265</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-08T05:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3522506#M135319</link>
      <description>&lt;P&gt;Thanks, but I don't think this will work, as I have a variable amount of teams at any one point, meaning I could have 2 teams or 20 teams when I do the refresh.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 13:23:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3522506#M135319</guid>
      <dc:creator>EaglesTony</dc:creator>
      <dc:date>2023-11-08T13:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3522874#M135334</link>
      <description>&lt;P&gt;I got the wrong requirements, it shouldn't be a count but a total based on a column called points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for the following:&lt;/P&gt;&lt;P&gt;Team&amp;nbsp; &amp;nbsp; Item&amp;nbsp; &amp;nbsp; DaysBackFromToday&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Points&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;90&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;456&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;789&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;412&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;120&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;892&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;150&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;105&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;365&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&lt;/P&gt;&lt;P&gt;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;501&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 91&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8&amp;nbsp;&lt;/P&gt;&lt;P&gt;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;502&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 92&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should be:&lt;/P&gt;&lt;P&gt;Team A:&amp;nbsp; &amp;nbsp;0-90 days:&amp;nbsp; 10 (pts)&amp;nbsp; &amp;nbsp;90+: 11 (pts)&amp;nbsp; %0-90 days:&amp;nbsp; 48% (10/21 is the calc)&amp;nbsp; %90+: 52%&lt;/P&gt;&lt;P&gt;Team B:&amp;nbsp; &amp;nbsp;0-90 days:&amp;nbsp; 0 (pts)&amp;nbsp; 90+: 10 (pts)&amp;nbsp; %0-90 days:&amp;nbsp; &amp;nbsp; &amp;nbsp;0%&amp;nbsp; %90+: 100%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 18:12:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3522874#M135334</guid>
      <dc:creator>EaglesTony</dc:creator>
      <dc:date>2023-11-08T18:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3522877#M135336</link>
      <description>&lt;P&gt;I think I might need to create these in M instead of DAX ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe have a "Y" or "N" column for LessThan90 and Over90 and use that somehow in the table on the UI ?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 15:53:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3522877#M135336</guid>
      <dc:creator>EaglesTony</dc:creator>
      <dc:date>2023-11-08T15:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3523764#M135382</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="541485" data-lia-user-login="EaglesTony" class="lia-mention lia-mention-user"&gt;EaglesTony&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok, just updated those measures as below:&lt;/P&gt;&lt;LI-CODE lang="php"&gt;90+ days = 
Var _A = FILTER('Table','Table'[DaysBackFromToday]&amp;gt;90)
Return
SUMX(_A,[Points])+0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="php"&gt;0-90 days = 
Var _A = FILTER('Table','Table'[DaysBackFromToday]&amp;lt;=90)
Return
SUMX(_A,[Points])+0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="php"&gt;%90 days = 
Var _B = [90+ days]
Var _C = [0-90 days]+[90+ days]
Return
DIVIDE(_B,_C)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="php"&gt;% 0-90 days = 
Var _B = [0-90 days]
Var _C = [0-90 days]+[90+ days]
Return
DIVIDE(_B,_C)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider &lt;STRONG&gt;accepting&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;it as the solution&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.credly.com/users/vahid-doustimajd/badges" target="_blank"&gt;&lt;img /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank" rel="noopener noreferrer"&gt;LinkedIn&lt;/A&gt; | &lt;A href="https://twitter.com/VahidDMcom" target="_blank" rel="noopener noreferrer"&gt;Twitter&lt;/A&gt; | &lt;A href="https://www.vahiddm.com/" target="_blank" rel="noopener noreferrer"&gt;Blog&amp;nbsp;&lt;/A&gt;| &lt;A href="https://www.youtube.com/channel/UCF-uQfGF8de-EWnR9b2UQhQ" target="_blank" rel="noopener noreferrer"&gt;YouTube&lt;/A&gt;&lt;A href="https://www.youtube.com/channel/UCF-uQfGF8de-EWnR9b2UQhQ" target="_blank" rel="noopener noreferrer"&gt;&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 23:44:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3523764#M135382</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2023-11-08T23:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3525803#M135468</link>
      <description>&lt;P&gt;Thanks, the strange thing is that when I put this field in the table in the report, the teams are showing the correct information, but there is a row that is blank (FYI: I have a slicer using Team name):&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;</description>
      <pubDate>Thu, 09 Nov 2023 16:22:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3525803#M135468</guid>
      <dc:creator>EaglesTony</dc:creator>
      <dc:date>2023-11-09T16:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3526400#M135494</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="541485" data-lia-user-login="EaglesTony" class="lia-mention lia-mention-user"&gt;EaglesTony&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remove that +0 from&amp;nbsp;90+ days and&amp;nbsp;0-90 days measures, that will be fixed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider &lt;STRONG&gt;accepting&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;it as the solution&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.credly.com/users/vahid-doustimajd/badges" target="_blank"&gt;&lt;img /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank" rel="noopener noreferrer"&gt;LinkedIn&lt;/A&gt; | &lt;A href="https://twitter.com/VahidDMcom" target="_blank" rel="noopener noreferrer"&gt;Twitter&lt;/A&gt; | &lt;A href="https://www.vahiddm.com/" target="_blank" rel="noopener noreferrer"&gt;Blog&amp;nbsp;&lt;/A&gt;| &lt;A href="https://www.youtube.com/channel/UCF-uQfGF8de-EWnR9b2UQhQ" target="_blank" rel="noopener noreferrer"&gt;YouTube&lt;/A&gt;&lt;A href="https://www.youtube.com/channel/UCF-uQfGF8de-EWnR9b2UQhQ" target="_blank" rel="noopener noreferrer"&gt;&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 22:30:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3526400#M135494</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2023-11-09T22:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3527741#M135552</link>
      <description>&lt;P&gt;How do I do that ?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 13:01:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3527741#M135552</guid>
      <dc:creator>EaglesTony</dc:creator>
      <dc:date>2023-11-10T13:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3533233#M135767</link>
      <description>&lt;P&gt;What I did was in the Filters don't show blank teams.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now it is working incorrectly when trying to use my slicer selecting team is is showing all teams still:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before selecting Team:&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;&lt;P&gt;After selecting Team A:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 14:57:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3533233#M135767</guid>
      <dc:creator>EaglesTony</dc:creator>
      <dc:date>2023-11-14T14:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3553719#M136744</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="541485" data-lia-user-login="EaglesTony" class="lia-mention lia-mention-user"&gt;EaglesTony&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Have you solved your problem?&lt;BR /&gt;Can you please provide the pbix file if it hasn't been resolved? It's hard to tell what the problem is just from your description.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Dino Tao&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 09:42:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3553719#M136744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-27T09:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3556540#M136919</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; No my problem still persists when I add the slicer, not sure why, as it started after I added these fields to the report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; One thing I did find out is that when I have put the whole number fields on the report, it doesn't impact the slicer, however when I put in a percetange value on the report, it causes the issue of showing all the teams, regardless of the slicer value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I can't send over the .pbix due to company policy.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 15:24:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3556540#M136919</guid>
      <dc:creator>EaglesTony</dc:creator>
      <dc:date>2023-11-28T15:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3557661#M136996</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="541485" data-lia-user-login="EaglesTony" class="lia-mention lia-mention-user"&gt;EaglesTony&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Please try this DAX to create a new column:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Group = 
IF (
    'Table'[DaysBackFromToday] &amp;gt;= 0
        &amp;amp;&amp;amp; 'Table'[DaysBackFromToday] &amp;lt;= 90,
    "0-90 days",
    "90+ days"
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;The results are as follows:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you are still having problems, please point out the problem in the pbix file I provided.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Dino Tao&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 01:41:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3557661#M136996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-29T01:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3558784#M137102</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have the columns created correctly, the issue is with the slicer, when I select a single team and if the report only has whole numbers (i.e. DaysBackFromToday), it works in only showing that team, however when I select a single team and the report has percentages (i.e. PctWithin90Days), it shows the single teams values AND all the other teams data as blank, but their percentage as 0%)&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 12:09:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3558784#M137102</guid>
      <dc:creator>EaglesTony</dc:creator>
      <dc:date>2023-11-29T12:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3559998#M137186</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="541485" data-lia-user-login="EaglesTony" class="lia-mention lia-mention-user"&gt;EaglesTony&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I know your issue is currently on slicer, and I'm concerned that it may be caused by the DAX you were using earlier.&lt;BR /&gt;Since I don't see the situation you're experiencing with the DAX I'm using myself, I hope you can try a different DAX and see if the slicer is still having problems.&lt;BR /&gt;If the problem persists, please continue to follow the thread.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Dino Tao&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 01:57:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3559998#M137186</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-30T01:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3561052#M137256</link>
      <description>&lt;P&gt;I would think I need a new DAX for the percentage calculation as well ?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 12:59:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3561052#M137256</guid>
      <dc:creator>EaglesTony</dc:creator>
      <dc:date>2023-11-30T12:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3567446#M137526</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="541485" data-lia-user-login="EaglesTony" class="lia-mention lia-mention-user"&gt;EaglesTony&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Have you tried a new measure for you situation and has the problem been solved?&lt;BR /&gt;If it doesn't solve the problem, I suggest you to use the pbix that I provided earlier and test your need, the problem you are facing didn't occur in my test situation.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Dino Tao&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 02:14:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3567446#M137526</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-05T02:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3568380#M137571</link>
      <description>&lt;P&gt;I assume I would use a DAX query to build the percentage column as well ?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 12:26:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3568380#M137571</guid>
      <dc:creator>EaglesTony</dc:creator>
      <dc:date>2023-12-05T12:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group a field to show on a report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3569499#M137621</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="541485" data-lia-user-login="EaglesTony" class="lia-mention lia-mention-user"&gt;EaglesTony&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;No need to create a separate measure to get the percentage.&lt;BR /&gt;Please follow the steps below:&lt;BR /&gt;Create a calculated column for grouping (0-90 and 90+), and the DAX I have provided before;&lt;BR /&gt;Place the point column in the Value column and use the aggregation function and the display format (SUM, show column total) to display the summary value as well as the percentage.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Dino Tao&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 00:55:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-group-a-field-to-show-on-a-report/m-p/3569499#M137621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-06T00:55:12Z</dc:date>
    </item>
  </channel>
</rss>

