Bug Report Q472752
Visible to All Users

OLAP mode - Pivot does not apply the CrossCells currency format automatically

created 12 years ago

Hi,I've recently upgraded the PivotGrid Suite to version 2011 vol 2.3 from the build v2.57 and I had to do some changes to fit my own code onto the changes brought by the new version.
I'm using the PivotGrid in OLAP mode and previously all the measures were displayed in the proper format (currency, float etc.) but now it displays the values without any formatting.
I've attached an image showing the behavior and a back up of my OLAP data source (Analysis Services).
Can you kindly explain why is this happening?Am I doing missing something?
I need to know how to get it to work.
Thanks in advance,
best regards

Show previous comments (6)
DevExpress Support Team 12 years ago

    Thank you for your additional information. I understand that the problem lies in handling the Analysis Services FormatString. Our developers will do their best to examine the issue as soon as they can.

      Hi Paulo,
      thanks to you and to the DevX team for the quick response. I've tested the PG and now is showing currency values properly.
      Nevertheless there are some minor deficiencies: the FormatString property retrieved on "MEASURE_DISPLAY_FOLDER" field of my DB schema is still ignored in any other case except "Currency" value.
      For example: "Currency" is giving me back values in euros and this is correct but if FormatString is setted to "$ #,##0.00;-$ #,##0.00", the PG still don't gets this information.
      So I made some changes…
      I created the "DisplayFormat" property directly on the TcxPivotGridOLAPStructureNode class in order to store this information and pass it to the PivotGrid if necessary.
      The function "GetActualDisplayFormat" will check if the "DisplayFormat" is valorized and, if so, returns the right format.
      If you want I can send you my new source files (cxCustomPivotGrid.pas and cxPivotGridOLAPDataSource.pas).
      Thanks

      DevExpress Support Team 12 years ago

        Hello,
        Thank you for informing us that the problem is now resolved. Of course, I would appreciate your sending sources to us. It would be even better if you also provide us with a cube (or a DataBase backup) where format is "$ #,##0.00;-$ #,##0.00".

        Answers approved by DevExpress Support

        created 12 years ago (modified 12 years ago)

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.