Handling null values in bi publisher rtf template
My requirement is replace all zeros with - sign
<if:<?sum(current-group()/BUDGET)=0?><?'-'?><?endif?> but it throws error
<if:sum(current-group()/BUDGET)=0?><?'-'?><?endif?>
http://www.oracleerpappsguide.com/2014/06/how-to-use-if-else-conditions-in-xml-publisher-rtf-template.html
brajesh,
Syntax is wrong because if budget =0 then it should replace with '-' but its not doing that in my case.
thanks
your syntax is little bit not correct, BI tags should start with <? and these should not be nested tag like <? <?.
Below is the one working for me
<?if: sum(current-group()/BUDGET)=0?><? '-'?><?end if?>
thanks for the help
same condition:
<?if:field_name=''?> - <?end if?> --------if you want to replace null with -
<?if:field_name=''?> '-' <?end if?> ---if you want to replace null with '-'
OR
<?xdofx: nvl(field_name,'-')?> ,
<?xdofx:replace(name,'','-')?>
still if you find issue , upload RTF and XML.
i took care that in sql now my concern is only to replace null values with '-'
You will end up with a datatype issue ... non-ZEROs are numeric and you want to convert ZERO to non-numeric '-' ...
upload rtf and xml , Thanks
Description: Join our Product Management team to learn about new features that are part of 26.R3 Application release of Fusion Data Intelligence (SCM). The session will cover updates on Supply Chain Management and Procurement. Presented by: Anil Sebastian - Senior Director, SCM Product Management, Fusion Data Intelligence…
Good day, please kindly assist. We are creating a graph to calculate the number of assets per milestones. However, the planners have only populated assets for only one milestone from the list of milestones the customer wants to track. Which gives an incorrect view as the project moves past different milestones that it has…
I scheduled the report in OTBI and the agent was run successfully. However, I do not receive the report after the run in my inbox. The addresses are properly recorded, and the report is in an excel format and saved as a pivot table in otbi. What can be the cause?
Anyone has any idea why the OAC documentation on custom viz is not available now? I was able to access till last week - https://docs.oracle.com/en/cloud/paas/analytics-cloud/acsdv/build-package-extension.html. Does this mean OAC doesnt support custom viz or custom workbook extensions?
I made a parameter with letter range values… put it into a dashboard filter. Then I created an expression filter to bind it to my last name column in the table with the image I uploaded here. I am getting the following error??? Invalid Expression. Validation of parameter values failed. A general error has occurred. Message…
Does Oracle Analytics Server 2026 include AI features such as a built-in chatbot or AI Assistant? If not, are there any plans or indications that these AI capabilities will be introduced in a future OAS release?