<?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: Median on the top of measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Median-on-the-top-of-measure/m-p/2809959#M88939</link>
    <description>&lt;P&gt;To caclulate over weeks you have to have a calendar with defined week, easy as that. To calculate median you have to have data points to calculate it from. What does it mean "total median from country level aggregation"? A median is the middle value of some observations. Therefore, where there are observations (it better be more then 1!), there is a median. The median of 1 observation is just this observation (not very useful, though). If you want to calculate a median from a measure, you have to be able to say what you're going to iterate the measure over. Without this, the operation loses any meaning.&lt;/P&gt;</description>
    <pubDate>Sat, 01 Oct 2022 11:09:42 GMT</pubDate>
    <dc:creator>daXtreme</dc:creator>
    <dc:date>2022-10-01T11:09:42Z</dc:date>
    <item>
      <title>Median on the top of measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Median-on-the-top-of-measure/m-p/2809856#M88919</link>
      <description>&lt;P&gt;Hi, I have the table with columns: country, week, day, status, order and measure with share of orders in each of statuses. I need to calculate 1) the share for every country/week, then a median of shares per country, and have it in dashboard for every country/week level; 2) the share for country, then a total median of those shares, and have it in dashboard for every country level. It will be used for conditional formating to compare for upper-level median: country/week share vs country median and country share vs total median.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to calculate 1) using MEDIANX at the country/day level but I have separate tables for country and day. Is it possible to calculate it for country/week without creating week table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to calculate 2) total median from country level aggregation? MEDIANX won't help here as there is no iteration. And MEDIAN isn't working on measure.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2022 08:25:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Median-on-the-top-of-measure/m-p/2809856#M88919</guid>
      <dc:creator>PawelWitecki</dc:creator>
      <dc:date>2022-10-01T08:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Median on the top of measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Median-on-the-top-of-measure/m-p/2809907#M88930</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="450195" data-lia-user-login="PawelWitecki" class="lia-mention lia-mention-user"&gt;PawelWitecki&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Would you please include some screeschots, a sample data and the expected results for better understanding of the problem?&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2022 09:33:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Median-on-the-top-of-measure/m-p/2809907#M88930</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-10-01T09:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Median on the top of measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Median-on-the-top-of-measure/m-p/2809959#M88939</link>
      <description>&lt;P&gt;To caclulate over weeks you have to have a calendar with defined week, easy as that. To calculate median you have to have data points to calculate it from. What does it mean "total median from country level aggregation"? A median is the middle value of some observations. Therefore, where there are observations (it better be more then 1!), there is a median. The median of 1 observation is just this observation (not very useful, though). If you want to calculate a median from a measure, you have to be able to say what you're going to iterate the measure over. Without this, the operation loses any meaning.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2022 11:09:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Median-on-the-top-of-measure/m-p/2809959#M88939</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-10-01T11:09:42Z</dc:date>
    </item>
  </channel>
</rss>

