<?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: Calculate Late Arrival Time of Employee in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Calculate-Late-Arrival-Time-of-Employee/m-p/4050117#M36073</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="777713" data-lia-user-login="wasaprinters" class="lia-mention lia-mention-user"&gt;wasaprinters&lt;/a&gt;&amp;nbsp; First you need to apply PIVOT functionality on "dali_time" and "Check in out" column to get the 2 separate columns for check in and check out time. Please review the attached following screenshots;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you have 2 separate columns, now write a calculated Column in DAX to find out Late or on time:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;PRE&gt;CheckoutStatus = &lt;BR /&gt;VAR CheckOutTime = 'Table'[Check out]&lt;BR /&gt;VAR TimeOut = [Time Out]&lt;BR /&gt;RETURN &lt;BR /&gt;IF(&lt;BR /&gt;CheckOutTime = TimeOut, &lt;BR /&gt;"On time",&lt;BR /&gt;IF(&lt;BR /&gt;CheckOutTime &amp;lt; TimeOut,&lt;BR /&gt;"Early",&lt;BR /&gt;"Late"&lt;BR /&gt;)&lt;BR /&gt;)&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="777713" data-lia-user-login="wasaprinters" class="lia-mention lia-mention-user"&gt;wasaprinters&lt;/a&gt;&amp;nbsp; Hope it works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! This will help others on the forum!&lt;BR /&gt;Appreciate your Kudos!!&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jul 2024 07:43:17 GMT</pubDate>
    <dc:creator>fahadqadir3</dc:creator>
    <dc:date>2024-07-19T07:43:17Z</dc:date>
    <item>
      <title>Calculate Late Arrival Time of Employee</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Calculate-Late-Arrival-Time-of-Employee/m-p/4049905#M36067</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Respected All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With referene of screenshot of my Colomns, Our Company Time is 10 AM is Checkin and 7 Pm is Check Out, While Colums [dali_time] is a actual time of Employee arrival and leave.. First of All i want to seperate the time from 1 colums to 2 colums i.e. Time in Actual and Time out Actual then after i want a new colums which show Late arrival of Employee or Leave early employee with another column late mintues or hours calculation of employee&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 06:18:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Calculate-Late-Arrival-Time-of-Employee/m-p/4049905#M36067</guid>
      <dc:creator>wasaprinters</dc:creator>
      <dc:date>2024-07-19T06:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Late Arrival Time of Employee</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Calculate-Late-Arrival-Time-of-Employee/m-p/4050117#M36073</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="777713" data-lia-user-login="wasaprinters" class="lia-mention lia-mention-user"&gt;wasaprinters&lt;/a&gt;&amp;nbsp; First you need to apply PIVOT functionality on "dali_time" and "Check in out" column to get the 2 separate columns for check in and check out time. Please review the attached following screenshots;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you have 2 separate columns, now write a calculated Column in DAX to find out Late or on time:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;PRE&gt;CheckoutStatus = &lt;BR /&gt;VAR CheckOutTime = 'Table'[Check out]&lt;BR /&gt;VAR TimeOut = [Time Out]&lt;BR /&gt;RETURN &lt;BR /&gt;IF(&lt;BR /&gt;CheckOutTime = TimeOut, &lt;BR /&gt;"On time",&lt;BR /&gt;IF(&lt;BR /&gt;CheckOutTime &amp;lt; TimeOut,&lt;BR /&gt;"Early",&lt;BR /&gt;"Late"&lt;BR /&gt;)&lt;BR /&gt;)&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="777713" data-lia-user-login="wasaprinters" class="lia-mention lia-mention-user"&gt;wasaprinters&lt;/a&gt;&amp;nbsp; Hope it works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! This will help others on the forum!&lt;BR /&gt;Appreciate your Kudos!!&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 07:43:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Calculate-Late-Arrival-Time-of-Employee/m-p/4050117#M36073</guid>
      <dc:creator>fahadqadir3</dc:creator>
      <dc:date>2024-07-19T07:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Late Arrival Time of Employee</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Calculate-Late-Arrival-Time-of-Employee/m-p/4050244#M36076</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sir,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now it bacame like this,, but i want as you have shared the screenshot in two colums check in and check out&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 08:22:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Calculate-Late-Arrival-Time-of-Employee/m-p/4050244#M36076</guid>
      <dc:creator>wasaprinters</dc:creator>
      <dc:date>2024-07-19T08:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Late Arrival Time of Employee</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Calculate-Late-Arrival-Time-of-Employee/m-p/4050594#M36077</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="777713" data-lia-user-login="wasaprinters" class="lia-mention lia-mention-user"&gt;wasaprinters&lt;/a&gt;&amp;nbsp;Please share your previous step screenshot. You just need to select 2 Columns.&lt;/P&gt;&lt;P&gt;1st column with IN Out e.g: Check IN and Check Out&lt;/P&gt;&lt;P&gt;2nd Column: Time&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 11:07:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Calculate-Late-Arrival-Time-of-Employee/m-p/4050594#M36077</guid>
      <dc:creator>fahadqadir3</dc:creator>
      <dc:date>2024-07-19T11:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Late Arrival Time of Employee</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Calculate-Late-Arrival-Time-of-Employee/m-p/4050683#M36079</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;img /&gt;&lt;/U&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its Generating error&amp;nbsp;Expression.Error: We cannot convert the value null to type Text.&lt;BR /&gt;Details:&lt;BR /&gt;Value=&lt;BR /&gt;Type=[Type]&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 12:22:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Calculate-Late-Arrival-Time-of-Employee/m-p/4050683#M36079</guid>
      <dc:creator>wasaprinters</dc:creator>
      <dc:date>2024-07-19T12:22:09Z</dc:date>
    </item>
  </channel>
</rss>

