Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

matthewp
Contributor III

Stacked graph with counted reference line

I am trying to re create this graph but cannot get the reference line to work.

I want spend up the y axis (expression: SUM(spend)), then across the x axis i want supplier name and it stacked by supplier group.

Now the difficult part, i want to have a variable which can be set from a slider between 1 to 100 (not difficult) which will be used in an x axis reference line that splits it by count([supplier name]) and the reference line text shows what percentage of the spend is in that percentage of suppliers.

For example the example below the variable is set to 20, so i want the reference line to be set on the x axis to 20% of the total suppliers used and then the reference line text is calculated that 20% of the suppliers = 80% of the spend.

asdfasdfasdf.png

4 Replies

Re: Stacked graph with counted reference line

Perhaps this blog post helps: Recipe for an ABC Analysis


talk is cheap, supply exceeds demand
matthewp
Contributor III

Re: Stacked graph with counted reference line

tried these and cant get them to work in graph

matthewp
Contributor III

Re: Stacked graph with counted reference line

anyone?

Re: Stacked graph with counted reference line

maybe helpful:

In a chart - can I show "today"?

regards

Marco

Community Browser