NVL In RTF Template
Hi Team,
How to use NVL In rtf templete
If
<ABC> is null the it should write <DEF>
Thanks
AT
Can we use like this ?
<?xdofx: if ABC !='' then 'ABC' else 'DEF'?> <?end if?>
yes you can write like that
Put in one column tag
<?if:string-length(ABC) != '0 '?>
<?ABC?>
<?end if?>
<?if:string-length(ABC) = '0 '?>
<?DEF?>
OR
<?choose:?>
<?when:ABC!=''?> ABC <?end when?>
<?otherwise:?>DEF<?end otherwise?>
<?end choose?>
Hi Rajesh,
One small doubt
Do we need to pass it in a String or with String
or
<?xdofx: if ABC !='' then ABC else DEF?> <?end if?>
Since ABC is Expression coming from the DB
You can directly use nvl function using xdofx function in RTF template
<?xdofx: nvl(ABC,'DEF')?> where ABC will the column or field. Thanks
Use the expression which Rajesh123 gave (<?ABC?> should be defined as BI Publisher Field)
<?xdoxslt:ifelse(ABC !='',ABC,DEF)?>
I have tried all the suggested options but nothing seems to work, I am pretty sure direct NVL used to work before
Hi @Ankur.Bansal
This is very old Thread if you still looking for an help/answer from community can you start new thread ?
https://community.oracle.com/products/oracleanalytics/categories/bi-publisher
Regards,
Arjun
hi, We are in ebs R12.2.10 version using Oracle BI Publisher reports. Is support for BI publisher ending soon? what happens to Custom reports? Rgds, Shahnawaz
Hi , We are developing a BI Publisher report to retrieve only Learning Initiatives. We are currently using: WLF_EVENT_ASSIGNMENTS_F WLF_EVENT_ASSIGNMENTS_F_TL WLF_ALL_LEARNING_ITEMS_V WLF_ASSIGNMENT_DESTINATIONS_F We are filtering EVENT_TYPE = 'ORA_REQUIRE_ASSIGNMENT'; however, the results also include other assignment…
Hi Experts, I have a report with simple SQL but large output (140M). Its output file was ,xlsx base on an rtf templete. It always takes time to run. May I know is there any good way to reduce the ruing time of it ? Thanks in advence! Weutao
I have been tasked with creating a run book for ESS jobs. Whilst the queries are centred on the ESS_REQUEST_HISTORY table I would appreciate any suggestions/best practice for implementing a set of reports
Hi,😊 I have a technical issue that I am struggling to resolve. I created an RTF layout, and the preview works correctly when using the BI Publisher Add-in tool. However, when I upload the layout in eText format, the generated report displays only question marks (???) instead of the expected data. I have not been able to…