<?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 AVG TENURE IN YEARS in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVG-TENURE-IN-YEARS/m-p/3270050#M121152</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i have measure for this avg tenure question is is this the right way on how to AVG this tenure&amp;nbsp;&lt;/P&gt;&lt;P&gt;measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AVG Tenure days:=&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"AVG " &amp;amp; CALCULATE(FORMAT(AVERAGEX(&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;VALUES(vw_Employee_Attrition[biometric id]),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;CALCULATE(AVERAGE(vw_Employee_Attrition[Active Tenure year]))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;),"##.0") &amp;amp; " Years",FILTER(vw_Employee_Attrition,vw_Employee_Attrition[IsActive] = 1))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;active tenure year&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;= DATEDIFF(vw_Employee_Attrition[Hire Date],TODAY(),YEAR)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;img /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;thanks.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2023 09:08:41 GMT</pubDate>
    <dc:creator>Easley06</dc:creator>
    <dc:date>2023-06-06T09:08:41Z</dc:date>
    <item>
      <title>AVG TENURE IN YEARS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVG-TENURE-IN-YEARS/m-p/3270050#M121152</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i have measure for this avg tenure question is is this the right way on how to AVG this tenure&amp;nbsp;&lt;/P&gt;&lt;P&gt;measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AVG Tenure days:=&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"AVG " &amp;amp; CALCULATE(FORMAT(AVERAGEX(&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;VALUES(vw_Employee_Attrition[biometric id]),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;CALCULATE(AVERAGE(vw_Employee_Attrition[Active Tenure year]))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;),"##.0") &amp;amp; " Years",FILTER(vw_Employee_Attrition,vw_Employee_Attrition[IsActive] = 1))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;active tenure year&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;= DATEDIFF(vw_Employee_Attrition[Hire Date],TODAY(),YEAR)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;img /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;thanks.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 09:08:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVG-TENURE-IN-YEARS/m-p/3270050#M121152</guid>
      <dc:creator>Easley06</dc:creator>
      <dc:date>2023-06-06T09:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: AVG TENURE IN YEARS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVG-TENURE-IN-YEARS/m-p/3270718#M121216</link>
      <description>&lt;P&gt;Are you only looking at the tenure of those who are still employed in the company?, if not, then you would need to identify leavers, and if it is a leaver then calculate date diff not versus today but the exit date and if it is an active headcount then tenure will be calculated the way you did.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 14:18:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVG-TENURE-IN-YEARS/m-p/3270718#M121216</guid>
      <dc:creator>olgad</dc:creator>
      <dc:date>2023-06-06T14:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: AVG TENURE IN YEARS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVG-TENURE-IN-YEARS/m-p/3271555#M121276</link>
      <description>&lt;P&gt;yes tenure whos still in the company. thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 01:27:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVG-TENURE-IN-YEARS/m-p/3271555#M121276</guid>
      <dc:creator>Easley06</dc:creator>
      <dc:date>2023-06-07T01:27:12Z</dc:date>
    </item>
  </channel>
</rss>

