<?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: % of Hours by Month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-Hours-by-Month/m-p/2205523#M51879</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="331333" data-lia-user-login="ctedesco3307" class="lia-mention lia-mention-user"&gt;ctedesco3307&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you describe the meaning of some columns in your calendar table, like [THoliday], [Tworkday] and [WorkingDay].&lt;/P&gt;
&lt;P&gt;And what is the meaning of&amp;nbsp;&lt;SPAN data-sheets-value="{&amp;quot;1&amp;quot;:3,&amp;quot;3&amp;quot;:1}" data-sheets-userformat="{&amp;quot;2&amp;quot;:14337,&amp;quot;3&amp;quot;:{&amp;quot;1&amp;quot;:5,&amp;quot;2&amp;quot;:&amp;quot;M/D/YYYY&amp;quot;,&amp;quot;3&amp;quot;:1},&amp;quot;14&amp;quot;:{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:0},&amp;quot;15&amp;quot;:&amp;quot;Calibri&amp;quot;,&amp;quot;16&amp;quot;:11}"&gt;12/31/1899 in the [WorkingDay], does it mean it's not working day?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-sheets-value="{&amp;quot;1&amp;quot;:3,&amp;quot;3&amp;quot;:1}" data-sheets-userformat="{&amp;quot;2&amp;quot;:14337,&amp;quot;3&amp;quot;:{&amp;quot;1&amp;quot;:5,&amp;quot;2&amp;quot;:&amp;quot;M/D/YYYY&amp;quot;,&amp;quot;3&amp;quot;:1},&amp;quot;14&amp;quot;:{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:0},&amp;quot;15&amp;quot;:&amp;quot;Calibri&amp;quot;,&amp;quot;16&amp;quot;:11}"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-sheets-value="{&amp;quot;1&amp;quot;:3,&amp;quot;3&amp;quot;:1}" data-sheets-userformat="{&amp;quot;2&amp;quot;:14337,&amp;quot;3&amp;quot;:{&amp;quot;1&amp;quot;:5,&amp;quot;2&amp;quot;:&amp;quot;M/D/YYYY&amp;quot;,&amp;quot;3&amp;quot;:1},&amp;quot;14&amp;quot;:{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:0},&amp;quot;15&amp;quot;:&amp;quot;Calibri&amp;quot;,&amp;quot;16&amp;quot;:11}"&gt;Jay&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Nov 2021 10:04:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-11-24T10:04:58Z</dc:date>
    <item>
      <title>% of Hours by Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-Hours-by-Month/m-p/2199281#M51578</link>
      <description>&lt;P&gt;Hi All! This report shows how many hours a person is 'booked' (plan time) to a project for a month. I want the values to show as a percentage based on how many working days there are in the month. If there were 160 working hours an the person was booked for 80 the value would show on the report as 50%&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calendar Table&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.google.com/spreadsheets/d/1Quq6mlax15D2KXwQpYQl0KzDlzlGYNXD/edit?usp=sharing&amp;amp;ouid=111016731196150377040&amp;amp;rtpof=true&amp;amp;sd=true" target="_blank"&gt;https://docs.google.com/spreadsheets/d/1Quq6mlax15D2KXwQpYQl0KzDlzlGYNXD/edit?usp=sharing&amp;amp;ouid=111016731196150377040&amp;amp;rtpof=true&amp;amp;sd=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tempo Plans&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.google.com/spreadsheets/d/15oGfbSZlUPqlsR5i4LklkoNyQfDx-MVf/edit?usp=sharing&amp;amp;ouid=111016731196150377040&amp;amp;rtpof=true&amp;amp;sd=true" target="_blank"&gt;https://docs.google.com/spreadsheets/d/15oGfbSZlUPqlsR5i4LklkoNyQfDx-MVf/edit?usp=sharing&amp;amp;ouid=111016731196150377040&amp;amp;rtpof=true&amp;amp;sd=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a pre-calculated planned hours measure that calculates the planned hours per day based on the start and end date of the plan&amp;nbsp;&lt;/P&gt;&lt;P&gt;Planned Hours&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.google.com/document/d/14HWaDlgUfo8nCABFlFfKyQBvsa9cfpN9a1qT8RO8HbQ/edit?usp=sharing" target="_blank"&gt;https://docs.google.com/document/d/14HWaDlgUfo8nCABFlFfKyQBvsa9cfpN9a1qT8RO8HbQ/edit?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thansk in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 21:55:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-Hours-by-Month/m-p/2199281#M51578</guid>
      <dc:creator>ctedesco3307</dc:creator>
      <dc:date>2021-11-19T21:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: % of Hours by Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-Hours-by-Month/m-p/2199420#M51591</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="331333" data-lia-user-login="ctedesco3307" class="lia-mention lia-mention-user"&gt;ctedesco3307&lt;/a&gt; , If you have working hours, Please try a measure like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;divide(sum(Table[Working Hours]), Sumx(Summarize(Table, Table[Full Name], Table[Month Year], "_1", 160), [_1]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The denominator should have something from fact table, if full name is from dimension then use employee id from fact&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 03:41:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-Hours-by-Month/m-p/2199420#M51591</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-11-20T03:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: % of Hours by Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-Hours-by-Month/m-p/2202432#M51721</link>
      <description>&lt;P&gt;Thank you -&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp; --&amp;nbsp; Is there a way to dynamically calculate the working days per month? Instead of harad coding the 160, I want to calculate the hours compared to the working days by month , or week, I'd like it to change based on the Calendar view I have, whether it's months or weeks....&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 22:11:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-Hours-by-Month/m-p/2202432#M51721</guid>
      <dc:creator>ctedesco3307</dc:creator>
      <dc:date>2021-11-22T22:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: % of Hours by Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-Hours-by-Month/m-p/2205523#M51879</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="331333" data-lia-user-login="ctedesco3307" class="lia-mention lia-mention-user"&gt;ctedesco3307&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you describe the meaning of some columns in your calendar table, like [THoliday], [Tworkday] and [WorkingDay].&lt;/P&gt;
