How to get the sum of field 'discount' in crystal report - crystal-reports

I am doing a crystal report.. In which there is a field Discount I am not getting the sum of that field while right click->Summery->Sum. I am getting other field like OrderAmount... In crystal report all data are coming.But not getting the sum for Discount.It is just showing the count of rows as Discount. Pls help...

Try using formula section of Crystal Report. Create a formula for finding the sum. Use the formula in place of Summary.
It might be look like
Formula=Sum(val({ReportField}). Change the Crystal Syntax to BasicSyntax from dropdownbox on top.

Related

Crystal Report Not Following Original row order from Dataset

Good Day!
i need a help regarding my Crystal Report, the problem is that it is not following the original order of rows in the detail section from my Query
Example:
This is my query
My Query
But here's the result in Crystal Report
Result in Crystal Report
how do i make the crystal report follow the original order of Rows in my query?
Are you grouping for something in the report ? On group expert select option on the field and choose "in original order"

How to sort formula field in Crystal Report 11?

I have a formula field. Now I wants to short the field. But I could not add the field in sort.
Is there any other way to sort by this formula field in Crystal Report 11?.
Here is my formula Account
trim({GL00100.ACTNUMBR_6})+'-'+trim({GL00100.ACTNUMBR_1})+'-'+trim({GL00100.ACTNUMBR_2})+'-'+trim({GL00100.ACTNUMBR_3})+'-'+trim({GL00100.ACTNUMBR_4})+'-'+trim({GL00100.ACTNUMBR_5})+'-'+trim({GL00100.ACTNUMBR_6})

Getting sum of multiple fields in crystal reports

how to calculate {SUM} of multiple columns into a one column in In my Crystal reports.
Total=(VAT+TAX)
ok this how in general it works:
Place your data in detail section and take simmary in report footer, You can take that by right click ojn field and use insert summary option.
Now create a formula #Total
sum(Vat)+sum(tax)+sum(duty) //you can select the summary fields from report fields
Place the formula in report footer

How to calculate % with count base on condition?

I use crystal report, my report have 2 fields : man=3 and woman=4. I want to calculate % man? with formula field. I try count({person.sex},"man")*100/count({person.sex}) but show Error "A field is required here"? Help me!
Take 2 running total variable, put into the group footer or appropriate section (preferable on any footer- report footer will display total percentage, not group wise) and give condition as you want or check below links.
Using a Running Total in a Formula in the Details Section of a Crystal Report
How to sum running total field for each group in crystal report?
http://community.spiceworks.com/topic/117306-crystal-reports-won-t-summarize-or-running-total-my-formula-field
please check this link
http://crystalreportsblog.com/crystal-reports-running-totals/
http://www.experts-exchange.com/Database/Reporting/Crystal_Reports/Q_28044491.html

Crystal Report value Convertion?

i have to crystal report made from Dataset,and we have to one formula field
i wrote Add() but that formula field show cancatination like 10+20=1020
i realize they need to convert that field in sight formula how to overcome this one?
anybody help me ?
Advance wishes...
You can try using CStr in the formula
CStr(10)+CStr(20)