Cross Tab as Column Group

Stimulsoft Reports.NET discussion
Post Reply
quocp
Posts: 14
Joined: Sun Jul 23, 2023 11:08 pm

Cross Tab as Column Group

Post by quocp »

I am converting one report which was designed by RDLC to Stimulsoft.
The rdlc version used the column group to group the quantity of product by the date in the tab header. I am trying to use the cross tab to achieve the same thing for Stimulsoft.
My issue is that the generated report only display one product on it ( see pic1), while the dataset has 5 products ( pls see the attached xlsx file .
Pls give me some advice on how to solve the problem.

Pls note that:
- the ThirteenPeriodTableCrossBand DataSource is duplicated by ThirteenPeriodTable DataSource . I am using it to apply a filter for the CrossData and make sure the product which are the same APN will be displayed the quantity (Qty) in one row.
- the code .Net just use to generate the dataset which has records as the attached xlsxfile file.
Attachments
ThirteenPeriodTable- DataSet.xlsx
(12.42 KiB) Downloaded 109 times
pic1.png
pic1.png (12.52 KiB) Viewed 956 times
Report.mrt
(29.75 KiB) Downloaded 103 times
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Cross Tab as Column Group

Post by Lech Kulikowski »

Hello,

We couldn't run your report. Please send us test data for your report.

Thank you.
quocp
Posts: 14
Joined: Sun Jul 23, 2023 11:08 pm

Re: Cross Tab as Column Group

Post by quocp »

Lech Kulikowski wrote: Mon Jul 24, 2023 4:03 am Hello,

We couldn't run your report. Please send us test data for your report.

Thank you.

Hi Lech,

I am quite new with Stimulsoft.
Which format of test data you would like to have ? The data records which generated from dataset has been included in the above attached excel file.
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Cross Tab as Column Group

Post by Lech Kulikowski »

Hello,

You can use the "Embed all data to resources" feature in the designer.

Thank you.
Attachments
Screenshot 2023-07-26 093303.png
Screenshot 2023-07-26 093303.png (84.76 KiB) Viewed 917 times
quocp
Posts: 14
Joined: Sun Jul 23, 2023 11:08 pm

Re: Cross Tab as Column Group

Post by quocp »

Hi Lech,

I have manually added the data and schemas under the Resouces.
But I could not import XML Schema for BOTH ThirteenPeriodTable and ItemMovementTimeSeries under Data Source.

Could you pls have a look on it ?
Attachments
Report2.mrt
(32.73 KiB) Downloaded 97 times
2023-07-28_10-13.png
2023-07-28_10-13.png (14.25 KiB) Viewed 902 times
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Cross Tab as Column Group

Post by Lech Kulikowski »

Hello,

Can you run a report with these sources in resources? If yes, please save it and send us for analysis.

Thank you.
quocp
Posts: 14
Joined: Sun Jul 23, 2023 11:08 pm

Re: Cross Tab as Column Group

Post by quocp »

Hi Lech,

I can run the Report.mrt file in my .Net project which generates the dataset.

But I can not run the Report2.mrt file which was added the resources manually because I could not import XML Schema for BOTH ThirteenPeriodTable and ItemMovementTimeSeries under Data Source.
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Cross Tab as Column Group

Post by Lech Kulikowski »

Hello,

Could you save your dataset from your project?
dataSet.WriteXmlSchema();
dataSet.WriteXml();

Thank you.
Post Reply