Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 34 Oracle Analytics and AI Sharing Center
- 22 Oracle Analytics and AI Lounge
- 276 Oracle Analytics and AI News
- 47 Oracle Analytics and AI Videos
- 16.1K Oracle Analytics and AI Forums
- 6.3K Oracle Analytics and AI Idea Labs
- Oracle Analytics and AI User Groups
- 99 Oracle Analytics and AI Trainings
- 16 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
Condition Formatting in RTF template - "is not null"?
isnotavailable
Rank 1 - Community Starter
I have some boilerplate text and a field value that I only want to show if the field value is not null. How do I achieve this? The conditional options only seem to be to compare to some other field in the data model (equal to, not equal to, etc).
0
Answers
-
In your data model query, assign this field value to a specific unique value in case of NULL using NVL. Then in the RTF template write the condition to display your data when it doesn't equal this specific unique value.
For instance:
in your data model query:-
Select NVL(COLUMN, 'NO_DATA') FIELD_NAME
in your RTf:-
<?if:FIELD_NAME!='NO_DATA'?> display whatever you want <?end if?>0