MicroStrategy ONE

Delete Metric statement

Deletes a metric from the specified project.

Copy
DELETE METRICmetric_nameIN [FOLDER]location_pathFROM PROJECTproject_name;

where:

  • metric_name is the name of the metric to be deleted, of type string, between double quotes (" ").

  • location_path is the folder path where the metric is located, of type string, between double quotes (" ").

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

This statement can only be executed in a Windows environment.

Example

Copy
DELETE METRIC "New Metric" IN FOLDER "\Public 
 Objects\Metrics\Count Metrics" FROM PROJECT "MicroStrategy Tutorial";