Issues with putting Charts on Groups - telerik-reporting

I am trying to get a Chart to work in the Header for a Group in Telerik Reports. I am using a pie chart, and I am using the DataGroupColumn property. The code is below
Me.Chart1.DataGroupColumn = "Mfg"
ChartSeries1.DataYColumn = "Quantity"
ChartSeries1.Type = Telerik.Reporting.Charting.ChartSeriesType.Pie
And my data is as follows
Mfg Model ProductNumber Qty
HP LaserJet 4700 a3482-3938-2259 32
Dell Laser 1710n 72C8FMC 15
HP Bubble Jet 3320 d339-2938-2923 27
Dell Laser 1100 72C8FMC 15
HP LaserJet 4700 12952-7342-3567 32
Dell Laser 1710n 68923C9 15
And in my report, I have a group for Mfg, then a group for Model. I tried putting the Chart in the Header for the Mfg group, but the chart only shows the data for the very first group. Is there a way to get the chart to display the data for the group?

Hmm, I guess the only way to do it is manually... BOOOOOOO!
http://www.telerik.com/community/forums/reporting/telerik-reporting/graph-for-each-group.aspx

Related

How to do a partial copy/paste recordset

Under MS Access 2013, I want to copy a record to a new one or an existing record.
I wonder if it is possible to do a partial copy/paste.
Here is my simple example of my DataSet:
PayID PAyDate PeriodeName EmployeeID Income Taxes
001 2019/01/02 1 5 1500 201
002 2019/01/15 2 5 1500 201
003 2019/01/30 3 5 1500 201
004 2019/02/06 4 5
005 2019/02/06 5 5
Please note that
my complete datasheet has 12 fields which must be copied)
PayID is an autoNumber
I would like to be able to:
copy/paste Income and Taxes fields to an existing record (ex: PayId#3 to payId#4 )
copy/paste Income and Taxes fields to a new record (ex: PayId#3 to a new one, ie #6)
I already have a contextual menu in my datasheet with the standard copy paste command buttons but I don't know how to substitute them for a partial copy paste command.
What should I have as OnAction Callback functions?
callBackCopy()
callBackPaste()
Thanks for the support.
It may not be obvious, but you can Copy&Paste ranges of columns and rows (and both) in an Access datasheet. This works in Access 2010 and 2016, so I assume it works in 2013 too.
You need to move the mouse cursor to the edge of a cell, so it becomes a "+" icon.
Here is a sample video: https://i.imgur.com/H1VHIlo.mp4
(German Access, but you will get the idea)
It shows copying 2x2 cells into new records. You can do the same to overwrite existing records, then you must select the matching number of rows as copy target.

Ceiling(RowNumber) function and SSRS charts

I am creating charts for data that is very simple: Students with grades from different subjects, from 2 semesters
Autumn semester which is 'Report 1'
Spring semester which is 'Report 2'
My query is:
SELECT DISTINCT txtPupilID, txtSubjectName, txtForename, txtSurname, txtGrade, intReportID
FROM ReportDB
WHERE (intReportID = '1')
UNION ALL
SELECT DISTINCT txtPupilID, txtSubjectName, txtForename, txtSurname, txtGrade, intReportID
FROM ReportDB
WHERE (intReportID = '2')
order by txtPupilID
I have to create charts for each subject and print them 9 on a page. My graphs worked fine and after a long time trying many things, I finally managed to print the graphs horizontally and vertically, using the ceiling function {=(ceiling(RowNumber(nothing)/3)}. However, this function seems to 'break' my chart because I now have 2 graphs for each subject instead of 1 (i.e. 1 graph for Report 1 and 1 graph for Report 2).
So instead of having one chart for the subject 'English', where grades from Autumn and Spring semesters are shown next to each other, I have 2 charts for 'English', one for Autumn and the other for Spring. I have attached screen shots of the charts below:
What I had before the ceiling function:
What I now have after the ceiling function:
Does anyone have any idea how to fix this problem? Does it lie somewhere in my dataset? grouping/sorting issues?
Report screenshot:

SSRS filtering a series (not a group) or using multiple datasets

I feel like I'm missing something very obvious, but searching hasn't given me a solution and I hope someone can help.
I am working on a simple chart. X axis is the date (day), Y axis is a simple number (1 to 100).
I have totals, for 3 different sites, per day. I need a line for each site on the chart.
Day | Site | Value
---------+--------+-------
Monday | site X | 30
Monday | site Y | 45
Monday | site Z | 20
Tuesday | site X | 35
Tuesday | site Y | 26
Tuesday | site Z | 12
and so on..
There is only 1 total value per day, per site.
I am trying to create 3 lines on the chart, one for each site but I can't figure out how to filter on the series level. (I'm working on a very large date range, so lines work better visually rather than doing a series group of bar charts, or even stacked bar charts)
I originally tried the multiple dataset work around (using an expression and something like
sum(field!total.value, "site X")
but that didn't work (it showed only a straight line, the first value I think) . Now, I have one dataset, but I can't find a way to filter series so they only show for one site.
I also tried this IIF
=iif(Fields!site.Value = "site X", fields!total.value,0)
but that gives a weird looking line.
I can't believe this is not possible in a chart in SSRS, I mean, it's pretty basic, so I must be missing something.
Thank you for your help.
You need to set up a chart as follows
The Values are the actual numbers you are attempting to chart
The Category groups as set up here are the individual dates.
The Series Groups are your Sites
At this point I then set the Horizontal Axis to be in Scalar/Dates format so the designer looks as follows
When you run this report using an adaptation of the (brief) dataset example above you get the following

Adding a chart to a matrix, spanning it over several rows

I have hit a snag in Report Builder 3 and was wondering if someone can set me straight.
I have a matrix that displays 7 important numbers by RevenueCategory, By Region, split out by month.
Works great.
I have each of those 7 numbers down in the Totals section to show how the Region overall is performing.
That works great too.
I added the line chart inside the Revenue Category as shown in the pic below.
THAT works great.
What I can not seem to figure out is how to get the same line chart added down in the totals section where I have drawn the big red "X" in the image below. In the space where the existing line chart is, I somehow managed to get everything there to be one cell. As you can see in the image, the same is not true in the total section. It is 7 individual cells. I do not get the option to merge those particular 7 cells (but I do get the option in the 7 cells immediately to the left of the red "X"... it just looks bad if that chart is out of line with all of the RevenueCategory ones).
I have fiddled around with groups to no avail... I am pretty new to SSRS, so I hope that I'm just doing something wrong and it can be done... I'm not sure what else to try though.
Any suggestions would be much appreciated!!
WELLLLLLLLLLL, crud.... After all that, I don't have enough reputation points to include my screen shot.... throwing this together and using numbers without any effort to make the math line up, so please overlook the numbers!
In a nutshell want a chart down in the TOTAL section, but I've managed to make that area 7 distinct rows that I can't seem to get back into one like happened when the Revenue Categories were grouped.
Region | Revenue Category | | | Jan | Feb | etc.
NW Direct Sales <working chart> Net Sales $100 $200
| Budget $50 $200
| Variance $50 $0
<same chart> % to Budget 200% 100%
| Forecast $100 $200
| Forecast Var $50 $0
<bottom of same chart> Forecast % 200% 100%
------------------------------------------------------------------------------
Internet Sales <working chart> Net Sales $100 $200
| Budget $50 $200
| Variance $50 $0
<same chart> % to Budget 200% 100%
| Forecast $100 $200
| Forecast Var $50 $0
<bottom of same chart> Forecast % 200% 100%
--------------------------------------------------------------------------------
TOTAL Want a chart HERE Net Sales $200 $400
that spans these Budget $100 $400
seven rows like Variance $100 $0
it does above, but % to Budget 200% 100%
I can not get these Forecast $200 $400
rows grouped into Forecast Var $100 $0
a single cell! Forecast % 200% 100%
Hey what you can do is add a group to both the rows in that tabel.
I think if you are using Report builder tool you can see "ROW Groups" at the bottom where you can see the group you created. Right click on it you can see a Add total field in it click on it .It automatically creates a row for the above columns with the addition of the data. Now run the report and you can see exact data. But i am not sure which tool you are using.

how to sum and subtotal by project code in vs 2005 reporting service

I need to display the sub total for each project code as follow.I am using the VS2005 reporting service.
Code EmployeeName Projectcode Salary TotalIncome
Leave TotalDetact
000 Adam ADM 1000 1000
100 100
ELS 1100 1100
100 100
010 Eris ADM 15000 15000
500 500
Subtotalfor ADM 16000 16000 // I dont know how to do in here.
Project 600 600
2 persons
1 person ELS 1100 1100
100 100
It looks like you want to have a summary of the data by project at the end of the report? The problem is that you have multiple projects for people and you are ordering by person, so standard grouping won't work.
You have some alternatives:
Change the grouping to be project, then by person. Now you can summarize by project but of course you lose the person summary. Not ideal.
Create a second table in this report after the table you have in there now and do the summary there. You might want to create a new summary dataset for this table.
Use custom code (or a custom DLL) to do the calculating of the project summary for you. Right-click project surface-Properties-Code and you can write VBA functions in there that you can call from the table.
Use a subreport.
Option 2 is probably the easiest.