Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to Calculate the In-service% vs Out-of-service% of an equipment in an year, using bar chart?

Hi,

I have an employee's Work Calendar,

example

Equipment#Service Start DateService End Date
0000129/01/1530/05/15
0000124/07/1529/11/15
0000102/05/1412/10/14

Now, Want to create a bar chat(similar to below image) for In-Service% Vs Out-Of-service% across the year     Chart !.jpg

Kindly help on this

2 Replies
marcus_sommer

I think you will need to create the missing data and link them per intervalmatch to a master-calendar:

Generating Missing Data In QlikView

IntervalMatch

How to use - Master-Calendar and Date-Values

- Marcus

brunobertels
Master
Master

Hi

May be this

% Start :

count("Service Start Date") /  ( count("Service Start Date") + count("Service End Date") )

% End

count("Service End Date") /  ( count("Service Start Date") + count("Service End Date") )

in your graph :

Dimension YEARS

MESURES :

% Start

% End

select stacked option in graph panel

Hope it helps