<?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: Excel Formula into Dax in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-Formula-into-Dax/m-p/1990692#M44043</link>
    <description>&lt;P&gt;The way we can write the synatx could vary depending on your data structure. I assume that you have a calendar table.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Attrition Rate =
CALCULATE (
    AVERAGEX ( 'Headcount', Headcount[Attrition Rate] ),
    DATESYTD ( 'Calendar'[Date] )
) * 12&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 31 Jul 2021 04:21:29 GMT</pubDate>
    <dc:creator>Mohammad_Refaei</dc:creator>
    <dc:date>2021-07-31T04:21:29Z</dc:date>
    <item>
      <title>Excel Formula into Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-Formula-into-Dax/m-p/1990687#M44042</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi all, I am trying to calculate Projected &lt;/STRONG&gt;&lt;STRONG&gt;Attrtion&lt;/STRONG&gt;&lt;STRONG&gt; Rate using the formula &lt;/STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;Projected Attrition Rate = &lt;/STRONG&gt;Cumulative Attrition Rate/# Cumulative Months in the Period * 12 months&lt;/P&gt;&lt;P&gt;i.e. : [(Jan+Feb+Mar)/3]*12 = [(0.61%+0.25%+0.8%)/3]*12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Attrition Rate Overall&amp;nbsp; use in the table is:&lt;/P&gt;&lt;P&gt;DIVIDE(COUNT('Headcount'[Attrition Date]), DISTINCTCOUNT('Headcount '[Emp No.]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need some help to apply the formula into powerbi. Any help or reference? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jul 2021 03:47:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-Formula-into-Dax/m-p/1990687#M44042</guid>
      <dc:creator>bbbbbiiiii</dc:creator>
      <dc:date>2021-07-31T03:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Formula into Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-Formula-into-Dax/m-p/1990692#M44043</link>
      <description>&lt;P&gt;The way we can write the synatx could vary depending on your data structure. I assume that you have a calendar table.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Attrition Rate =
CALCULATE (
    AVERAGEX ( 'Headcount', Headcount[Attrition Rate] ),
    DATESYTD ( 'Calendar'[Date] )
) * 12&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jul 2021 04:21:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-Formula-into-Dax/m-p/1990692#M44043</guid>
      <dc:creator>Mohammad_Refaei</dc:creator>
      <dc:date>2021-07-31T04:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Formula into Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-Formula-into-Dax/m-p/1990736#M44047</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="196904" data-lia-user-login="Mohammad_Refaei" class="lia-mention lia-mention-user"&gt;Mohammad_Refaei&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, my Attrition Rate is actually a measure. Which I cannot apply averagex on it. Any advice on this?&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jul 2021 06:27:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-Formula-into-Dax/m-p/1990736#M44047</guid>
      <dc:creator>bbbbbiiiii</dc:creator>
      <dc:date>2021-07-31T06:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Formula into Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-Formula-into-Dax/m-p/1990737#M44048</link>
      <description>&lt;P&gt;Then you can iterate over a summarized calendar with your measure as follows:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Attrition Rate =
CALCULATE (
    AVERAGEX (
        ADDCOLUMNS (
            SUMMARIZE ( 'Calendar', 'Calendar'[Date] ),
            "AttritionRate", [Attrition Rate]
        ),
        [AttritionRate]
    ),
    DATESYTD ( 'Calendar'[Date] )
) * 12&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 31 Jul 2021 06:32:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-Formula-into-Dax/m-p/1990737#M44048</guid>
      <dc:creator>Mohammad_Refaei</dc:creator>
      <dc:date>2021-07-31T06:32:01Z</dc:date>
    </item>
  </channel>
</rss>

