The main differences between FineBI 6.1 and 6.0 lie in the handling of Null, empty strings (""), and NAN. The three types of empty values seem to be the same, but are handled differently in actual calculations.
Concept description of the three types of empty values:
NULL
Empty data in the database
""
Empty values obtained by formulas
For example, in formulas like IF(a=b, a, ""), the empty string ("") is treated as a value of the text type in the new version. To return an empty value of the numeric type, you need to write Null.
NAN
NAN only occurs in functions in FineBI 6.0. Currently, it is known that the calculation result of Null/Null by the LOG() function is NAN. In most cases, calculations involving NAN return NAN as well.
In FineBI 6.1, NAN will no longer appear. If a calculation returns NAN, it is considered as a bug. In FineBI 6.1, Null/Null still returns Null. That is, FineBI 6.1 will define the empty calculation result as Null.
The following lists the differences between the three types of empty values in different calculations. The differences are mainly reflected in the dashboard calculation results.
Application Scenario
New calculation rules in FineBI 6.1:
Null is treated as 0 in arithmetic operations.
Any result involving NAN will be NAN in arithmetic operations.
Example
6.1
6.0
Solution
If you want to achieve the same efficiency as before, you can use the IF function for evaluation.
For example, the formula 1-num/num1 can be modified to IF(num/num1=null,Null,1-num/num1).
Null and empty strings ("") are distinguished in FineBI 6.1.
Null and empty strings ("") are not distinguished in FineBI 6.0.
Null is included in sorting in FineBI 6.1.
Null is not included in sorting in FineBI 6.0.
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy