Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 213 Oracle Analytics News
- 42 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Condition Formatting in RTF template - "is not null"?

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).
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