Duration and work concerning tasks in MS Project - ms-project

i have a problem in MS Project 2013:
i´d like to set up a work package that has a certain duration but in this duration there is no work like 8 hours x (duration in days) required but e.g. 5 days of work in a timeframe of 30 days.
this is annoying to set up but it works. now ms project does not draw the respective bar for 30 days of duration but only for 5 days (the work). at the end of the bar a little arrows goes on for another 25 days (resulting in 5+25=30days) and then turns down to the next work package. i´d rather like to see a bar for the full 30 days and then for the arrow to go down.
is there a way to do this?
it seems wrong that the bar depends on the work rather than the duration because it is not likely that the work gets done in the first 5 days and then you just wait for 25 days.

Create a new task and set the Duration to 30d and make sure the type is "Fixed Duration" and set the task's Work to 40h.

Related

Assigning task to resource with increased working hours and reduced availability

I am facing a problem when I am assigning a one day task to a resource who works for 9hrs/day but with 25% availability. Following are the steps
Created a calendar with 9hrs as working hours (for all days) as shown below
Assigned availability to "Dummy" Resource as shown below
Created a 1 day task "Dummy" as shown below
Problem is
Work Column must be 2.25 hrs
Calculation: Dummy resource for 9hrs/day at 25% availability = (25/100)*9 hrs = 2.25hrs
but it is showing is 2.13 hrs
How to assign a long duration task (say 1 year) to above resource with different availability (as shown in image above). [Note: There are other resource who work for 8hrs/day with different availibility hence I cannot change MS Project "OPTIONS"]
I have created 3 calendars - CAL_1, CAL_2 and CAL_3 for 3 different locations. Each location has its own non-working days in each quarter. For example 15 weekdays are not working in Mar, Jun, Sept, Dec in CAL_1 every year. 10 weekdays in same manner for CAL_2 every year and so on. Is there any VBA script by which I can automate such work for every year (note: weekends are not included).

kibana timelion time zone issue

sorry if this is a newbie question but i have been having a very weird issue with my installation of kibana:
setting dateFormat:tz is set to UTC.
searches are working great and data is shown exactly as expected when the last minute in the graph is 3 hours before my local time (i'm at GMT+3 so it's accurate)
in time lion on the other hand I've been having an issue where i run a very basic time series like .es(*) and what i get is a graph where the last 3 hours is showing 0 entries. it seems that the timelion is not using the configured time zone for the graph limits but it is using the tz on the data.
any thoughts?
You need to set your data time field
.es(timefield=YOURFIELDNAME)

Grafana: only 1 minute of data points visible for last 5 minutes

I cannot seem to determine why Grafana is only displaying data points for the past minute even though we have been collecting data for longer than that (couple days).
That is, switching to "5 minutes ago" only displays the last minute of data and seems to cut off with each refresh. However, selecting a specific time range displays all data points correctly.
For this data path, storage-schemas.conf is setup like so:
retentions = 1s:24h,15s:7d,1m:30d
From what I gather, that means that I should have 1-second precision data for the past 24 hours, 15-second data for the past 7 days, and 1-minute average for 30 days. Is this also a correct assumption and if not, could it be related to the grafana problem?

How to show time difference of hours which are greater than 24 hours?

I'm facing difficulties to show the time time difference in hours where hours are greater than 24.
Right now I'm using the following in iReport
(new SimpleDateFormat("dd':'HH':'mm':'ss")).format(new Date($V{avgDuration}.longValue()*1000))
where $V{avgDuration} is a variable in jrxml file which is the average time difference between two dates in seconds. Here it shows the 1 day 1 hour but I want it to be 25 hour. What should I do?
I've solved the problem using PeriodFormatterBuilder. But for this, I need to use joda-time library.
In the expression editor of the text box in jrxml file, just wrote the following:
new org.joda.time.format.PeriodFormatterBuilder()
.printZeroAlways()
.minimumPrintedDigits(2)
.appendHours().appendSeparator(":")
.appendMinutes().appendSeparator(":")
.appendSeconds()
.toFormatter()
.print(new org.joda.time.Period(
$V{avgDuration}.longValue()*1000))

add time plus and recalculate the datetime

I'm new into coding.
I'm using the echo %time% to get the time.
Now is my goal to add 4 hours to this time and create the output.
Nice would be to have the time only in hours and minutes.
It would help to tell you are working on a batch script, makes helping easier
You can split up the time in hours and minutes:
set hh=%time:~0,2%
set mm=%time:~3,2%
and add 4 hours:
set /A hh=%hh%+4
then concat them back together, and do not forget to fix it when the hours go above 24, a simple if statement would do fine then distract the 24 to get the right time

Resources