[Mondrian] FORMAT_STRING property

Julian Hyde jhyde at pentaho.com
Sun Nov 14 17:54:43 EST 2010


Feris,
 
You have found a bug. Even though I added support for string format tokens
like '<' in change 13401, we were not applying format strings to string
values. I have fixed in change 13909.
 
Julian


  _____  

From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org] On
Behalf Of Feris Thia
Sent: Sunday, November 14, 2010 6:26 AM
To: Mondrian developer mailing list
Subject: [Mondrian] FORMAT_STRING property


Hi Everyone, 

I learnt that mondrian.util.Format class not implemented any text format
yet. And I learnt that we need a return cell node and rendered it using
mdxtable.xsl to have a particular format / style.

But the rendering in mdxtable.xsl only support numerical values, for example
:

with member [Measures].[Test] as '23', FORMAT_STRING = '|<|arrow="up"' give
the immediate effect

whereas

with member [Measures].[Test] as '"23"', FORMAT_STRING = '|<|arrow="up"'
give no intended result

Is there any workaround on this ? Many thanks before.

-- 
Thanks & Best Regards,

Feris Thia
Business Intelligence Consultant
PT. Putera Handal Indotama
Phone  : +6221-30119353
Fax      : +6221-5513483
Mobile : +628176-474-525
http://www.phi-integration.com
http://pentaho.phi-integration.com
http://sqlserver-tips.phi-integration.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20101114/7dfd082f/attachment.html 


More information about the Mondrian mailing list