var products = Products.Where(x => x.IsSelected);
Custom business object
DistributionCompilation distribution = new DistributionCompilation();
Populating the business object
distribution.BuildSingleBrandDistributionRport(products, SelectedStart, SelectedEnd, MinBottles, NoBuyPeriod, SelectedBrand.Name);
Setting it as the source for the report
NewDistributions distribution_report = new NewDistributions();
distribution_report.DataSource = distribution.ShowReport();
_View.Report = distribution_report;
Hello everyone. I have a situation where I have created a master summary report with 2 detail sub reports in it. One of my 2 sub reports refuses to show any data. It is configured the same as the 2nd sub report with its parameters properly being passed along but I get bupkis.
I can run the sub report in question by its self and it will display data beautifully but not when I add it as a sub report to my master report.
I found some code while searching the forum to display a custom message when my sub report has no data and using that I have verified that the sub report is just not getting any data back when run.
Any ideas here to help me get over this hump?
Account Fund Amount Group
Acct1 Fund1 $20 1
Acct1 Fund2 $30 1
Acct1 Fund3 $40 2
Acct1 Fund4 $50 2
Acct2 Fund1 $60 1
Acct2 Fund2 $70 1
Acct2 Fund3 $80 2
Acct2 Fund4 $90 2
Fund1 Fund2 Fund3 Fund4
Acct1 $20 $30 $40 $50
Acct2 $60 $70 $80 $90
Group 1
Fund1 Fund2 Fund3 Fund4
Acct1 $20 $30 0 0
Acct2 $60 $70 0 0
Group 2
Fund1 Fund2 Fund3 Fund4
Acct1 0 0 $40 $50
Acct2 0 0 $80 $90
Group 1
Fund1 Fund2
Acct1 $20 $30
Acct2 $60 $70
Group 2
Fund3 Fund4
Acct1 $40 $50
Acct2 $80 $90
Hi,
I have report with one chart. I would like to have chart with dynamic series.
My dataset (attachment): 00ds.png
My C# code:
customChart.DataGroupColumn =
"Status"
;
customChart.PlotArea.XAxis.DataLabelsColumn =
"Quarter"
;
I've got some strange chart as a result: 01.png. Some series are assigned incorrect. For example, in the Q1 there is "Deleted" with value 10, but it should be in the Q3.
I would like to get something like this: 02.png (note that Q3 and Q4 are changed in the X axis).
Is it possible?
Thanks,
Rafal