Are there any wizards out there that can help me get a bit closer to the solution regarding this chart I'd like to do for a school project?
I have data regarding transport tasks and how long it took them. I would like to be able to plot them in a way that consecutively shows the length of each trip on the y axis while the x axis represents when the trip happened.
Example of data:
Trip number
Trip Time
Trip Start
Trip Finish
1
06-09-2021 08:28:53
08:28:53
09:14:17
2
06-09-2021 09:00:00
09:00:00
10:21:18
3
07-09-2021 10:30:00
10:30:00
11:30:00
And I would like to chart it in a following way:
You could change the layout of your data to this:
Trip No. Start/Finish
1 08:28:53
1 09:14:17
2 09:00:00
2 10:21:18
3 10:30:00
3 11:30:00
and then plot as a scatter with straight lines with markers chart, selecting each trip as a separate series. Adding each trip as a separate series means the lines should appear between each pair of points and each trip is a separate colour.
The Trip No. column is your x-axis data and the Start/Finish column is your y-axis data.
I have used the trip number rather than the Trip Time column as the x-axis to make the chart easier to read as time + date on the x axis tends to look a bit messy.
It should come out something like this:
Related
I have 7 different measurement points on which is temperature measured for every hour (timestamp). Like these pic down.
I want graph similar like these.
Data table:
timestamp m1_temp m1_dist m2_dist m2_temp
Mar 9, 2017 12:00:00 AM 51.72 20.00 10.00 41.72
Mar 9, 2017 1:00:00 AM 48.73 20.00 10.00 38.73
Mar 9, 2017 2:00:00 AM 43.51 20.00 10.00 33.51
I get:
So problem is now:
I need to pick timestamp range (button or just calendar with time) and see animation (not real animation, it would look like that because data ranges would change for example every 2 seconds) on chart trough that time. It would be great to see chart title as timestamp.
Maybe connect points with line, it would be more visible to the viewer.
Thanks in advance
Currently, I don't think it's possible to have timelapse animation in Power BI visuals.
There is an idea related to this that you can vote on though:
Animation for ALL!
Without animation, there are a couple possible ways to attempt a similar thing. Either use a slicer for time or else show all times at once.
To do this, your data will need to be formatted a bit differently like this:
To compute the travel time (across two points) over a period of time, I was logging the time at which I crossed the sub-points between the two main points. My ultimate aim was to prepare a line chart which would show the trend of the journeys, and then find out where I have lost time and where I have gained.
My time entries are in the below format
Day 1|Day 2
09:55|09:35
10:01|09:37
10:06|09:42
10:09|09:45
10:12|09:49
10:15|09:51
10:22|09:58
10:28|10:08
10:35|10:18
10:38|10:21
10:48|10:31
I drew the chart with the time series appearing on the y axis (with journey points on the x axis). But Excel has some logic to determine which time values should be shown in the y axis. How can I force excel to only show the time values which I want to be seen? For example in the above case I actually need time stamps like ;
09:00
09:15
09:30
09:45
10:00
10:15
10:30
10:45
11:00
How can this be done? Thanks in advance.
Found the answer. On the Axis there is a provision to set the Min, Max values, and Major and Minor points on the axis.
For the Min and Max values, divide the hours you wish to see by 24. Example, if the starting time should be 9AM, then 9/24 = 0.375 should be given as the Min value. If 12 noon should be the max value then 12/24 = 0.500 should be given as the Max value. For the Major point, in case the intervals have to be of 15 mins the formula to be used is (15/60)/24 = 0.01041.
I am trying to create a graph in excel (thinking about a scatter graph) with two variables. I have day of the week and and time of day. I would like Day of the Week to be on the Y axis and Time of Day on the x-axis. How can I achieve this?
You need to format the day values as dddd as mentioned in the comment. Here's an example. I have chosen the numbers in the Day column so that if represented as a date they start from Monday.
I also fixed the min and max of the y-axis to 2 and 8, and the min and max of the x-axis to .125 and .75 (because each hour=1/24 of a day so to get an exact number it's easier to work in multiples of 3 hours or 1/8 of a day).
I have been struggling with creating an more advanced Gantt chart with Excel than the simple Stacked Bar Chart that is typically used in the examples I have seen in the web. For my example I would like to group multiple rows for the and entity on one row of the final Gantt. See the example data below:
Employee Start End
EMPL1 2:00 4:00
EMPL1 6:00 8:00
EMPL2 1:00 5:00
EMPL3 3:00 4:00
EMPL3 7:00 8:00
With the data above I would like the Gantt chart to group items for a single employee into a specific row as shown below. So for example, Employees 1 & 3 have two separate times, but their data is displayed on a single row in the Gantt.
TIME 1 2 3 4 5 6 7 8 9
Empl1 XXXXXXXXXXX XXXXXXXXXX
Empl2 XXXXXXXXXXXXXXXXXXXXX
Empl3 XXXXXX XXXXX
Can excel generate a report like the one below? I have done simple Gantts using a start date and a duration to create a Stacked Bar Chart and that works fine, but I haven't been able to find a way to group multiple rows of data together for a single line on a chart.
Yes, but probably easiest with a different data layout and in the example below using Insert Stacked Bar, Switch Row/Column, Y-axis categories in reverse order and X-axis range set to 1-9:
I want to plot a graph in excel which has x-axis values as times(just of one day, this will be plotted everyday) and y-axis values as different applications. Suppose an application A runs jobs from 1:00 pm to 2:00 pm and then from 4:00 pm to 6:00 pm. Is there a way I can plot these time durations for each application?
I am visualizing a graph where an application has a colored bar next to it for the time period 1pm to 2pm and then it is blank until 4pm where another colored bar appears till 6pm.
Is this possible? I have the start and end times of jobs for each application. Differentiating between jobs is not important. I just need to know when the application is running and when it is idle.
Any help would be appreciated! Thanks
A little example:
The data is a label in ColumnA (for the y-axis) and 'readings' (here in B1:G1). The 'readings' are the length of the static intervals (in hours). 0 because the day has changed, then 13 because nothing happens until 1p.m., 1 because busy 1-2 p.m. - and so on.
If charted with Insert Stacked Bar the default will be to colour fill each range (interval) with a different colour. For the image, the colour for alternate 'series' has been set to match the background and one of the remaining set to match the other.
I admit changing the fill manually could get tedious if required daily for many apps but there is always VBA! And with a small fudge you may be able to 'recycle' (ie use the chart as a template and just overwrite "yesterday's" data.