SSRS single bar-chart - reporting-services

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.

Related

Vary the colors of same-series data markers in a chart in SSRS

Hello I have a Column Chart in SSRS . There is only one data series. I want to give green color for top 4 and blue colors for the rest ones in this series as you can see in the picture.This is an image that ı want to make but when ı prepare a "custompalettecolors" it still gives all the column same color.(I think this is for charts with different series but ı have only one series and many columns).So can you give me some advice for this ?
I believe you can by using a formula in the fill if you have someway in the data to specify the top 4. On fill properties for the series:
Now the question is: What goes in the formula? You'll need something in your data that ranks the items. so, that you could create a formula like this:
=iif(Fields!Ranking.Value<=4,"Green","Blue")
I would do this in my T-SQL. Not seeing your dataset, I can't tell you exactly how to proceed. I hope this gets you started

SSRS Chart Custom Legend

I have a pie chart like this
However, I'd like it to look like this (i.e. left-aligned text, right aligned values within the label)
It doesn't seem possible in SSRS, which is a problem - can anyone help?
Sure it is!
Right click your series group -> Series Group Properties...
Insert the appropriate calculations into the label expression. I've done similar things like adding counts to the axis labels on bar charts.
EDIT: I feel like your best bet for these alignments is to create a small table next to the chart. It's an awkward solution, but here's an example I threw together to show it can kinda be done. You just have to make sure they are sorted the same. You can use a group + dataset to get your values. It's a very brittle fix, but it works.

Access UI chart text legend sorted as number

I have searched for a solution but I can't find one suitable on this problem.
I have a chart in access where the Y-axis is text but starts with a number, so up along the y-axis i get this:
I know why, but I don't know how to fix it.
They all have an ID which is fine. I can chose to put the ID on the Y-axis, but then the kW range can't be visualized.
How is this changed?
Changing the text to number is not possible as it needs to be like "a-b kW".
Thanks in advance.
For those who might get this problem, I found out why.
When selecting the data, it chose to use the "Total" function, and "Avg" because that is what the values are. (The picture below says "Group By" but it was automaticly set to "Avg". I just forgot to change it when i snipped for stack.
That results in:
But if i remove the "Total" function i get this:
So, removing the "Total" function works here...
In your query, can you sort by ID, but not display it (e.g., in the query designer, sort 'descending/ascending' on the ID field, but clear the 'display' check box)?
As an aside, I've always had a tough time with Access charts... on my last project, the customer wanted a rather complex bar chart, and I ended-up drawing and resizing rectangle objects to get the look that the customer wanted.

Is it possible to add items to legend that are not on the chart?

I have a column chart in SSRS with a single series group. The chart is perfect but I need to add a couple of items to the legend even though they are not part of the chart (don't ask). If I add them to the data source with 0 values, the width of my columns still change to reflect the new number of items in my series group.
I ended up using Word to create an image of the proper legend and using this image as my legend. Works great but feels like duct tape.

Slanted column heading - SSRS reports

Can anyone please tell me if it is possible to create an SSRS 2008 report which has slanted/angled column headers like in the screenshot below?
I've searched for a solution to this, but haven't found anything of use.
In a word, no, SSRS won't do this. 90 degree rotated text is possible as you've probably seen
You actually have two problems:
1. Slanted text.
2. Non rectangle cells.
There are potential workaround to solve the first problem: create a text graphic on the fly, use stylesheet tricks, &c.
But the second problem will be very difficult if not entirely impossible to solve. SSRS, and many of the formats to which it exports, only support rectangle cells.
It is actually possible to create slanted text in SSRS, but not slanted text boxes. Just paste a column chart into the cell, style the horizontal axis as needed to slant the text at the desired angle, and delete all data series and the vertical axis, title and key from the chart.
If the text is to show at the top of a column that repeats in a column group, assign the same dataset to the chart as the body of the table and filter the chart so that only the relevant column of the chart shows in each column of the expanded table. The filter will look like [HeadingFieldName] = [HeadingFieldName], because you are essentially joining the dataset to itself on this column.