Add a new column with special conditions

Stimulsoft Reports.NET discussion
Post Reply
so29
Posts: 72
Joined: Mon Nov 02, 2009 1:29 pm

Add a new column with special conditions

Post by so29 »

Hello

Attached please see

Would like to add the column sum
The values of the column PRICE is taken
Two columns with equal condition ID and KIND

You can see more details in Attachment

Thank you
Attachments
311.Untitled-2.jpg
311.Untitled-2.jpg (123.3 KiB) Viewed 1184 times
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Add a new column with special conditions

Post by Edward »

Hi

Please see 'Simple Group' report from 'Reports with Groups' group of reports in Demo.exe sample application.

The group condition must be the follows:

{YourDataSourceName.Id}{YourDataSourceName.Kinde}

Thank you.
so29
Posts: 72
Joined: Mon Nov 02, 2009 1:29 pm

Add a new column with special conditions

Post by so29 »

Thanks Edward
Please see 'Simple Group' report from 'Reports with Groups' group of reports in Demo.exe sample application.
Examples saw
But all did not have a solution

Please see photo carefully

The purpose of adding columns Sum
In the image is clear

For example

sum(price) where id=5 and kinde=specific

Just to add a column with value 38

Thank you
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Add a new column with special conditions

Post by Edward »

Hi

Please attach for this topic report template (mrt file) you created for this task with groups.

I think that some tips could be shown directly on your template.

Thank you.
Post Reply