<?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: Ignore Dimension to give median total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Dimension-to-give-median-total/m-p/4806382#M183839</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="181440" data-lia-user-login="jasemilly" class="lia-mention lia-mention-user"&gt;jasemilly&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I wanted to check if you had the opportunity to review the information provided and resolve the issue..?Please let us know if you need any further assistance.We are happy to help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Aug 2025 07:15:15 GMT</pubDate>
    <dc:creator>v-venuppu</dc:creator>
    <dc:date>2025-08-25T07:15:15Z</dc:date>
    <item>
      <title>Ignore Dimension to give median total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Dimension-to-give-median-total/m-p/4799991#M183645</link>
      <description>&lt;P&gt;I have a simple fact table to show when someone has created a job.&lt;/P&gt;&lt;P&gt;It has Date, Persons, Name, and a key field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to show the Total Number of jobs a person has created and a median measure for all Persons so can see how that person comprare to the median, I created this measure and using the persons name from the fact table AgentCreated and it works perfectly giving the median value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;VAR PersonTotals =
    SUMMARIZE (
           ALL ( AgentCreated[CreatedBy] ),       -- all persons in current date range
        AgentCreated[CreatedBy],
        "TotalPerPerson", countrows(AgentCreated) ) -- total qty for that person
    
RETURN
    MEDIANX ( PersonTotals, [TotalPerPerson] )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a DimAgents table that has a relationship with the FactagentCreated using the CreatedBy field and a stand date dimension table relationship on the CreatedDate.&lt;BR /&gt;&lt;BR /&gt;Now when I put a slicer on the page using the Name from the DimAgents table and amend my measure to this. the measure doesn't return anything.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; SUMMARIZE (
        ALL ( DimAgents[Full Name] ),   // ignore agent slicer
        DimAgents[Full Name],
        "TotalPerPerson",
            CALCULATE (
                COUNTROWS ( AgentCreated ),
                KEEPFILTERS ( VALUES ( 'Date'[Date] ) ) // keep date slicer filter
            )
    )
