Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
NB689
Helper I
Helper I

Resource capacity tracking for time card reporting

Hello everyone,

 

I have a visual that I am stuck on creating

 

I have some requirements that look like this:

- Provide a stacked bar chart that tracks our team's "capacity %" over time

- Provide the data by Month

- Any month that is at or below 100% capacity make a green bar

- If a month is between 100% - 110% make the range for this yellow

- Make the range for any bar with over 110% capacity red

- Bonus requirement, if I can make the most recent time frame a darker shade of Green by using some dax in the conditional formatting.

- Add a red constant line (I know how to do this piece)

 

Here is a visual I mocked up in Excel to give you an idea of what I am going for:

capacity percent by timeframe.png

 

I have a table called 'Worklogs' that looks like this:

Time Entry DateTeam MemberTime Entry Logged TimeTask #% Time Spent on Task / Day
5/2/2022Zach Osborn8ABC100%
4/29/2022Jim Brothers2RTK25%
4/22/2022Jeffrey Toole4DEF50%
4/22/2022John Gordon2DEF25%
3/20/2022Lex Luther8GHI100%

 

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.

 

The formula to accuratly show resource capacity would be something like this; Sum Total of Time Entry Logged Time/(# of workdays in a month * 😎

 

Also, I am not sure how to deal with adding the 2 extra colors as a % of the total.

 

Here is what my current visual looks like:

example visual. png.png

 

Thank you!

2 REPLIES 2
v-cgao-msft
Community Support
Community Support

Hi @NB689 ,

 

Unfortunately, a single bar cannot be colored in sections. 

Try using some custom visual, I did some tests and can only set a target line, hope this helps you.

vcgaomsft_1-1651826036978.png

vcgaomsft_0-1651825896138.png

Best Regards,
Gao

Community Support Team

If there is any post helps, then please consider Accept it as the solution 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. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

lbendlin
Super User
Super User

Please show a mockup of your expected result based on your provided sample data. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors