Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exclude 0 from calculation?

Status
Not open for further replies.

MaddiMond

Technical User
Mar 28, 2005
76
US
I have a control in a report that calculates an Average Avg([Margin]). How can I exclude 0 from this calculation?
IIf ([Margin]=0, ??

Thanks,

Maddi
 
You can use Not Like 0 or <> 0 in the criteria query.
 
but WHY exclude the values? Of course they skew the results. But then if you (the boss, whomever, ... ) really want the avg margin, stuff with no markup reallt DOES have an effect on that!




MichaelRed


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top