RETURN
    MEDIANX ( PersonTotals, [TotalPerPerson] )&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I don't know what part I am doing wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 15:16:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Dimension-to-give-median-total/m-p/4799991#M183645</guid>
      <dc:creator>jasemilly</dc:creator>
      <dc:date>2025-08-18T15:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Dimension to give median total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Dimension-to-give-median-total/m-p/4800051#M183647</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="181440" data-lia-user-login="jasemilly" class="lia-mention lia-mention-user"&gt;jasemilly&lt;/a&gt;&amp;nbsp;Can you post sample data?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 15:51:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Dimension-to-give-median-total/m-p/4800051#M183647</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2025-08-18T15:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Dimension to give median total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Dimension-to-give-median-total/m-p/4800079#M183649</link>
      <description>&lt;P&gt;here is how the agentcreated looks&lt;BR /&gt;&lt;BR /&gt;CreatedDate, CreatedDateTime,CreatedBy, Key, JobentryTypedId, ShiftType&lt;BR /&gt;28/09/2024, 28/09/2024 07:01 , Jason, 500, 1 , 0&lt;/P&gt;&lt;P&gt;28/09/2024, 28/09/2024 08:01, Jason, 550,1,0&lt;/P&gt;&lt;P&gt;28/09/2024, 28/09/2024 11:00, Jason, 560,1,0&lt;/P&gt;&lt;P&gt;28/09/2024, 28/09/2024 08:01, Ian, 505,1,0&lt;BR /&gt;28/09/2024, 28/09/2024 08:10, Ian, 506,1,0&lt;/P&gt;&lt;P&gt;28/09/2024, 28/09/2024 08:15, Ian, 600,1,0&lt;/P&gt;&lt;P&gt;28/09/2024, 28/09/2024 08:20, Ian, 605,1,0&lt;BR /&gt;28/09/2024, 28/09/2024 08:21, Fred, 705,1,0&lt;/P&gt;&lt;P&gt;28/09/2024, 28/09/2024 08:30, Fred, 707,1,0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;DimAgent would be&lt;/P&gt;&lt;P&gt;Name, FullName&lt;/P&gt;&lt;P&gt;Fred, Fred Smith&lt;/P&gt;&lt;P&gt;Ian, Ian Rush&lt;/P&gt;&lt;P&gt;Jason, Jason Walker&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 16:31:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Dimension-to-give-median-total/m-p/4800079#M183649</guid>
      <dc:creator>jasemilly</dc:creator>
      <dc:date>2025-08-18T16:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Dimension to give median total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Dimension-to-give-median-total/m-p/4800142#M183651</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I replicated the scenario and it works, there were some issues in the names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the result I have&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;My pbix is here, based on your data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/drive/folders/1qgE_Uqk7LRJzRf_WXHl-0W91Guwe21M6?usp=sharing" target="_blank"&gt;https://drive.google.com/drive/folders/1qgE_Uqk7LRJzRf_WXHl-0W91Guwe21M6?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helped, please consider giving kudos and mark as a solution&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="273" data-lia-user-login="me" class="lia-mention lia-mention-user"&gt;me&lt;/a&gt; in replies or I'll lose your thread&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Want to check your DAX skills? &lt;A href="https://www.linkedin.com/company/kubisco/" target="_blank"&gt;Answer my biweekly DAX challenges on the kubisco Linkedin page&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Consider voting &lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/Power-BI-Filter-Pane-as-an-icon-on-the-right-side-bar-in-on/idi-p/4728588" target="_blank"&gt;this Power BI idea&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Francesco Bergamaschi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MBA, M.Eng, M.Econ, Professor of BI&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 17:33:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Dimension-to-give-median-total/m-p/4800142#M183651</guid>
      <dc:creator>FBergamaschi</dc:creator>
      <dc:date>2025-08-18T17:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Dimension to give median total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Dimension-to-give-median-total/m-p/4800887#M183676</link>
      <description>&lt;P&gt;Thanks for this, works great in test.&amp;nbsp; However I am getting a blank on my actual report and I was thinking that it's because I had lots of agents that hadn't created anything, so I altered my PQ to filter for 2 agents that had created and it still shows 0 for the median on my report.&lt;/P&gt;&lt;P&gt;maybe I need to filter the dimension table to the same 2 people as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 10:01:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Dimension-to-give-median-total/m-p/4800887#M183676</guid>
      <dc:creator>jasemilly</dc:creator>
      <dc:date>2025-08-19T10:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Dimension to give median total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Dimension-to-give-median-total/m-p/4802316#M183710</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="181440" data-lia-user-login="jasemilly" class="lia-mention lia-mention-user"&gt;jasemilly&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287762" data-lia-user-login="FBergamaschi" class="lia-mention lia-mention-user"&gt;FBergamaschi&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;for the prompt response.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;Yes, filtering the DimAgents table to only include the 2 agents who have created jobs is the right approach. Apply a slicer on DimAgents[FullName] to select those 2 agents, and your DAX measure will then calculate the median based only on their job counts. This will prevent blanks or zeros from agents who haven’t created jobs.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 12:51:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Dimension-to-give-median-total/m-p/4802316#M183710</guid>
      <dc:creator>v-venuppu</dc:creator>
      <dc:date>2025-08-20T12:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Dimension to give median total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Dimension-to-give-median-total/m-p/4806382#M183839</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="181440" data-lia-user-login="jasemilly" class="lia-mention lia-mention-user"&gt;jasemilly&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I wanted to check if you had the opportunity to review the information provided and resolve the issue..?Please let us know if you need any further assistance.We are happy to help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 07:15:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Dimension-to-give-median-total/m-p/4806382#M183839</guid>
      <dc:creator>v-venuppu</dc:creator>
      <dc:date>2025-08-25T07:15:15Z</dc:date>
    </item>
  </channel>
</rss>

