<?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 Resource capacity tracking for time card reporting in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Resource-capacity-tracking-for-time-card-reporting/m-p/2489341#M68467</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a visual that I am stuck on creating&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some requirements that look like this:&lt;/P&gt;&lt;P&gt;- Provide a stacked bar chart that tracks our team's "capacity %" over time&lt;/P&gt;&lt;P&gt;- Provide the data by Month&lt;/P&gt;&lt;P&gt;- Any month that is at or below 100% capacity make a green bar&lt;/P&gt;&lt;P&gt;- If a month is between 100% - 110% make the range for this yellow&lt;/P&gt;&lt;P&gt;- Make the range for any bar with over 110% capacity red&lt;/P&gt;&lt;P&gt;- Bonus requirement, if I can make the most recent time frame a darker shade of Green by using some dax in the conditional formatting.&lt;/P&gt;&lt;P&gt;- Add a red constant line (I know how to do this piece)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a visual I mocked up in Excel to give you an idea of what I am going for:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table called 'Worklogs' that looks like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Time Entry Date&lt;/TD&gt;&lt;TD&gt;Team Member&lt;/TD&gt;&lt;TD&gt;Time Entry Logged Time&lt;/TD&gt;&lt;TD&gt;Task #&lt;/TD&gt;&lt;TD&gt;% Time Spent on Task / Day&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5/2/2022&lt;/TD&gt;&lt;TD&gt;Zach Osborn&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;100%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4/29/2022&lt;/TD&gt;&lt;TD&gt;Jim Brothers&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;RTK&lt;/TD&gt;&lt;TD&gt;25%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4/22/2022&lt;/TD&gt;&lt;TD&gt;Jeffrey Toole&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;DEF&lt;/TD&gt;&lt;TD&gt;50%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4/22/2022&lt;/TD&gt;&lt;TD&gt;John Gordon&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;DEF&lt;/TD&gt;&lt;TD&gt;25%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3/20/2022&lt;/TD&gt;&lt;TD&gt;Lex Luther&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;GHI&lt;/TD&gt;&lt;TD&gt;100%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I am stuck on adding the column to correctly calculate the resource capacity. I added a column that would divide each line's "Time Entry Logged Time" by 8 to give me a % by day (see "Time Spent on Task / Day" column above), but I know doing it this way is not correct since the order of operations would be off to provide the correct number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The formula to accuratly show resource capacity would be something like this; Sum Total of Time Entry Logged Time/(# of workdays in a month * &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I am not sure how to deal with adding the 2 extra colors as a % of the total.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what my current visual looks like:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2022 18:38:00 GMT</pubDate>
    <dc:creator>NB689</dc:creator>
    <dc:date>2022-05-02T18:38:00Z</dc:date>
    <item>
      <title>Resource capacity tracking for time card reporting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Resource-capacity-tracking-for-time-card-reporting/m-p/2489341#M68467</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a visual that I am stuck on creating&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some requirements that look like this:&lt;/P&gt;&lt;P&gt;- Provide a stacked bar chart that tracks our team's "capacity %" over time&lt;/P&gt;&lt;P&gt;- Provide the data by Month&lt;/P&gt;&lt;P&gt;- Any month that is at or below 100% capacity make a green bar&lt;/P&gt;&lt;P&gt;- If a month is between 100% - 110% make the range for this yellow&lt;/P&gt;&lt;P&gt;- Make the range for any bar with over 110% capacity red&lt;/P&gt;&lt;P&gt;- Bonus requirement, if I can make the most recent time frame a darker shade of Green by using some dax in the conditional formatting.&lt;/P&gt;&lt;P&gt;- Add a red constant line (I know how to do this piece)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a visual I mocked up in Excel to give you an idea of what I am going for:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table called 'Worklogs' that looks like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Time Entry Date&lt;/TD&gt;&lt;TD&gt;Team Member&lt;/TD&gt;&lt;TD&gt;Time Entry Logged Time&lt;/TD&gt;&lt;TD&gt;Task #&lt;/TD&gt;&lt;TD&gt;% Time Spent on Task / Day&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5/2/2022&lt;/TD&gt;&lt;TD&gt;Zach Osborn&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;100%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4/29/2022&lt;/TD&gt;&lt;TD&gt;Jim Brothers&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;RTK&lt;/TD&gt;&lt;TD&gt;25%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4/22/2022&lt;/TD&gt;&lt;TD&gt;Jeffrey Toole&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;DEF&lt;/TD&gt;&lt;TD&gt;50%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4/22/2022&lt;/TD&gt;&lt;TD&gt;John Gordon&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;DEF&lt;/TD&gt;&lt;TD&gt;25%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3/20/2022&lt;/TD&gt;&lt;TD&gt;Lex Luther&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;GHI&lt;/TD&gt;&lt;TD&gt;100%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I am stuck on adding the column to correctly calculate the resource capacity. I added a column that would divide each line's "Time Entry Logged Time" by 8 to give me a % by day (see "Time Spent on Task / Day" column above), but I know doing it this way is not correct since the order of operations would be off to provide the correct number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The formula to accuratly show resource capacity would be something like this; Sum Total of Time Entry Logged Time/(# of workdays in a month * &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I am not sure how to deal with adding the 2 extra colors as a % of the total.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what my current visual looks like:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 18:38:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Resource-capacity-tracking-for-time-card-reporting/m-p/2489341#M68467</guid>
      <dc:creator>NB689</dc:creator>
      <dc:date>2022-05-02T18:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Resource capacity tracking for time card reporting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Resource-capacity-tracking-for-time-card-reporting/m-p/2494502#M68779</link>
      <description>&lt;P&gt;Please show a mockup of your expected result &lt;STRONG&gt;based on your provided sample data.&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 00:18:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Resource-capacity-tracking-for-time-card-reporting/m-p/2494502#M68779</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-05-05T00:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Resource capacity tracking for time card reporting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Resource-capacity-tracking-for-time-card-reporting/m-p/2498078#M68984</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="336152" data-lia-user-login="NB689" class="lia-mention lia-mention-user"&gt;NB689&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, a&amp;nbsp;single bar cannot be colored in sections.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try using some custom visual,&amp;nbsp;I did some tests and can only set a target line, hope this helps you.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Best Regards,&lt;BR /&gt;Gao&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Community Support Team&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;If there is any post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3" color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Thanks a lot!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;How to get your questions answered quickly&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;--&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;How to provide sample data&lt;/SPAN&gt;&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 08:34:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Resource-capacity-tracking-for-time-card-reporting/m-p/2498078#M68984</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-06T08:34:49Z</dc:date>
    </item>
  </channel>
</rss>

