Making Timeline in qliksense - bar-chart

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

Related

Percentage displayed in a chart

I'm trying to put this in a line graph to show the percentage of the OnDuration over a monthly period
I have put the expression below in the 'values' part of the chart and formatted the y-axis to percent but the output is not coming out as I would expect. My inability at maths is probably letting me down here!
=Sum(Fields!OnDuration.Value / Fields!TotalSecondsInMonth.value)
The 'PercentageON' field is just something i've added in Excel. This would be the correct percentage for an individual employee in one month. On my graph I would like to show the percentage for the whole department. There would

SSRS single bar-chart

Good day all,
Please am trying to create a SSRS report that looks like the image below
i have my table structure in this manner
Please note the data are not in relation with the chart
But all i could get as a result is a multiple bar chart. that resembles the image below.
Thanks in anticipations of your response
First of all, your "Balance on COC" is negative. That's probably not just a chart visualization issue.
You can format the numbers on the y-axis to be more readable like they are in your first screenshot. Click on the Chart Axis and set the LabelsFormat property to #,0;(#,0).
While numbers in the chart can have up to 16 digits, that is highly unreadable for most people. You might want to consider visualizing the numbers in Billions instead.
To get the labels on the x-axis you'll need to set that field as the Category Group. Then you can delete the legend area from the chart. You can also remove the "Axis Title" areas since they are not needed in this case. This will all make it look more polished like the other image.

SSRS colour expression for upward downward trend line chart

I need to make a line chart with the month on horizontal axis and a value on the vertical axis.
I need to colour the line's segments in green if the trend based on the previous month is growing, or in red if the trend is decreasing.
I can't find a way to compare the values grouped by month, and I prefer not to perform this by adding another query from db.
Right-click on the Chart Series (the line of the graph) and select Series Properties..., click Fill on the left then click the fx button to enter and expression for the fill. Let's say your field is called Sales. Use the following expression for the Fill:
=IIF(Fields!Sales.Value >= Previous(Fields!Sales.Value), "Green", "Red")
This worked on my simple test. You may need to aggregate within your query (group by month and sum) for this to work properly.

SSRS Horizontal X-Axis displaying single day instead of full month

I have a bar chart in SSRS with 12 Series, each one representing a months worth of data. (image link below)
If I leave all of the defaults settings for the X-Axis (auto, etc) the bars look perfect, but I can't get the MM/yy to display in the X-Axis.
When I edit the axis properties to Type > scalar, Interval > 1, Interval Type > Months, The axis displays everything just like I want, but the bars then get thin.
It appears that the bars are now only showing a single day out of the month rather than the full month.
For each Series I have the Category Field set to and Expression formatting the date to something like
=Format(DateAdd("m",-1,Today()), "Y").
Any ideas on how I can get the bars to fill the whole month?
Bar Chart with Thin Lines

SSRS - range bar chart highlight today gridline

I've created a range bar chart using SSRS 2008.
It is a date range
StartDate is =DateAdd("yyyy",-2,Today())
EndDate is =DateAdd("yyyy",2,Today())
What I want to achieve is, I want the grid-line for only Today()'s date.
Is there any way to achieve it? I don't know what expressions to give for Interval properties.
Thanks!!
Any help is appreciated.
Use StripLine to achieve this. View the properties for the horizontal axis. Locate StripLines and click on collections. Add a member and set to the following:
Set a Background Color (e.g. Green)
BorderStyle (e.g. Solid)
Interval: Auto
IntervalOffset: =Today().ToOADate
IntervalOffsetType: Days
IntervalType: Years
StripWidth: .5
StripWidthType: Days
I do not think there is direct way achieving your goal. However, you could use calculated value and use it as a tiny bar chart.
Create new calculated value with value of 100
Make sure calculataed field is on top of the values
Put calculated value on Secondary Axis
Change Chart Type to Bar Chart
Adjust the size to your needs. The example below: PointWidth = 0.01
Use Color Expression of the bar value that is similar to below:
=IIF(Format(Fields!timeStart.Value, "Short Date")=Format(Today(),"Short Date"), "Red", "White")
Your new chart should look something like this: