<?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 to find median from values resulted from another measure? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-median-from-values-resulted-from-another-measure/m-p/2803189#M88287</link>
    <description>&lt;P&gt;to make sure that the ALLSELECTED is returning the correct values, you could create a debug measure like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;debug = CONCATENATEX( ALLSELECTED('Table'[Column]), 'Table'[Column], ", ")&lt;/LI-CODE&gt;
&lt;P&gt;which should give a comma separated list of all the values from Column&lt;/P&gt;</description>
    <pubDate>Wed, 28 Sep 2022 14:52:25 GMT</pubDate>
    <dc:creator>johnt75</dc:creator>
    <dc:date>2022-09-28T14:52:25Z</dc:date>
    <item>
      <title>How to find median from values resulted from another measure?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-median-from-values-resulted-from-another-measure/m-p/2802496#M88228</link>
      <description>&lt;P&gt;Hello. Ma problem for today is the following: i've got a table visual with some date, and i wan't to get median from it.&lt;BR /&gt;There are some some companies and measure (it just shows random numbers for example), and i need to get the median from it. The problem that is just don't work. I don't know the way to work with data from a measure, displayed on visual and affected by filters. And if i use MEDIANX (tablename, [measure]) then it will be empty.&amp;nbsp; So, any suggestions?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Desired result:&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;</description>
      <pubDate>Wed, 28 Sep 2022 10:33:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-median-from-values-resulted-from-another-measure/m-p/2802496#M88228</guid>
      <dc:creator>Yonko</dc:creator>
      <dc:date>2022-09-28T10:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to find median from values resulted from another measure?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-median-from-values-resulted-from-another-measure/m-p/2802587#M88230</link>
      <description>&lt;P&gt;You can use&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Median Measure = MEDIANX( ALLSELECTED('Table'[Column]), [measure])&lt;/LI-CODE&gt;
&lt;P&gt;The column you use in the ALLSELECTED needs to be the same column used in the table / matrix visual&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 11:12:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-median-from-values-resulted-from-another-measure/m-p/2802587#M88230</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-09-28T11:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to find median from values resulted from another measure?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-median-from-values-resulted-from-another-measure/m-p/2803131#M88280</link>
      <description>&lt;P&gt;Yeah, I tried it and it gives me empty values anyway. If the formula is correct, there might be problems with filter context because this measure consists of two different measures and they consist from other ones. I guess i should start with basic measure then and go to the current one and search for the problem.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 14:35:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-median-from-values-resulted-from-another-measure/m-p/2803131#M88280</guid>
      <dc:creator>Yonko</dc:creator>
      <dc:date>2022-09-28T14:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to find median from values resulted from another measure?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-median-from-values-resulted-from-another-measure/m-p/2803189#M88287</link>
      <description>&lt;P&gt;to make sure that the ALLSELECTED is returning the correct values, you could create a debug measure like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;debug = CONCATENATEX( ALLSELECTED('Table'[Column]), 'Table'[Column], ", ")&lt;/LI-CODE&gt;
&lt;P&gt;which should give a comma separated list of all the values from Column&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 14:52:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-median-from-values-resulted-from-another-measure/m-p/2803189#M88287</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-09-28T14:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to find median from values resulted from another measure?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-median-from-values-resulted-from-another-measure/m-p/2803568#M88311</link>
      <description>&lt;P&gt;The problem was that instead of using measure i declared a variable and used it instead of measure. When i put measure it worked, so thanks for you help.&amp;nbsp;&lt;BR /&gt;Btw, do you know why variable wasn't working and measure worked?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 17:05:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-median-from-values-resulted-from-another-measure/m-p/2803568#M88311</guid>
      <dc:creator>Yonko</dc:creator>
      <dc:date>2022-09-28T17:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to find median from values resulted from another measure?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-median-from-values-resulted-from-another-measure/m-p/2805511#M88450</link>
      <description>&lt;P&gt;Variables aren't really variable, they're constants. They are only calculated once, the first time they are declared, so if you define them outside an iterator and then refer to them inside the iterator you will get the same value each time.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 08:43:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-median-from-values-resulted-from-another-measure/m-p/2805511#M88450</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-09-29T08:43:32Z</dc:date>
    </item>
  </channel>
</rss>

