Qlikview - barchart - bar-chart

I want to create bar chart but i don't now how to set dimension and expressions. I have got this table
and I need to create a bar chart to look like this:
I need to have the average result(avgREsult column) on x-axis green color and expressions count(Item) and around green bar to get blue bars that represents pros column and expressions count(item).
Any idea?

Related

Making Timeline in qliksense

I would like to display a timeline in qlik sense using the Bar Chart Object enter image description hereas follows:
The x-axis represented the months of the year.
The Y-axis represented the years.
The length of the graph will be a date range in the appropriate year and month.
It will look like this:
exaple
How can I do this?
Thanks!
I suggest you use a Pivot Table chart object with a background colour expression set to yellow.
In this example, I calculated the day number of the start date and the duration of the period to be shown in yellow.
The Bar Chart shows the sum of 'DayNumberStartDate' and 'Duration'
Bar Chart

SSRS Match Color series in stacked bar chart

I have a stacked bar chart, with year on the x axis, and sales CY and sales LY on the y axis, also the bars are grouped (stacked) by company name, like in the picture below:
bar chart stacked example
The problem is I want to match the colors for the same companies, like: "united package CY" and "united package LY" have the same color for both, so will be easier to see the comparison between companies and years.
Is there any way to achieve this?
Thanks!
Yes you can, click on your chart and go to the chart properties on the right side under:
Chart > CustomPaletteColors.
Here you can add your defined chart colurs for each series. For example if you have 4 series you have 4 different colors. You can set the color for series1 the same as series2.
Depending on which positions your series are, they will look like one section or they will have another color between them. But you can reorder the position of the series if you need to.

Spotfire - Show top values in stacked bar chart

I have a stacked bar chart that looks like this :
I would like to only show the top 3 bars in terms of value, that is to say the three first bars. I tried to use the Show/Hide feature but it doesn't work as I expected.
For example if I limit to Show top 1 value with the Show/Hide value, i get :
when I expect to also have the orange and blue bars that are stacked in the first picture.
Is there a way to do what I am looking for?
You will have to achieve a dynamic rank and use that to filter out the top 3. Put this rank logic in the hide/show.
It's not clearly given here but in ur dataset you can rank by column on x axis and say rank always less than 3.
I found a better way to do this :
Using the Show/Hide rules of the properties of the visualization, you have to add this rule
DenseRank(Sum([Value]) over (All([Axis.Color])),"desc") <= 3
Then you have to [Axis.Value] in the value input.
3 is the number of bars to have in the bar chart.
[Value] is the column of the Y Axis, in my case I used Count() because my Y axis is (Row Count).
You can find more info at this link : https://community.tibco.com/questions/question-showhide-top-10

ssrs change background color of line chart

I'm developing a report in which I have to highlight a particular period on a line chart.
To be more precise if the dates in the x axis are more than a given date the chart background colour after that date will have to be light green otherwise white.
Here is the expression
=IIF(Fields!Week_Day_Of.Value>Fields!startdate.Value,"LightGreen","#00000000")
I have put the expression in the chart area properties (Fill).
Fields!Week_Day_Of.Value represents the values on the X axis.
Fields!startdate.Value represents the parameter beyond which the cart has to turn light green.
It's not doing anything
As far as I am aware, you cannot fill parts of the chart background like this. Your best bet is to add another column data series on the secondary vertical axis that has a value of 1 or 0 depending on the expression you have above and set the colour of the series to whatever you need. To get the columns wide enough to form a solid block of colour, you will need to set the CustomAttributes -> MinPixelPointWidth property to 100.
You can then set the secondary axis to hidden by right clicking on the chart area and unchecking Show Secondary Vertical Axis and check the Do not show this series in a legend option in the Legend area of the series properties.
Do all this and your chart will look something like this:

RDL report - Chart with both bar and lines

I want to show in one chart report two series of data, one as a horizontal bar and one as a line. When I select for the second series a line chart type, it changes also the chart type for the first series which was set to bars.
This works if I'm using vertical columns for the first series, but it seems it is not working the same with horizontal bars.
Is there any way around this?
No. You cannot create a chart with horizontal bars and lines.
SSRS doesnt allow it.
It is not logical to join two concepts which is transpose of each
other. It is like showing vertical bar chart and horizontal bar chart
in the same graph.
Line charts are used to show overall trends and
patterns over time(usually) or some other series. Bar charts are good
for comparing unordered/nominal items.
You need to reevaluate your decision to show these two together.