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

KB38278: How to enumerate each report row breaking by the desired attribute level in MicroStrategy Developer 9.4.x and 10.x?


Stefan Zepeda

Salesforce Solutions Architect • Strategy


This technical note demonstrates how to create a metric that will enumerate each report row breaking by the desired attribute level

This technical note demonstrates how to create a metric that will enumerate each report row breaking by the desired attribute level:  
 
STEPS TO BE FOLLOWED:
 
1.  Using the Strategy Project Tutorial, create a report with the attributes Category, Subcategory and the metric Revenue. The report should looks like:
 

ka02R000000kcILQAY_0EM440000002DPG.jpeg

 
2.  Create a new metric based on the OLAP function RunningCount:
 
 

ka02R000000kcILQAY_0EM440000002DPZ.png

 
 3.  Select the metric Revenue in the ValueList:

ka02R000000kcILQAY_0EM440000002DPO.png

  
4.  Insert the attribute Category in the Break-by list: 
 

ka02R000000kcILQAY_0EM440000002DPE.jpeg

 
5.       Insert the attribute Category in the Sort list:
 
 

ka02R000000kcILQAY_0EM440000002DPX.png

 
6.       Clicking on the button Finish, the metric should be look like:
 

ka02R000000kcILQAY_0EM440000002DPQ.png

 
7.       Save this metric and add in the report template, so execute the report in order to get the following result:

ka02R000000kcILQAY_0EM440000002DPL.jpeg

 
NOTES:
 
The usage of the Olap function Rank was disregarded due to the fact that if the metric contains equal values, so the rank values ​​will return repeated values:
 

ka02R000000kcILQAY_0EM440000002DPJ.jpeg

 
REFERENCES:
 
Refer to the following technical note to know about how to use Rank function:

  • KB4740 (KB4000-7X0-0289): How to rank a metric in MicroStrategy Desktop 8.x

 


Comment

0 comments

Details

Knowledge Article

Published:

May 15, 2017

Last Updated:

May 15, 2017