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

KB12488: Exporting Big Decimal datatypes to Microsoft Excel are converted to Text and not Number in MicroStrategy


Stefan Zepeda

Salesforce Solutions Architect • Strategy


This article notes a limitation of Excel for exports of big decimal data

SYMPTOM:
 
When exporting Big Decimal datatypes to Microsoft Excel, the data type is converted to a Text data type rather than a Number in Strategy. The following image shows what appears when a Big Decimal Type (buy_rzt_am) and a Numeric Type (achmi_rzs_qt) are exported to Excel:
 

ka02R000000kXN8QAM_0EM440000002Fde.jpeg

 
Notice that (buy_rzt_am) numbers are formatted as Text. Since the numbers are converted to Text, calculations cannot be performed on them.
 
CAUSE:
 
Big Decimals are not supported by Microsoft Excel. This is a known limitation of the Big Decimal datatype and the Excel program.
 
WORKAROUND:
 
Users can perform one of the following suggested workarounds:

  1. Change the datatype of the Fact to type 'Double.'
  2. Convert the data in Excel from Text to Number.

The following image shows what appears when highlighting a Big Decimal cell in the Excel file in Excel.
 

ka02R000000kXN8QAM_0EM440000002FdF.jpeg

 
Note the exclamation mark appears in the cell notifying users that there may be inconsistencies in the data.
 
Click on the exclamation icon for a drop-down menu and choose the option 'Convert to Number' as shown below:
 

ka02R000000kXN8QAM_0EM440000002FdG.jpeg

 
Once the data is converted, calculations can then be performed using this data, as shown below:
 

ka02R000000kXN8QAM_0EM440000002FdE.jpeg

Keep in mind that Excels lack of support for big decimal means precision may be lost on the number upon conversion.


Comment

0 comments

Details

Knowledge Article

Published:

June 15, 2017

Last Updated:

June 15, 2017