Help with Pivot Charts

JJAce

New Member
Joined
Feb 9, 2018
Messages
1
Hi, new member to the forum here. Your help would be much appreciated.

I'm beginning to build a dynamic dashboard to show the current state and availability of system environments however I'm struggling with displaying the data in the correct format that I want from a pivot table and chart.

I have a list of environments with several variables. I’m trying to show if the environments are currently being used and if they are, when it becomes available to use again. I have a 'booked from' column and 'booked to' column and also a 'Duration' column which calculates the days from booked to end date.
I want a bar chart to show the Names of the environments down the y axis and months along the x axis to show when the use of environment finishes. However I have been trying to figure out how to show this for hours. Yes hours! It seemed pretty straight forward in my head but struggling to implement. I can’t seem to get the x axis to show the months. Note: I want the x axis date to start from earliest 'Booked from' date. Please see example of data below.


[TABLE="width: 1042"]
<tbody>[TR]
[TD][TABLE="width: 1042"]
<tbody>[TR]
[TD]Application
[/TD]
[TD]Environment
[/TD]
[TD]Type
[/TD]
[TD]Status
[/TD]
[TD]Project
[/TD]
[TD]Owner
[/TD]
[TD]Server Name
[/TD]
[TD]Database Name
[/TD]
[TD]Booked from
[/TD]
[TD]Booked until
[/TD]
[TD]Length
[/TD]
[/TR]
[TR]
[TD]Housing
[/TD]
[TD]HOULIVE
[/TD]
[TD]LIVE
[/TD]
[TD]In Use
[/TD]
[TD]BAU
[/TD]
[TD]Service Management
[/TD]
[TD]HSRV_1
[/TD]
[TD]HSRVDB_1
[/TD]
[TD]1-Feb-18
[/TD]
[TD]20-Dec-18
[/TD]
[TD]322
[/TD]
[/TR]
[TR]
[TD]Finance
[/TD]
[TD]HOULIVE
[/TD]
[TD]LIVE
[/TD]
[TD]In Use
[/TD]
[TD]BAU
[/TD]
[TD]Service Management
[/TD]
[TD]FSRV_1
[/TD]
[TD]FSRVDB_1
[/TD]
[TD]1-Feb-18
[/TD]
[TD]20-Dec-18
[/TD]
[TD]322
[/TD]
[/TR]
[TR]
[TD]Kirona
[/TD]
[TD]HOULIVE
[/TD]
[TD]LIVE
[/TD]
[TD]In Use
[/TD]
[TD]BAU
[/TD]
[TD]Service Management
[/TD]
[TD]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D]Qlikview
[/TD]
[TD]TRAIN1
[/TD]
[TD]TRAINING
[/TD]
[TD]In Use
[/TD]
[TD]CRM
[/TD]
[TD]Julie Smith
[/TD]
[TD]TRAINSRV
[/TD]
[TD]TRAIN1
[/TD]
[TD]1-Feb-18
[/TD]
[TD]10-Jun-18
[/TD]
[TD]129
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]


Any help or advice on how I can achieve this?

Thanks,
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top