<?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: Creating a punctuality report in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-punctuality-report/m-p/4006626#M157665</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Thanks for the reply from&lt;/SPAN&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="118660" data-lia-user-login="rajendraongole1" class="lia-mention lia-mention-user"&gt;rajendraongole1&lt;/a&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;SPAN&gt;please allow me to provide another insight:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;HI,&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="763983" data-lia-user-login="iorellano" class="lia-mention lia-mention-user"&gt;iorellano&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Regarding the issue you raised, my solution is as follows:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;1.First I have created the following table and the column names and data are the data you have given:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;2. Below are the measure I've created for your needs:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
VAR employ1=CALCULATE(DISTINCTCOUNT('punctuality'[user]),FILTER(ALLSELECTED('punctuality'),'punctuality'[activity id]=MAX('punctuality'[activity id])&amp;amp;&amp;amp;'punctuality'[time]&amp;lt;TIME(9,0,0)))
VAR employ2=CALCULATE(DISTINCTCOUNT(punctuality[user]),FILTER(ALLSELECTED(punctuality),'punctuality'[activity id]=MAX('punctuality'[activity id])))
RETURN employ1/employ2&lt;/LI-CODE&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;3.Modify the output format:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;4.Here's my final result, which I hope meets your requirements.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Can you share sample data and sample output in tabular format if I am misunderstanding? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Please find the attached pbix relevant to the case.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Leroy Lu&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;If this post &lt;SPAN&gt;helps&lt;/SPAN&gt;, then please consider Accept it &lt;SPAN&gt;as the solution &lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2024 09:24:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-06-24T09:24:48Z</dc:date>
    <item>
      <title>Creating a punctuality report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-punctuality-report/m-p/4004232#M157663</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;I'm working on a reporting tool to calculate the punctuality percentage of a team.&amp;nbsp;&lt;BR /&gt;I'm having issues running the data and finding the right tool, here's what we are working with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log activity: Data that explains every activity for an user&lt;/P&gt;&lt;P&gt;First activity: Min value from log activity&lt;/P&gt;&lt;P&gt;Target clock in: Table explaining clock in times per user.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issues i'm running into are:&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Time data isn't calculated as a value, and it's only read as "count" and "distinct count"&lt;/P&gt;&lt;P&gt;* First activity values are not inputed when using measures and quick measures, it's simply non selectable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 14:04:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-punctuality-report/m-p/4004232#M157663</guid>
      <dc:creator>iorellano</dc:creator>
      <dc:date>2024-06-21T14:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a punctuality report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-punctuality-report/m-p/4004402#M157664</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="763983" data-lia-user-login="iorellano" class="lia-mention lia-mention-user"&gt;iorellano&lt;/a&gt;&amp;nbsp;- can you please provide some sample data to look over ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 15:47:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-punctuality-report/m-p/4004402#M157664</guid>
      <dc:creator>rajendraongole1</dc:creator>
      <dc:date>2024-06-21T15:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a punctuality report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-punctuality-report/m-p/4006626#M157665</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks for the reply from&lt;/SPAN&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="118660" data-lia-user-login="rajendraongole1" class="lia-mention lia-mention-user"&gt;rajendraongole1&lt;/a&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;SPAN&gt;please allow me to provide another insight:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;HI,&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="763983" data-lia-user-login="iorellano" class="lia-mention lia-mention-user"&gt;iorellano&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Regarding the issue you raised, my solution is as follows:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;1.First I have created the following table and the column names and data are the data you have given:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;2. Below are the measure I've created for your needs:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
VAR employ1=CALCULATE(DISTINCTCOUNT('punctuality'[user]),FILTER(ALLSELECTED('punctuality'),'punctuality'[activity id]=MAX('punctuality'[activity id])&amp;amp;&amp;amp;'punctuality'[time]&amp;lt;TIME(9,0,0)))
VAR employ2=CALCULATE(DISTINCTCOUNT(punctuality[user]),FILTER(ALLSELECTED(punctuality),'punctuality'[activity id]=MAX('punctuality'[activity id])))
RETURN employ1/employ2&lt;/LI-CODE&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;3.Modify the output format:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;4.Here's my final result, which I hope meets your requirements.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Can you share sample data and sample output in tabular format if I am misunderstanding? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Please find the attached pbix relevant to the case.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Leroy Lu&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;If this post &lt;SPAN&gt;helps&lt;/SPAN&gt;, then please consider Accept it &lt;SPAN&gt;as the solution &lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 09:24:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-punctuality-report/m-p/4006626#M157665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-24T09:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a punctuality report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-punctuality-report/m-p/4016288#M158329</link>
      <description>&lt;P&gt;&lt;A href="https://adenbrook1-my.sharepoint.com/:u:/g/personal/iorellano_adenmoves_com/EefHJ5iCr05ImpOmNJrfgxIB7uXko08MZiJMej4HD4p29A?e=mem7hk" target="_self"&gt;Punctuality Pbix&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good afternoon, and thank you for your interest. The following a simplified version of the data, most important aspects for the task are the first activity metrics and the schedule table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 20:49:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-punctuality-report/m-p/4016288#M158329</guid>
      <dc:creator>iorellano</dc:creator>
      <dc:date>2024-06-28T20:49:18Z</dc:date>
    </item>
  </channel>
</rss>

