MicroStrategy ONE

Remove Attribute Parent statement

Removes an attribute parent from an attribute within a project.

Copy
REMOVE 
 ATTRIBUTEPARENTattributeparent_name[IN 
 FOLDERparent_

where:

  • attributeparent_name is the name of the attribute to be removed from the parents list, of type string, between double quotes (").

  • parent_location_pathis the folder where the parent attribute resides, of type string, between double quotes (").

  • attribute_name is the name of the attribute from which the attribute parent is to be removed, of type string, between double quotes (").

  • location_path is the folder where the attribute resides, of type string, between double quotes (").

  • project_name is the name of the project, of type string, between double quotes (").

This statement can only be executed in a Windows environment.

Example

Copy
REMOVE ATTRIBUTEPARENT "Quarter" FROM ATTRIBUTE 
 "Month" IN FOLDER "\Schema Objects\Attributes" FROM 
 PROJECT "MicroStrategy Tutorial";