How to split overlaping events on a stacked bar schedule? - excel

I have created a schedule in Excel using a stacked bar chart. Basically, every event has a date, start time and a duration. The date determines the "category" on the graph, then the duration is stacked on top of the start time, the latter being filled with transparency, thus creating a schedule.
However, how can I handle two overlaping events on the same day ? Currently they are simply masking one another. I would like to have the events fill up only half of the day when they are overlaping, but not when they are not.
Also would like to avoid using any VBA as I want to be able to use table filters to look through the schedule.
Attached is a screenshot of said schedule

Related

Conditional formatting for arrival times vs scheduled times w/ tolerance

I'm creating a report that will have to show the actual time of arrival versus what was scheduled, and I'm trying to figure out a way to have it working properly. Obviously there are different scheduled times of arrival and the formatting should also take into consideration the following:
Showing one color if the person is early or up to 59 seconds after the scheduled time: e.g. scheduled at 8:00:00 it should still show as compliant be it that the person arrives at 7:55:00 or that arrives at 8:00:45
Showing another color if the person arrives any moment from exactly one minute later to five minutes later: e.g. scheduled at 7:00:00 and the person arrives any time between 07:01:00 and 07:05:00
Showing another color if the person arrives any moment from five minutes one second onwards: e.g. scheduled at 9:00:00 and arrives at 09:05:01
Scheduled times of arrival can be changed on a day's notice, therefore it should ideally be checking against it "constantly", here you can find a sketch of what I mean
I've been bashing my head on this for a while but I cannot come up with anything that actually works, it's just a mess of what looks almost random formatting taking place.
please refer below screenshot samples for the same
Select One Cell That Where do you want to apply conditional format and start below method.
Creating New Rule
Select "Format only cells that contain" option.
Applying 1st Condition
Applying 2nd Condition
Applying 3rd Condition
Cross Check The Order and Cell Reference
Note:
In the above conditional format formula i have taken formula reference from Scheduled Timing =$F4 and added some values to adjust the timings as per your requirements. so please review it properly.
And use "$" to freezing the cell Row or column properly.
For applying it in all Cells use Format Painter and then apply.
Follow the same steps in your work book and get it success.
To Know more about conditional formatting with formulas: Click Here

Pie chart in SSRS

I have a report with 2 pie charts, giving sales data for product groups. Running a dataset from an OLAP cube.
I want to be able to select 2 different dates for each chart.
Example; Someone wants to compare November sales to the previous month. So one chart to display October, one to display November. Or they might want to see how Jan/Feb/Mar compare to Apr/May/Jun.
Can this be done from the same dataset, or do I need to point each chart to a separate dataset?
If the dataset returns the data for both months, you could add filters to each chart to show the appropriate one. However, it sounds like you'd want this to be more dynamic.
I would suggest creating two separate datasets, each with a month parameter. This will allow the user to select any combination of two months. The charts would simply point to their respective dataset. You shouldn't incur a noticeable performance hit either way.

App Insights Workbooks - Is it possible to change the order of the stacked columns?

Currently in Application Insights Workbooks, a stacked barchart is sorted by the "count" value like so:
Preferably, I would want to sort the above chart by the duration in ascending order(0-3sec, 3-6sec, etc). Unfortunately order by duration asc doesn't seem to have any effect within Workbooks. Is it possible to change the order these are stacked in?
At the current time, no. It looks like the underlying chart we are using thinks the biggest series is the most important and always does it that way, ordering them by count desc.

Group values into an "others bucket"

I have a list (30+) of users with the number of times those users were active per month in my system. I'm using an Excel chart to show which users have been consistently active over time. About one third of the users come consistently (several times a month) while others come one month and not another.
Unfortunately since I have 30+ users, the colors in the Excel chart are difficult to distinguish from one another. What I was thinking to remedy this was to only show the top 10 (or 15) users and group the others into an "others" or "catch-all" bucket and still shows it in the chart.
A sample image of the chart:
What's the best way to do this?
Add a column that differentiates 'Active' from 'Non-active'. In the sample I had to create overall B and C were the most active so I populated D2 down with:
=IF(OR(B2="B",B2="C"),"Active","Non-active")
Adjust the formula if that distinction is made on a month by month basis. Create a Stacked Column PivotChart and in the PivotTable move the 'Active' together as necessary. Select each of the Non-active series (here only two for illustration) in the chart and apply the same colour fill to all.

How to create an Excel chart showing data over 24hrs

I have a data set that includes only two columns - errtype (A,B,C) and errtime (hh,mm,ss). This data is being collected over many days. I want to create a graph that will make it easy to discern when, with a 24hr day, most errors are occurring and what type of error they are. I don't want to aggregate the data points into hourly groups if it can be avoided. It's been easy enough to create a bar chart that shows the errors with time of day across the x axis. The bar heights themselves almost never exceed 1 on the x axis unless more than one errtype occurs at the exact same second. For this reason I don't think a scatterplot would look all that good even if I could figure out how to do that type of grpah. With the bar chart style, what I can't figure out is how to get the y scale to be 24hrs in Excel. There doesn't seem to be an option for it in the bar chart axis properties, even when I've set the data type as "time".
When i want to accomplish a timeline it has involved the creation of an artificial table showing the data with the expected grain (for example 1440 rows for all the minutes in one day) and then use a vertical lookup to get the corresponding value to that time.
After being bored of doing this manually for different types of grains, you can even get into adjusting the size of the table automatically which is actually kind a cool
I do not have an example with me right now, but if this question is still not answered tomorrow i will give you a complete dummy example of how to do it.

Resources