<?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: Different DAX calculation for Month and longer periods (Qtrs, Years or any periods longer than Month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-DAX-calculation-for-Month-and-longer-periods-Qtrs/m-p/4152793#M165050</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you, it works perfectly!&lt;/P&gt;</description>
    <pubDate>Mon, 16 Sep 2024 15:24:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-09-16T15:24:53Z</dc:date>
    <item>
      <title>Different DAX calculation for Month and longer periods (Qtrs, Years or any periods longer than Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-DAX-calculation-for-Month-and-longer-periods-Qtrs/m-p/4152201#M165011</link>
      <description>&lt;P&gt;Dear Community,&lt;BR /&gt;&lt;BR /&gt;I need your help with the following.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have very simple calculation for Employees Turnover.&lt;BR /&gt;Here is the screenshot with the source table, summarized table for months and DAX for turnover measure.&lt;BR /&gt;Measure for months works just like it is required, but I need to do it better by addinf other way of calculation for Qtrs and Years or any periods longer than 1 month.&lt;BR /&gt;I need measure to sum up results for moths when longer than 1 month period is selected.&lt;BR /&gt;For example, if I want to calculate 2024 Qtr Turnover I need to sum Jan-2024 + Feb-2024 + Mar-2024 measure results.&lt;BR /&gt;The way of calculation that comes to my mind is to create special table with months results and then calculate the results for month, but I wonder if there is a more beautiful DAX solution without adding other table, I need new measure to work for tables and charts with date ierarchies.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Turnover = DIVIDE(
    SUM(Data[Employees Left]),
    (SUM(Data[Employee Number 1])+SUM(Data[Employee Number 2]))/2)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Thank you very much in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 10:00:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-DAX-calculation-for-Month-and-longer-periods-Qtrs/m-p/4152201#M165011</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-16T10:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Different DAX calculation for Month and longer periods (Qtrs, Years or any periods longer than Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-DAX-calculation-for-Month-and-longer-periods-Qtrs/m-p/4152216#M165014</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;, Try using below measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Turnover = &lt;BR /&gt;SUMX(&lt;BR /&gt;VALUES(Data[Month]),&lt;BR /&gt;DIVIDE(&lt;BR /&gt;SUM(Data[Employees Left]),&lt;BR /&gt;(SUM(Data[Employee Number 1]) + SUM(Data[Employee Number 2])) / 2&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 10:08:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-DAX-calculation-for-Month-and-longer-periods-Qtrs/m-p/4152216#M165014</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-09-16T10:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Different DAX calculation for Month and longer periods (Qtrs, Years or any periods longer than Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-DAX-calculation-for-Month-and-longer-periods-Qtrs/m-p/4152793#M165050</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you, it works perfectly!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 15:24:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-DAX-calculation-for-Month-and-longer-periods-Qtrs/m-p/4152793#M165050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-16T15:24:53Z</dc:date>
    </item>
  </channel>
</rss>

