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

KB45112: How to count all elements of an attribute even when a security filter is applied to the attribute attribute elements in MicroStrategy Developer


Stefan Zepeda

Salesforce Solutions Architect • Strategy


This article discusses how to count all elements of an attribute even when a security filter is applied to the attribute attribute elements in MicroStrategy Developer

In some business scenarios, it is required to work around security filter and count all of attribute elements, as shown below:

ka02R000000kcXpQAI_0EM440000002Cc7.jpeg

 
NOTE: In normal situation, if security filter is used, the count metric will only count the current attribute elements and display 1 in this situation, as shown below:

ka02R000000kcXpQAI_0EM440000002CcD.jpeg

 
 
Follow the steps below to achieve the requirement:

  • Create a new attribute with exactly the same definition with attribute .
  • Update Schema.
  • Create a new metric and count attribute elements based on attribute . And ignore filtering of attribute , as shown below:
ka02R000000kcXpQAI_0EM440000002Cbe.jpeg
  • Add the new metric into report.
  • Run the report and the count metric will always display the real total of attribute elements, disregarding the Security Filter.

 
 


Comment

0 comments

Details

Knowledge Article

Published:

April 13, 2017

Last Updated:

April 13, 2017