Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Var calculation average problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01685179
Message ID:
01685180
Vues:
64
>Hi there,
>
>I am trying to figure out how to create a report var calculation an average value but avoiding records where the value of the field is o. How can I do this?
>
>Thanks in advance
>
>Thomas

SUM(FIeld) / SUM(IIF(Field = 0, 0, 1))
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform