If you visualize data to a line chart with 'zero-values' (or in my case, they do have values but they are excluded because of the fact that they belong to weeks with a public holiday) and you need to create a distinction between the years, there will be gaps in the line. See the graph below:
I needed to create a graph starting in week 44 (the start of the impact of the financial crises) without any gaps. The periods (200844-200943 and 200744-200843) had to have different to colours. If you create a chart without series, there is no distinction anymore between
the years.
Query:
Tabular data: (the data item 'Serie'' is defined in Report Studio).
To place all historical data on one line, I added a week_key column which is the concatination of the year and the week. I added the 'serie column' as a serie (instead of year). In the properties of the level item of the week_key I set 'Sort' on 'ascending':
It didn't work immediately as the 'key property' of the level item 'week_key' had to be set on 'Yes':
After this, the result was:
Another usage of this:
Query:
No comments:
Post a Comment
Thanks for your comment.