Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
samuel_brierley
Creator
Creator

Count and charts

Hi ive asked this before and i dont thinki explained it too well, attached is a small smaple.

Dropbox - qlikview.xlsmhttps://www.dropbox.com/s/h9mqhmc58yc0l2m/qlikview.xlsm

What im after is a chart that will show at any time how many are unavailable,

thanks

3 Replies
Anonymous
Not applicable

Samuel,

I'm not going to download the files, but can give you an advice - take a close look at set analysis, especially element function E (for Excluded).  An example from "help":

sum( {$<Customer = E({1<Product={‘Shoe’}>})>} Sales )
returns the sales for current selection, but only those customers that never bought the product ‘Shoe’. The element function E( ) here returns the list of excluded customers; those that are excluded by the selection ‘Shoe’ in the field Product.

Regards,

Michael

samuel_brierley
Creator
Creator
Author

I understand not wanting to download anything but that wont work unfortunatly, what the file shows is in each row there is a date/time item went offline and when it came back so what the formula needs to do is show all items where the date/time went offline is greater than date specified and date/time is less than date/time specified.

thanks

Anonymous
Not applicable

Samuel,


From your latest explanation, it looks simpler than I thought.  No need for the set analysis (the unavailable term confused me).  It is more likely a combination of conditions in if(), e.g.

if(DateTimeWentOffline>$(SelectedTime) and DateTimeCameBack<$(SelectedTime), ...)

Hope it helps.  If not, I'll download your file - but only if you upload it right here.

Regards,

Michael