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

KB9183: What is the difference between BandingC and BandingP functions in MicroStrategy Developer 9.4.1 and 10.x?


Stefan Zepeda

Salesforce Solutions Architect • Strategy


In MicroStrategy 9.4.1 and 10.x, "BandingC" and "BandingP" are functions grouping metric data into bands, but they have differences that should be noted.

SYMPTOM:
In Strategy 9.4.1 and 10.x, "BandingC" and "BandingP" are functions grouping metric data into bands. Their definition and syntax is as follows:
 

Amazon Redshift ODBC Driver 1.0.8.x
Banding Typeband count (BandingC)band points (BandingP)DefinitionGroups metric data into a specified number of bands and assigns values to the resulting metric.Groups metric data into bands identified by boundary point values.SyntaxBandingC(M1, StartAt, StopAt, BandCount)
This function accepts four arguments:

Amazon Redshift ODBC Driver 1.0.8.x
Banding Typeband count (BandingC)band points (BandingP)DefinitionGroups metric data into a specified number of bands and assigns values to the resulting metric.Groups metric data into bands identified by boundary point values.SyntaxBandingC(M1, StartAt, StopAt, BandCount)
This function accepts four arguments:

Amazon Redshift ODBC Driver 1.0.8.x
Banding Typeband count (BandingC)band points (BandingP)DefinitionGroups metric data into a specified number of bands and assigns values to the resulting metric.Groups metric data into bands identified by boundary point values.SyntaxBandingC(M1, StartAt, StopAt, BandCount)
This function accepts four arguments:

Amazon Redshift ODBC Driver 1.0.8.x
Banding Typeband count (BandingC)band points (BandingP)DefinitionGroups metric data into a specified number of bands and assigns values to the resulting metric.Groups metric data into bands identified by boundary point values.SyntaxBandingC(M1, StartAt, StopAt, BandCount)
This function accepts four arguments:

Amazon Redshift ODBC Driver 1.0.8.x
Banding Typeband count (BandingC)band points (BandingP)DefinitionGroups metric data into a specified number of bands and assigns values to the resulting metric.Groups metric data into bands identified by boundary point values.SyntaxBandingC(M1, StartAt, StopAt, BandCount)
This function accepts four arguments:

Amazon Redshift ODBC Driver 1.0.8.x
Banding Typeband count (BandingC)band points (BandingP)DefinitionGroups metric data into a specified number of bands and assigns values to the resulting metric.Groups metric data into bands identified by boundary point values.SyntaxBandingC(M1, StartAt, StopAt, BandCount)
This function accepts four arguments:

Amazon Redshift ODBC Driver 1.0.8.x
Banding Typeband count (BandingC)band points (BandingP)DefinitionGroups metric data into a specified number of bands and assigns values to the resulting metric.Groups metric data into bands identified by boundary point values.SyntaxBandingC(M1, StartAt, StopAt, BandCount)
This function accepts four arguments:


BandingP(M1, Boundary1, Boundary2, Boundary3.…)
This function accepts arguments as follows:


Consider the following examples:
 
BandingC:
Create a metric with the following definition:
BandingC(Revenue, 1000000.0, 4000000.0, 3.0)
The Strategy Engine creates three bands. Group the Regions by revenue amount in increments of 1000000.0 (3000000.0/ 3.0), as shown below:
The display content bands the attribute 'Region' as follows:
 

  • band1: 1000000<= Revenue < 2000000
  • band2: 2000000<= Revenue < 3000000
  • band3: 3000000<= Revenue < 4000000
ka02R000000kYeXQAU_0EM440000002G09.jpeg

 
BandingP:
 
Create a metric with the following definition:
BandingP(Revenue, 100000.0, 1000000.0, 10000000.0)
The engine creates two bands (number of points-1) using the Category's revenue as the threshold value. The display content bands the attribute "Category", as follows:
 

ka02R000000kYeXQAU_0EM440000002G0A.jpeg

 


Comment

0 comments

Details

Knowledge Article

Published:

June 6, 2017

Last Updated:

June 6, 2017