<?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: Find the Employee status in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Employee-status/m-p/2029731#M45486</link>
    <description>&lt;P&gt;&lt;EM&gt;"IDle status = Employee completed the job but not yet started the job"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can somebody have completed the job without starting it?&lt;/P&gt;</description>
    <pubDate>Sat, 21 Aug 2021 13:01:48 GMT</pubDate>
    <dc:creator>daxer-almighty</dc:creator>
    <dc:date>2021-08-21T13:01:48Z</dc:date>
    <item>
      <title>Find the Employee status</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Employee-status/m-p/2029728#M45485</link>
      <description>&lt;P&gt;Hi Everyone!,&lt;/P&gt;&lt;P&gt;This is Vijay and a newbie to this forum.&lt;/P&gt;&lt;P&gt;I have an employee processing table in which fields have [Start Time] and [End Time] of jobs.&lt;/P&gt;&lt;P&gt;I need to know whether the employee working on the job or Idle (or) not. I have tried to write the Dax but it getting the wrong answer to me.&lt;/P&gt;&lt;P&gt;Could anyone please help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Active Status = Employee started the job and the End Time must be null&lt;/P&gt;&lt;P&gt;IDle status = Employee completed the job but not yet started the job&lt;/P&gt;&lt;P&gt;SingOut = total working hours [ Max(End Time)-MIN(Start Time) ]&amp;nbsp; is greater than 480 mins&lt;/P&gt;&lt;P&gt;LoginOn :&amp;nbsp;MIN(Start Time)&lt;/P&gt;&lt;P&gt;LastActive :&amp;nbsp;Max(End Time)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Designer Status = 
var stat = if(MAX(FACT_Processing[End Time])=BLANK(),"ACTIVE",IF(MAX(FACT_Processing[End Time])&amp;lt;&amp;gt;BLANK() &amp;amp;&amp;amp; DATEDIFF(NOW(),MAX(FACT_Processing[End Time]),MINUTE)&amp;lt;480 ,"IDLE","SIGN-OUT"))
RETURN stat&lt;/LI-CODE&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, 21 Aug 2021 12:59:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Employee-status/m-p/2029728#M45485</guid>
      <dc:creator>yajiviki</dc:creator>
      <dc:date>2021-08-21T12:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Find the Employee status</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Employee-status/m-p/2029731#M45486</link>
      <description>&lt;P&gt;&lt;EM&gt;"IDle status = Employee completed the job but not yet started the job"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can somebody have completed the job without starting it?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Aug 2021 13:01:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Employee-status/m-p/2029731#M45486</guid>
      <dc:creator>daxer-almighty</dc:creator>
      <dc:date>2021-08-21T13:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Find the Employee status</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Employee-status/m-p/2029835#M45490</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;daxer,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your prompt response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sorry for that mistakenly I wrote that and&amp;nbsp; actual text was&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;"IDle status = Employee completed the job but not yet started the next job in his queue"&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Basically, this is the image editing job and all the files were added in the Designer Queue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Designers start the job one by one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope this information fulfil your request,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-yajiv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Aug 2021 16:03:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Employee-status/m-p/2029835#M45490</guid>
      <dc:creator>yajiviki</dc:creator>
      <dc:date>2021-08-21T16:03:08Z</dc:date>
    </item>
  </channel>
</rss>

