How to change the format of a view measure

Discussion forum for PivotCube VCL users. Common questions. Bug and problem reports

Moderator: Alex Zencovich

How to change the format of a view measure

Postby kurgbe » Sat Oct 20, 2007 4:30 pm

I would like to format the % views (% by column, % by column,..) to display the rounded values eg: 25% instead of 25.45%

How can I do that? Is it possible to do at run time?

PS: The "Measure Formating" applies only to the Value view.
kurgbe
User
 
Posts: 14
Joined: Thu Aug 03, 2006 8:35 pm

Postby AlexZencovich » Sun Oct 21, 2007 7:30 am

See TPivotGrid.OnGetCellValue event (demo has example to use - click <Custom Format> on toolbar)
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am


Return to PivotCube VCL

Who is online

Users browsing this forum: No registered users and 4 guests

cron