<?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: MEDIANX returns blank, MAXX and MINX work in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEDIANX-returns-blank-MAXX-and-MINX-work/m-p/3584055#M138271</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="340078" data-lia-user-login="WinterMist" class="lia-mention lia-mention-user"&gt;WinterMist&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One additional comment:&amp;nbsp; I have a measure to capture the hours of each client type, that measure in inbedded in the one from my first post:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hours_Private = CALCULATE(SUM(Invoice[Line_Detail_Qty]), 'Item[Fully_Qualified_Name]="Private"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can use the measure above and create another measure using regular MAX and MIN, but on only returns the max and min of each individual line item, not summed, however when I try MEDIAN, it won't even allow Hours_Private as an option.&amp;nbsp; I'm adding this incase it can be used in another measure.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Dec 2023 13:43:16 GMT</pubDate>
    <dc:creator>hyndmanevanp</dc:creator>
    <dc:date>2023-12-14T13:43:16Z</dc:date>
    <item>
      <title>MEDIANX returns blank, MAXX and MINX work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEDIANX-returns-blank-MAXX-and-MINX-work/m-p/3582376#M138199</link>
      <description>&lt;P&gt;I'm linked to our companies QuickBooks Online data.&amp;nbsp; I'm trying to display the Max, Median, and Min for client hours.&amp;nbsp; We have four regions and four client types.&amp;nbsp; I'm using the Items table to separate client types.&amp;nbsp; I'm using the Multi-Row Card visual to display and using the visual filters to isolate one month and office.&amp;nbsp; My measure is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hours_Private_Median = MEDIANX(DISTINCT(Invoice[CustomreRef_Name], CALCULATE(SUM(Invoice[Line_Detail_Qty]), 'Item'[Fully_Qualified_Name]="Private"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use this is MAXX and MINX, it works, and I've cross referrenced it to a separate data set.&amp;nbsp; I've replaced MEDIANX in the working MAXX measure incase I had an unseen entry error, but it returns blank when changed.&amp;nbsp; Further, when I change regions, some client types return an incorrect number, whereas some client types always return blank MEDIANX.&amp;nbsp; Images below.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Region 1 - All Median blank&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Region 2 - Private return incorrect amount&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Region 2 Cluster Column Chart with Median constant line on (48)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 16:26:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEDIANX-returns-blank-MAXX-and-MINX-work/m-p/3582376#M138199</guid>
      <dc:creator>hyndmanevanp</dc:creator>
      <dc:date>2023-12-13T16:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: MEDIANX returns blank, MAXX and MINX work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEDIANX-returns-blank-MAXX-and-MINX-work/m-p/3582470#M138207</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="351895" data-lia-user-login="hyndmanevanp" class="lia-mention lia-mention-user"&gt;hyndmanevanp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is going to depend on your data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check out this article.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://exceleratorbi.com.au/medianx-returns-blank-in-dax-part-1/" target="_blank"&gt;https://exceleratorbi.com.au/medianx-returns-blank-in-dax-part-1/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nathan&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 17:38:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEDIANX-returns-blank-MAXX-and-MINX-work/m-p/3582470#M138207</guid>
      <dc:creator>WinterMist</dc:creator>
      <dc:date>2023-12-13T17:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: MEDIANX returns blank, MAXX and MINX work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEDIANX-returns-blank-MAXX-and-MINX-work/m-p/3582718#M138224</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="340078" data-lia-user-login="WinterMist" class="lia-mention lia-mention-user"&gt;WinterMist&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the link above.&amp;nbsp; The author talked about the handling of blanks in DAX vs visual.&amp;nbsp; He solved it using something called DAX Studio, I'm not sure what that is.&amp;nbsp; I went to my data and removed empty cells, if existent, from the Invoice ID and Line Qty columns, but it didn't change my results.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 21:19:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEDIANX-returns-blank-MAXX-and-MINX-work/m-p/3582718#M138224</guid>
      <dc:creator>hyndmanevanp</dc:creator>
      <dc:date>2023-12-13T21:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: MEDIANX returns blank, MAXX and MINX work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEDIANX-returns-blank-MAXX-and-MINX-work/m-p/3584055#M138271</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="340078" data-lia-user-login="WinterMist" class="lia-mention lia-mention-user"&gt;WinterMist&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One additional comment:&amp;nbsp; I have a measure to capture the hours of each client type, that measure in inbedded in the one from my first post:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hours_Private = CALCULATE(SUM(Invoice[Line_Detail_Qty]), 'Item[Fully_Qualified_Name]="Private"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can use the measure above and create another measure using regular MAX and MIN, but on only returns the max and min of each individual line item, not summed, however when I try MEDIAN, it won't even allow Hours_Private as an option.&amp;nbsp; I'm adding this incase it can be used in another measure.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 13:43:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEDIANX-returns-blank-MAXX-and-MINX-work/m-p/3584055#M138271</guid>
      <dc:creator>hyndmanevanp</dc:creator>
      <dc:date>2023-12-14T13:43:16Z</dc:date>
    </item>
  </channel>
</rss>

