EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB439723: When exporting negative numbers with the following Microstrategy format to Excel the ( ) is lost and the number displayed with a negative sign.


Community Admin

• Strategy


This Knowledge Base article describes how users using a certain format may experience () signs presented as a negative number with no brackets in excel.

SYMPTOM
Some users may experience an issue when exporting a report to excel with a particular formatting. If you have a report in Strategy that has negative values displayed with the () symbols instead of the - symbol and you export that report to excel the values that did display with the () symbols now display with the - symbol to denote the number is negative instead. The below screen shot demonstrates this behavior

ka04W000000ObAFQA0_0EM44000000A3t3.png

 
 
STEPS TO REPRODUCE
In tutorial
1. Set the regional formating in Control Panel to anything that is not English (America). For example we used Thailand:

ka04W000000ObAFQA0_0EM44000000A3t8.png

2. Create report with Item and Units Received

ka04W000000ObAFQA0_0EM44000000A3tD.png

3. Create new metric. Units Received - 2000

ka04W000000ObAFQA0_0EM44000000A3tI.png
ka04W000000ObAFQA0_0EM44000000A3tN.png

4. Change formatting of ‘New Metric’ to folowing

ka04W000000ObAFQA0_0EM44000000A3tX.png
ka04W000000ObAFQA0_0EM44000000A3tc.png

5. Export the report to excel with formatting:

ka04W000000ObAFQA0_0EM44000000A3th.png

CAUSE
The Strategy product maps its format to excel's predefined format, with this benefit, excel could render the format according to machine's locale.
After changing the machine locale format to Thai in regional Windows setting described in the workaround section, open the Microsoft Excel, we can see there's no format with "()" for number. Microsoft render this format as custom #,##0.00;[Red]-#,##0.00. This format string is not defined by our product, Therefore it is why after you convert machine locale back to English, it works.
ACTION
This issue was reviewed by our Technology team for feasibility and will not be scoped for a code fix in any upcoming Strategy release.
WORKAROUND
This issue can be avoided bye either
1, This issue is not encountered by change the regional formatting to English (United States)

ka04W000000ObAFQA0_0EM44000000A3tm.png

This issue is related to this one particular format, changing the formatting may be done to avoid the undesired effect in exporting to excel, EX:
2. Clicking custom and adding a "#" at the front as demonstrated below:

ka04W000000ObAFQA0_0EM44000000A5WL.jpeg

3. Change Mstr format to remove the comma separator:

ka04W000000ObAFQA0_0EM44000000A3tr.png

And the excel will show negative values in brackets as expected:

ka04W000000ObAFQA0_0EM44000000A3tw.png

  KB439723


Comment

0 comments

Details

Knowledge Article

Published:

February 19, 2018

Last Updated:

January 3, 2019