Symptom
When creating a calculation with Lumira Desktop/Discovery where one value is NULL Lumira returns NULL.
Environment
SAP Lumira Desktop
Reproducing the Issue
- Create a simple Excel File
- Create a new DataSet with this Excel File
- Add "Product", "Ship" and "Plan" to ATTIBUTES
- Create a new measure with this aggregation {Ship} + {Plan}
- Add this measure to table
- In row G Lumira returns Empty value.
Cause
This behaviour is due to Lumira not automatically converting NULL values to 0. This is because NULL is not necessarily equivilent to 0. For example if you have survey data that has an optional field for salary, a person could choose not to enter it. This does not mean the person had 0 salary, though it could, it just means they don't want to answer.
Resolution
A calculation can be created to convert NULL values to 0 values. For the above example it would look like the following:
if IsNull({Ship}) then {Plan} else {Ship} + {Plan}
Keywords
measure NULL + Value, empty cell, empty value, aggregation with empty value, calculation , KBA , BI-LUM-DIS , Lumira Desktop/Discovery , Problem