Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
how to concatenate text and data report items and display right aligned with any spaces.
Muthul
Please let me know how to concatenate text and data report items and display right aligned with any spaces.
I have text element - HTML
<B>Reporting Period Based On: </B>
Data Element - Java Script Syntax
if (BirtComp.equalTo("T", params["RP_DateType"].value) )
"Transaction Date";
else
"Posting Date";
)
Please advise.
Thanks and Regards,
Muthul.
Find more posts tagged with
Comments
mwilliams
Why not just use the HTML text box to combine them? In text element, you could simply do something like:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<B>Reporting Period Based On: </B>
<value-of>if (BirtComp.equalTo("T", params["RP_DateType"].value) )
"Transaction Date";
else
"Posting Date";
)
</value-of>
</pre>
Muthul
Thank you Michael for your continuous help.
Regards,
Muthul.
mwilliams
You're welcome.