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

KB205244: With subtotals on a report, a linear regression training metric displays very inaccurate results after it is pivoted or moved in MicroStrategy Analytics Developer 9.4.1


Stefan Zepeda

Salesforce Solutions Architect • Strategy


With subtotals on a report, a linear regression training metric displays very inaccurate results after it is pivoted or moved in MicroStrategy Analytics Developer 9.4.1

It is found that if a training metric is inserted via Training Metric Wizard to a report that is with subtotal enabled, its value will change with its position.
 
STEPS TO REPRODUCE:
1. Create a Quarter Index metric using the syntax as below:


((Max(Quarter@ID) {~} - (10 * Max(Year@ID)) {~} ) + ((Max(Year@ID) {~} - 2010) * 4)) 

 

ka02R000000kX5kQAE_0EM440000002CEO.jpeg

2. Create a report with Year, Quarter, Quarter Index and Revenue;

ka02R000000kX5kQAE_0EM440000002CE1.jpeg

3. Enable subtotal in the report;

ka02R000000kX5kQAE_0EM440000002CER.jpeg

4. Insert a linear regression training metric by following the steps in screenshots below:
(a) Choose Linear Regression:

ka02R000000kX5kQAE_0EM440000002CDz.jpeg

(b) Choose Quarter Index metric created at step 1 to be the Independent Metric:

ka02R000000kX5kQAE_0EM440000002CEQ.jpeg

(c) Keep default setting:

ka02R000000kX5kQAE_0EM440000002CDx.jpeg
ka02R000000kX5kQAE_0EM440000002CE5.jpeg

(d) On summary page click Finish:
5. On clicking finish, the result is as below;

ka02R000000kX5kQAE_0EM440000002CE3.jpeg

6. Move training metric to the right, the values change a lot;

ka02R000000kX5kQAE_0EM440000002CEF.jpeg

7. If subtotal is not enabled in step 3, then the values of training metric do not change with the position.

ka02R000000kX5kQAE_0EM440000002CEH.jpeg
ka02R000000kX5kQAE_0EM440000002CE7.jpeg

 
CAUSE:
This is a known issue in Strategy Analytics Developer 9.4.1.
 
ACTION:
Currently this issue is still being reviewed for feasibility by our Technology team and it is not scoped for any upcoming scheduled Strategy release. 
 
 
 


Comment

0 comments

Details

Knowledge Article

Published:

April 10, 2017

Last Updated:

April 10, 2017