Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 43 Oracle Analytics and AI Sharing Center
- 19 Oracle Analytics and AI Lounge
- 283 Oracle Analytics and AI News
- 59 Oracle Analytics and AI Videos
- 16.3K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 108 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
NULL values in OTBI
I think it is generally best practice to suppress NULL values in OTBI, but client wants to keep them in report. But in their case, it's selective. Can we enable null values for just one column, or is it a global setting?
For example, if employee has no leave of absence records, it would be blank, but all the other fields in the report would show is there is data to pull from.
Answers
-
OTBI does allow selective null value inclusion rather than applying a global setting across all columns. You can enable null values for just one column using View Properties in the Results tab.
- Go to the Results Tab
- Modify View Properties (Click on the table or pivot view where you want to display null values. Select View Properties.)
- Enable Null Values for the Specific Column (Look for the option "Include columns with only Null values" and enable it.This ensures that the selected column retains null values while others follow default suppression rules.)
- Use Conditional Formatting (If required)
you can apply CASE statements in the formula:
sql
CASE WHEN "Leave of Absence"."Record" IS NULL THEN 'No Data' ELSE "Leave of Absence"."Record" END
This ensures that only the Leave of Absence column retains null values while others remain unaffected.1
