Total in a report only for numeric data (1 Viewer)

Ramnik

Registered User.
Local time
Today, 12:01
Joined
Jul 12, 2012
Messages
145
Hello everyone,
i have a report in which a column is there which contains numeric as well text data .. i just want to add only numeric data from that column .... what expression do i need for this ??? i want to define a function in data field of a control which shows the sum .... thankssssss
 

bob fitz

AWF VIP
Local time
Today, 07:31
Joined
May 23, 2011
Messages
4,725
Try:
=Sum(IIf(IsNumeric([YourColumn]),[YourColumn],0))
Change YourColumn with the name of your column.
 

Ramnik

Registered User.
Local time
Today, 12:01
Joined
Jul 12, 2012
Messages
145
Thanks a lot .. it worked :)
 

Users who are viewing this thread

Top Bottom