<?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: DAX how to calculate the performance of the department in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-how-to-calculate-the-performance-of-the-department/m-p/3192167#M115787</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Apr 2023 19:31:09 GMT</pubDate>
    <dc:creator>ThxAlot</dc:creator>
    <dc:date>2023-04-17T19:31:09Z</dc:date>
    <item>
      <title>DAX how to calculate the performance of the department</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-how-to-calculate-the-performance-of-the-department/m-p/3192010#M115777</link>
      <description>&lt;P&gt;Hello I have a cookie company&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MonthDepartmentSales&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;01.01.2023&lt;/TD&gt;&lt;TD&gt;Center&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.01.2023&lt;/TD&gt;&lt;TD&gt;South&lt;/TD&gt;&lt;TD&gt;22&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.01.2023&lt;/TD&gt;&lt;TD&gt;North&lt;/TD&gt;&lt;TD&gt;32&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.02.2023&lt;/TD&gt;&lt;TD&gt;Center&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.02.2023&lt;/TD&gt;&lt;TD&gt;South&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.02.2023&lt;/TD&gt;&lt;TD&gt;North&lt;/TD&gt;&lt;TD&gt;44&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.03.2023&lt;/TD&gt;&lt;TD&gt;Center&lt;/TD&gt;&lt;TD&gt;33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.03.2023&lt;/TD&gt;&lt;TD&gt;South&lt;/TD&gt;&lt;TD&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.03.2023&lt;/TD&gt;&lt;TD&gt;North&lt;/TD&gt;&lt;TD&gt;19&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to filter it by year and month and:&lt;BR /&gt;- calculate sales by all deparments in the selected time period&lt;/P&gt;&lt;P&gt;- calculate the rank of each department by:&amp;nbsp;&lt;STRONG&gt;amount of sold cookies by this department / maximum sold amount of cookies by single department in the selected time period * 5&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Example:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In January and February the departments sold:&lt;BR /&gt;North: 76&lt;BR /&gt;South: 34&lt;BR /&gt;Center: 26&lt;/P&gt;&lt;P&gt;Maximum amount sold in this perdiod of time by one is therefore: 76&lt;BR /&gt;&lt;BR /&gt;So calculated ranks of each department should be:&lt;BR /&gt;For North: 76/76*5 = 5&lt;BR /&gt;For South: 34 / 76 *5 = 2,24&lt;BR /&gt;For Center: 26/76*5=1,71&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't figure out which functions I need to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the file if You need it&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AmhVPCf3VN6XiRHGtgwsmUavlgee?e=BaEriZ" target="_blank" rel="noopener"&gt;https://1drv.ms/u/s!AmhVPCf3VN6XiRHGtgwsmUavlgee?e=BaEriZ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You for Your help!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 16:45:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-how-to-calculate-the-performance-of-the-department/m-p/3192010#M115777</guid>
      <dc:creator>Fistachpl</dc:creator>
      <dc:date>2023-04-17T16:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: DAX how to calculate the performance of the department</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-how-to-calculate-the-performance-of-the-department/m-p/3192167#M115787</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 19:31:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-how-to-calculate-the-performance-of-the-department/m-p/3192167#M115787</guid>
      <dc:creator>ThxAlot</dc:creator>
      <dc:date>2023-04-17T19:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: DAX how to calculate the performance of the department</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-how-to-calculate-the-performance-of-the-department/m-p/3257939#M120378</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank You for Your answer. How can I copy these values to another table?&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 12:07:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-how-to-calculate-the-performance-of-the-department/m-p/3257939#M120378</guid>
      <dc:creator>Fistachpl</dc:creator>
      <dc:date>2023-05-29T12:07:41Z</dc:date>
    </item>
  </channel>
</rss>