&lt;P&gt;And what is the meaning of&amp;nbsp;&lt;SPAN data-sheets-value="{&amp;quot;1&amp;quot;:3,&amp;quot;3&amp;quot;:1}" data-sheets-userformat="{&amp;quot;2&amp;quot;:14337,&amp;quot;3&amp;quot;:{&amp;quot;1&amp;quot;:5,&amp;quot;2&amp;quot;:&amp;quot;M/D/YYYY&amp;quot;,&amp;quot;3&amp;quot;:1},&amp;quot;14&amp;quot;:{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:0},&amp;quot;15&amp;quot;:&amp;quot;Calibri&amp;quot;,&amp;quot;16&amp;quot;:11}"&gt;12/31/1899 in the [WorkingDay], does it mean it's not working day?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-sheets-value="{&amp;quot;1&amp;quot;:3,&amp;quot;3&amp;quot;:1}" data-sheets-userformat="{&amp;quot;2&amp;quot;:14337,&amp;quot;3&amp;quot;:{&amp;quot;1&amp;quot;:5,&amp;quot;2&amp;quot;:&amp;quot;M/D/YYYY&amp;quot;,&amp;quot;3&amp;quot;:1},&amp;quot;14&amp;quot;:{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:0},&amp;quot;15&amp;quot;:&amp;quot;Calibri&amp;quot;,&amp;quot;16&amp;quot;:11}"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-sheets-value="{&amp;quot;1&amp;quot;:3,&amp;quot;3&amp;quot;:1}" data-sheets-userformat="{&amp;quot;2&amp;quot;:14337,&amp;quot;3&amp;quot;:{&amp;quot;1&amp;quot;:5,&amp;quot;2&amp;quot;:&amp;quot;M/D/YYYY&amp;quot;,&amp;quot;3&amp;quot;:1},&amp;quot;14&amp;quot;:{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:0},&amp;quot;15&amp;quot;:&amp;quot;Calibri&amp;quot;,&amp;quot;16&amp;quot;:11}"&gt;Jay&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 10:04:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-Hours-by-Month/m-p/2205523#M51879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-24T10:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: % of Hours by Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-Hours-by-Month/m-p/2205894#M51908</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;- thank you for responding.&lt;/P&gt;&lt;P&gt;THoliday are company holidays, non working days.&amp;nbsp;&lt;/P&gt;&lt;P&gt;TWorkday is an identifier to tag if a day is a working day or not&amp;nbsp;&lt;/P&gt;&lt;P&gt;12/31/1899 is a placeholder for a non working day - This is the calculation for the column&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;WorkingDay = &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;OR&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TDate[WeekDay]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;TDate[WeekDay]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;7&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;date&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;1900&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TDate[THoliday]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;TDate[Date]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;date&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;1900&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Pleae let me know if you need more info! Thank you&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 13:19:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-Hours-by-Month/m-p/2205894#M51908</guid>
      <dc:creator>ctedesco3307</dc:creator>
      <dc:date>2021-11-24T13:19:13Z</dc:date>
    </item>
  </channel>
</rss>

