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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Show the id's status in terms of active,inactive and both.

I have a data which contains two fields namely id and its performance date. Something like this:

data.PNG

I need to create a chart which shows me the status of the total count of id's getting activated, inactivated and both in a day wise manner.

Sample Output:

Here 2 id's are getting activated on 04-01-16, 1 id is getting inactive on day 7 and lastly '1 id is active - 1 id is inactive' on day 8.

I should show the differentiate the active/inactive/both id's in terms of the color's in the output.

output.PNG

Please provide a solution

1 Solution

Accepted Solutions
MarcoWedel

Hi,

I guess one solution using your sample data might look like:

QlikCommunity_Thread_304318_Pic1.JPG

Can you provide the current result of your own efforts to identify the missing pieces?

Just paste it here once you're done.

thanks

regards

Marco

View solution in original post

11 Replies
isingh30
Specialist
Specialist

Can you share your data in excel format?

Anonymous
Not applicable
Author

Hey. I have attached the dataset. Sheet1 contains my Id and performance date. Kindly provide the solution.

shiveshsingh
Master
Master

On what logic you want to calculate the count of active and inactive ids?on basis of colour?

Anonymous
Not applicable
Author

Yes. Green for active id's, red for inactive id's. if there is a combination of both active and inactive id's for the specific day then it should be separated by '-' (i.e active - inactive count, example: 2-1) and the color should be brown.

shiveshsingh
Master
Master

in your sheet1, how do you know that ID is active?

Anonymous
Not applicable
Author

min date and max date for the particular id. min date for the id refers to id active state and max date refers the inactive state.

Anonymous
Not applicable
Author

Just paste the code here once you're done.

MarcoWedel

Hi,

I guess one solution using your sample data might look like:

QlikCommunity_Thread_304318_Pic1.JPG

Can you provide the current result of your own efforts to identify the missing pieces?

Just paste it here once you're done.

thanks

regards

Marco

Anonymous
Not applicable
Author

Yes i require the exact result. please provide the code for this output to be executed in qlikview