Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hiya
I wish to add a reference line in a bar chart.
I have found how to do this, but I wish to add a number of values - points on it manually.
not just e.g 300 straight across the chart.
on the bar graph I have number of pupils attending after school club per month,
but each month has a different target number.
how would i go about this please?
Kind Regards
Joeybird
Not if its a reference line.
In short you need to make the reference line part of dimension through the technique in the aforementioned link. You can load the month/target data from a spreadsheet to do this.
I put a sample together (attached) that loads the main data and the setnumber from 2 sources does it help ?
See this blog post: Bar chart target lines in QlikView The Qlik Fix!
Hiya
thanks for the reply, I am using Qlik sense...
any further ideas please?
Kind Regards
Joeybird
Check out the last few posts (and answer marked correct) in this thread
The member was asking the same thing . They wanted a non-constant reference line. In the end we used a special dimension built in the load script to use in the chart that incorporated the reference line as PART of the dimension.
Hiya
this is not what after sorry, that's done using calculations on data. great through for future reference however
I just want to add manual numbers point reference dots / line per month, as it could change.
e.g
Jan = 300
Feb = 300
March = 450
but these points could change too
Jan = 350
Feb = 300
March = 500
Kind Regards
Joeybird
Hiya
I have come up with the idea of creating an excel sheet with the following to help with the query above
SetNumber | Month |
8000 | Jan |
8500 | Feb |
9000 | Mar |
8000 | Apr |
5500 | May |
9000 | Jun |
9000 | Jul |
9500 | Aug |
6500 | Sep |
10500 | Oct |
9400 | Nov |
9000 | Dec |
is there a way of adding this "set number" (Manual Points) as a measure (this will be the "line" / "reference line" in a combo chart)?
e.g so when 2014 is selected it shows the number pupils per month as a bar, the line on the combo chart will be the figures from this excel sheet?
Please help
Kind Regards
Joeybird
hmm... i only see a difference if you decided not to put those data values in the data model.
Can you upload a reloadable sample with test data ?
-Jonnny
Yes these values will have to be kept separate from the data model
this is because government could randomly change these target numbers at random,
main data comes from the SQL server, so its easier to go to an excel sheet to update these set manual figures on demand, and load the data.
if I use sum or count [Set Number], I just get one set figure e.g 8000, for each month, where I need to just say, the different set numbers.
is there away of just saying NOT TO count or sum.... just
8000 | Jan |
8500 | Feb |
9000 | Mar |
ect ...
Kind Regards
JoeyBird
Not if its a reference line.
In short you need to make the reference line part of dimension through the technique in the aforementioned link. You can load the month/target data from a spreadsheet to do this.
I put a sample together (attached) that loads the main data and the setnumber from 2 sources does it help ?
Hiya
did try however
I says error, cannot find ChartDimTable:
Kind Regards
Joeybird