Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Line chart issue?

HI All,

Need to create a Line chart based on Actual & Plan.

My Requirement is when Actual minus plan Then particular subdivision should be highlighted...

If Possible needed to show the difference of those days based on the subdivision..

­­­­Division                Subdivision               Actual                 Plan                     

Gen care              Medical                01/11/2015         09/11/2015       

Gen care              Webinars             01/22/2016         01/24/2016

Gen care              Confere                03/14/2016         03/14/2016

Gen care              Tution                  05/12/2016         05/15/2016

Gen care              SMEs                  05/18/2016         05/25/2016

Gen care              Young                  06/11/2016         06/11/2016

Gen care              Launch                 07/05/2016         07/11/2016

Gen care              Classes               08/19/2016         08/24/2016

Kindly help on this..

Regards,

Helen

1 Solution

Accepted Solutions
kkkumar82
Specialist III
Specialist III

14 Replies
Not applicable
Author

Hi Helen

You can create a calculated dimension to only show the Subdivision when the Actual is smaller than the plan

In the Dimensions tab, click Add calculated dimension and then use an if statement like - if(Actual < Plan, Subdivision)

jonathandienst
Partner - Champion III
Partner - Champion III

First of all, make sure the dates are being loaded as proper numerical dates. Your actual requirements are a little unclear. Do you a tables showing detail with selected subdivision lines highlighted, or a table summing the time differences by subdivision?

QlikView Date fields

How to use - Master-Calendar and Date-Values

If the date fields are numeric date values, then the difference is the number of days. Create a chart with subdivision as the dimension and Sum(Actual - Plan) as the expression.

>>My Requirement is when Actual minus plan Then particular subdivision should be highlighted

When actual minus plan is what?

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Hi,

We can show difference in days of Actual - Plan. But here in your case All the dates of Actual is greater than Plan. So, number of days will be comes in negative numbers. Please Elaborate your requirement.

Kushal_Chawda

What is expected output?

Not applicable
Author

Expected Out put :

Need to pull in chart with Actual & Plan Dates, So two line charts will come..

If date matches for any particular division, then It should be high lighted with Some Color or any way..

(It means Particular sub division is On Date because of (Actual - Plan ='0'), remaining dates which are not matching actual & plan dates should be remain Same..

Thanks,

Helen

kkkumar82
Specialist III
Specialist III

didn't understood ur expected output,

What should be the dimenison for the line chart and what you want to see as values for that subdivision

Can you elobarate with you data

kkkumar82
Specialist III
Specialist III

Not sure, I understood your requirement correctly but see the attached.

HirisH_V7
Master
Master

Hi,

Can you please plot your required output on excel or anyway.

-Hirish

HirisH
“Aspire to Inspire before we Expire!”
Not applicable
Author

HI Kumar,

U r nearer..

I need all the Subdivisions in the Chart, What ever the matching Dates are there for (Young, Confere) Should be identified these are having matching dates.