regression-count
Returns the number of non-null numbers used to fit the regression line.
Note: Supported only in dynamic query mode.
Syntax
regression-count ( numeric_expression1 , numeric_expression2 )
regression-count ( numeric_expression1 , numeric_expression2 for
[ all|any ] expression { , expression } )
regression-count ( numeric_expression1 , numeric_expression2 for
report )
Example
regression-count ( Cost , Margin for report)
Result
The number of non-null numbers used to fit the regression line for Cost and Margin.
Result data
Cost | Margin | regression-count (Cost, Margin for report) |
---|---|---|
4 | 0.33 | 5 |
5 | 0.28 | 5 |
9.22 | 0.23 | 5 |
15.93 | 0.28 | 5 |
34.97 | 0.3 | 5 |