水晶报表函数大全-汇总函?- 百度文库

ʹܹõгֵֵķظ磺

? ۱ͻжԼ㱨гֵķظͻܼƷظκظ¼ͻһϵĶԸظijֿͻ

? Զз飨磬ԶԵʡз飩Լÿ飨ڱУΪÿʡзظͻĿκζһ϶ĿͻԼгֶεĿͻֻһΡ

? Զڻ򲼶ֵ飨磬Զ䷢·ݽз飩Ըڻ򲼶ֶеض仯ÿ飨ڱУΪÿ£зظͻĿͻһڷһϵĶÿͻظʵԡ

? ֵָļϣԼüзظֵĿüظֵֻһΡйַظϢμ ܺ

ʾ

ʾ Basic ﷨ Crystal ﷨

DistinctCount({ͻ.})

ԡֶгֵIJͬʡݽмκظʡݡ

DistinctCount({ͻ.}, {ͻ.})

ÿʡвͬеĿ

DistinctCount({.ͻ ID}, {.}, \

ϵIJͬͻĿмϵˡÿڡֶеֵΪµʱͻз顣

ʾ Crystal ﷨

DistinctCount([1,3,5,3,2,5])

4зظֵĿмظֵԡ

ע⣺ ڹʽʹô˺ǿڴӡʱԹʽֵ

йֵʱ俼صϸϢμֵʱ䡣

ע

DistinctCount ֶзظֵĿмظֵԡ

Correlation

Basic ﷨ Crystal ﷨

? ? ?

Correlation (fld, fld) Correlation (fld, fld, condFld) Correlation (fld, fld, condFld, cond)

? ? ?

fld κֵֶΡ

condFld ڶ fld еֵзʱݵֶΡ

cond DZ condFld ͵ַֻ condFld һڡʱ䡢ʱ򲼶ֶʱָ˲йش˲ЧַϸϢμܺ

С

ʹֶָܹεϵЩֶΰͬʽ仯ij̶ȣ磺

? ? ?

Լ㱨м¼ֶεϵ

Զij飨磬۰Եʡз飩ֵֶεϵ

Զֶλ򲼶ֶεı仯пƵ飨磬۰ɵ·ݽз飩ֵֶεϵ

ʾ

ʾ Basic ﷨ Crystal ﷨

Correlation({ͻ.ͻ ID}, {ͻ. ID})

㡰ͻ ID͡ IDֶ֮ϵ

Correlation({.ͻ ID}, {. ID}, {ͻ.})

ÿġͻ ID͡ IDֶ֮ϵ

Correlation({.ͻ ID}, {. ID}, {ͻ.}, \

ÿÿֵġͻ ID͡ ID֮ϵ

ע⣺ ڹʽʹô˺ǿڴӡʱԹʽֵ

йֵʱ俼صϸϢμֵʱ䡣

ע

ϵδ壬ʱúԿֵ (0)ϵʼǽ -1 1 ֮һϵΪ 0Щֶβء Covariance

Basic ﷨ Crystal ﷨

? ? ?

Covariance (fld, fld) Covariance (fld, fld, condFld) Covariance (fld, fld, condFld, cond)

? ? ?

fld ǿɺֵκֵֶΡ

condFld ڶ fld еֵзʱݵֶΡ

cond DZ condFld ͵ַֻ condFld һڡʱ䡢ʱ򲼶ֶʱָ˲йش˲ЧַϸϢμܺ

С

Covariance ЭdzɶԱԹϵĶֶһ仯ƣֶΰضѧϵ仯ʱЭġԲܳԲİ뾶Эġ

ʾ

ʾ Basic ﷨ Crystal ﷨

Covariance({table.FIELD1}, {table.FIELD2})

ֶεЭСʽЭ

ע⣺ ڹʽʹô˺ǿڴӡʱԹʽֵ

йֵʱ俼صϸϢμֵʱ䡣

ע

Covariance ʹ·ģ

? ? ? ?

ÿĿƽֵֵ ÿĿֵмȥƽֵ ÿĿIJֵˡ

ó˷г˻ƽֵΪЭ

WeightedAverage

Basic ﷨ Crystal ﷨

? ? ?

WeightedAverage (fld, fld) WeightedAverage (fld, fld, condFld) WeightedAverage (fld, fld, condFld, cond)

? ? ?

fld ǿɺֵκЧݿֶλʽֶΡ condFld ڶ fld еֵзʱݵֶΡ

cond DZ condFld ͵ַֻ condFld һڡʱ䡢ʱ򲼶ֶʱָ˲йش˲ЧַϸϢμܺ

ϵͷ779662525#qq.com(#滻Ϊ@)