Applysimple in microstrategy. By contrast, IF() allows database side conditional functions to be leveraged without using ApplySimple() or ApplyAgg() functions. Applysimple in microstrategy

 
 By contrast, IF() allows database side conditional functions to be leveraged without using ApplySimple() or ApplyAgg() functionsApplysimple in microstrategy  Create a Custom Group Element using the Relationship filter created in step 3: 5

Syntax. 18K KB8426: How to create a metric with an ApplySimple statement which will choose different metrics for calculation based on. In this table, the PARENT_ID column logically points to another row in the same table (ID column). x and an Oracle Warehouse using the ApplySimple function. In certain reports, users may notice that subtotals defined across level are not broken by attribute element in a grid report in MicroStrategy Developer 9. Add the derived metric to the report and hide it by setting the column width to 0. format_mask is optional. Update the data on an Intelligent Cube without having to republish the entire cube in MicroStrategy. By contrast, IF() allows database side conditional functions to be leveraged without using ApplySimple() or ApplyAgg() functions. g. SYMPTOM: In MicroStrategy 9. Date and Time functions provide date and time information, such as current date, the day of week of a particular date, and so on. Save the prompt as "Call Center Prompt". The Attribute Editor opens three dialog boxes, if the cascading dialog box option is enabled in the Developer Preference (as it is by default). When exporting a report containing an image attribute form (using an ApplySimple statement) to PDF in MicroStrategy Web 9. Teradata supports user-defined functions (UDFs), which allow you to extend the SQL language by writing your own functions or installing UDF packages from third-parties. ApplySimple("Datediff(YY,#0,getdate())", [BIRTH_DATE]), in which [BIRTH_DATE] is an attribute. The following steps will reproduce the issue in MicroStrategy Tutorial running against a Vertica 4. Sum . This true in any case where an explicit datatype is required. Used Enterprise manager to create reports on the project usage and report usages. Choose the Light Theme from the drop down menu and click the Apply button. Microstrategy Dashboard performance improvements steps: Many times, causes of poor performance can be simplified to specific components. A space where we get together to see curiosities, share experiences and pass tips to be the coolest and most knowledgeable consultants. nction Types. thread395-610882. MicroStrategy has introduced a feature known as, Incremental Refresh Options, which allow Intelligent Cubes to be updated based on one or more attributes, by setting up incremental refresh settings to update the Intelligent Cube with. To convert a CHAR to an INTEGER in MicroStrategy for SQL Server, change the definition of the attribute as follows: ApplySimple ("cast (#0 as INT)", SKU_IN_CHAR) DateDiff (Day@ID, CurrentDate (), "d") For each element of the Day attribute, the metric displays the number of days between that date and the current date when running the report or dossier. 2 A. The prompt may be used in the ApplySimple function, and will be substituted at runtime. Examples of this category are simple mathematical. x and higher. These functions are not supported by the Analytical Engine, so they must be calculated by the database. Then I ask how to compared two metric based on ApplySimple in Report limit. My gloal is to cast a fact column to double value. using Sum (PaidAmt * Attribute Sales Year) works fine, valid expression, but not really what I want. Open the project in which a new column is added. 4. Use the datetime format defined on warehouse database side in the ApplySimple statement. Syntax. x: Open the Filter Editor to define a new filter. The three dialog boxes are New Attribute, Create New Attribute Form, and Create New Attribute Form Expression. How to embed horizontal bar graphs into a column of a grid in Report Service Document in MicroStrategy Developer 9. This is a single-value function. mstrc file from an empty text file. Since there are 7 days in each week and 52 weeks in each year, this calculation will always match each day of the week to the. For instance, if the datetime format is defined as yyyy-mm-dd on warehouse database side, the form expression needs to be modified as follows:Transformation expressions using ApplySimple cannot be optimized because MicroStrategy does not parse or analyze the operations performed in the pass-through SQL string in any way. The apply functions act as containers for non-standard SQL expressions being passed to the database. Metric Join Type: VLDB Setting at Database Instance Level Report. , Tuesday should. . x, with the Intelligence Server running on Linux, the image in the exported PDF report appears as a red "X" as shown below: However, the images in the report display properly when the report is. HTCMS (Programmer) (OP) 19 Feb 04 20:41. ApplySimple("#0", MaxProfit). The calculation of the difference is based on the number of day boundaries crossed, not the number of twenty-four hours periods elapsed. Thanks a lot for the 101 Microstrategy Question…. The recommended VLDB optimizations for Hive 0. A user may want to create an attribute with an alternating expression depending on a certain condition, a conditional attribute. The following example is created within the MicroStrategy Tutorial project, specifically using the ORDER_DETAIL and ORDER_FACT tables. x pass-through function, in this case the ApplySimple function. From the Database connection type drop-down, choose Snowflake. Specify the desired delivery options including recipient address, subscription name. Number of Views 49. When exporting a report containing an image attribute form (using an ApplySimple statement) to PDF in MicroStrategy Web 9. Case can be used for categorizing data based on multiple conditions. g. Also, I have to move null handling to RDBMS via the function- NVL (Oracle), IsNull (SQL Server), and Coalesce (DB2) because conditions and calcs done in the database don't benefit from MSTR's. Users wish to execute scripts in MicroStrategy Command Manager 9. The following example will walk through how to setup an attribute form that converts a default datetime value in Microsoft SQL Server 2000 into a NULL value. 4. This technical article outlines the steps to create rolling time attributes in MicroStrategy Developer 9. x. I want to find out the number of Widgets that were faulty, so I created another metric with that. 4. e. When using OLAP Cube data sources, aggregation at multiple levels can be performed in two ways. If I select name1 from the prompt, I do need to show all the occurances of. Database administrators can store HTML tag elements directly in the data warehouse, but MicroStrategy also has the ability to add HTML tagging to non HTML elements by using the ApplySimple database function. KB35312: Attribute sorting does not get applied correctly on a selector when viewing a Report Services Document in DHTML mode in MicroStrategy Web 9. Select only Configuration Objects for documentation. The month names do not originally reside in the warehouse tables and the user does not want to manually input the values into the warehouse. When adding a prompted metric using an ApplySimple() function that includes a Max, the prompt name will not be displayed for prompt ordering on a MicroStrategy Report Services Document as shown in the image below: The metric in the report contains a formula similar to the following examplemstrgrl (TechnicalUser) (OP) 2 Dec 03 15:36. x-10. 2. When exporting a report containing an image attribute form (using an ApplySimple statement) to PDF in MicroStrategy Web 9. 4. The Dynamic Dates in MicroStrategy SQL Generation Engine 9. There's a reason we're at the top of the list. 2. x use the Day attribute to qualify on a particular date. This technical note provides an example of how to calculate the number of days between the current date and a date attribute. #n, (3) place "ApplySimple (" (without the quotes) in front and (4) a comma plus. KB16057: How to create customized metric expressions for MDX Cube data sources in MicroStrategy Engine. Split Hierarchy with M-M relationships: Explanation. MSTR has evolved. x-10. Click New. With consolidations, user can group attribute elements to define "virtual" attributes that enable. Create a metric with the ApplySimple statement below as its definition and name it "Case Metric": ApplySimple ("CASE WHEN #0 <= 2000 THEN #1 WHEN #0 >= 2001 THEN #2 END", ? [P1], Revenue, Profit) Note: This example will prompt users for a value. You can choose one or more data files from Hadoop HDFS and load them into MicroStrategy Intelligence Server. Splitting the fraction: Numerator: Sum (VOL) {~} Denominator: Max ( ApplySimple ("replace (#0, ',', '. Syntax. . All articles. g. x does not parse the contents of the SQL string and it cannot anticipate differences in database implementations of standard (or. Open up the same document in MicroStrategy Web 10. Applysimple in Metric; Conditional metric and report filter interactions; Connection Mappings in Microstrategy;. Example 1 Using an attribute ApplySimple is a function that allows users to send direct input to the warehouse without any assumption or special handling of what is inside the custom SQL by MicroStrategy. Next, navigate to the Theme tab. Count(ApplySimple("Case when #0 <> 0 then #1 else Null end", Column2, Column1)) {~ } Note: Notice that the ELSE statement is using 0 or Null based on the metric functions, such as Sum or Count. If the first date argument is later than the second date argument, the result is a negative number. When exporting a report containing an image attribute form (using an ApplySimple statement) to PDF in MicroStrategy Web 9. Explanation. Create a Report Services Document 2. I originally cut and pasted the syntax from SQL+ into the attribute statement and tweaked it. This function evaluates multiple expressions until a condition is determined to be true, then returns a corresponding value. microstrategy. Something like: ApplySimple("'Y'", [your metric here]). The user should enter two double-quote marks in succession, as shown. Microstrategy Report Services documents vs Dashboards. 21K. Number of Views 48. When a user types in keywords to tries to find element names in an element prompt, the search returns all objects containing the keywords in MicroStrategy Developer 9. KB20306: How to create dynamic date based on 'Last Month' in MicroStrategy SQL Generation Engine 9. You can use the AppleSimple function to insert database-specific functions and simple operators directly into SQL. Syntax ApplySimple () Accepts facts, attributes, and metrics as input. This is a single-value function. Microstrategy Dossiers With the release of MicroStrategy 10. Could you please update the list…. If two users with different security filters run the same report, they may get different results. In the layout tab, click "Allow multiple selections". If the metric formula includes other operations outside of the ApplySimple function, these operations could be evaluated by the Analytical Engine and the smart metric option would be expected to. Syntax. The steps to use the JDBC driver to connect to Oracle are as follows: Download the Oracle JDBC thin driver. Deploy the ojdbc8. With a few additional applysimple statements this can also be used to create QTD and MTD. You can use the MicroStrategy CASE function, available in MicroStrategy Developer (\\Schema Objects\Functions and Operators\Functions\Internal Functions), to retrieve desired result sets. I hope this helps. Max (1) The metric definition is shown in the image below: Create a second metric with an apply simple statement and using the dummy metric on its definition, as shown below. ApplySimple where simple (e. , ApplySimple or ApplyAgg). Complex functions that use combinations of metrics, attribute forms and facts as arguments must use an ApplyAgg. When exporting a report containing an image attribute form (using an ApplySimple statement) to PDF in MicroStrategy Web 9. In this brief video tutorial, Doug Terbush from our Customer Education team describes the use of the Case function, along with examples of using this functio. The ApplySimple function is used with simple operators and functions. In the example above, the ApplySimple statement for the attribute ID form should contain placeholders for column name as follows: ApplySimple("substring(#0, 1, 10)",) After changing the ApplySimple syntax for the attribute form CustCol 3, when the report SQL is viewed, the report will group by the attribute form CustCol 3 as shown below:Qualify on the attribute form that you want to compare (presumably the Year ID), and then in the Operator section, change the dropdown from its default 'Value' to 'Custom'. ApplySimple (“Case when [Field Header Name]='CONDITION1’ then 'condition1 example' end”,String1) What I've found online is a little misleading and wondering if anyone can assist. Motivation: Customers can bring in data as a cache so they can save on costs using Snowflake. The Microstrategy installation will create 3 Microsite Access databases in your local directory (C:Program Files (x86)MicroStrategyTutorial ReportingTUTORIAL_DATA_7200. From MicroStrategy 9. x, with the Intelligence Server running on Linux, the image in the exported PDF report appears as a red "X" as shown below: However, the images in the report display properly when the report is. Number of Views 2. png"). The datatype used to define columns in temporary tables for objects defined with multiple inputs such as an applysimple statement are determined by the datatype of the first object listed in the object definition in MicroStrategy. The index for referencing these objects begins with 0 and increases by for each successive object passed. If your database does not include SQL syntax support for a date and time function, the function cannot be. In MicroStrategy Web, it is possible to use an image as a button to export a grid on a document to Excel in MicroStrategy version 10. I just verified taking the SQL generated by MSTR back into SQL+ -- the SQL+ results work as they should; however, the report results are different. x, with the Intelligence Server running on Linux, the image in the exported PDF report appears as a red "X" as shown below: However, the images in the report display properly when the report is. But, DESC has repeating values. In MicroStrategy SQL Generation Engine, security filters prevent users from seeing certain data in the database. 4. , the report always contains a clause such as 'WHERE MONTH_ID = 200107', for the current month. Create the first derived attribute DA1, which is going to be used as the child attribute: 3. Applysimple in Metric; Conditional metric and report filter interactions; Connection Mappings in Microstrategy;. MicroStrategy is a commercial off-the-shelve tool that automates the generation of Snowflake SQL queries through a semantic layer in datasets design. Try to create the metric this way: Sum (PaidAmt * Attribute Sales Year). As a workaround users can use ApplySimple function as below: ApplySimple (“Case when #0>0 then #1 else NULL end”, [BACK_END_DENIAL_COUNT], [TEST_ID]) Also, you can use "NulltoZero" function as shown in the screenshot. mstrc” file needs to be created for an environment connection prior submission, please follow these steps. Applysimple in Metric; Conditional metric and report filter interactions; Connection Mappings in Microstrategy;. ITtoolbox. Depending on your MicroStrategy product and licensing. CONTENTS 1. 4. These triggers do not need to be defined in advance. This is a comparison function. Step 3) Create a report using the 'Region' attribute and the metric created in Step 2. Create a metric using either definition: ApplySimple("Sum(#0)", ?Year) Or ApplySimple("Sum(#E0)", ?Year) 3. 4. The functionality of Apply functions is provided by wrapping the expression, as a string, inside a dedicated (Apply) function call. MicroStrategy functions are classified into the following types: Single-value functions (also known as Non-grouping or Scalar functions): These functions operate on each individual component of an input variable or argument, resulting in an output element for each component. For more details on enabling the setting, see Change Data Engine Version. 11K KB3905: How to use pass-through expression- ApplySimple in MicroStrategy SQL Generation Engine ApplyComparison. Why MicroStrategy Why MicroStrategy; Customer Stories; PlatformKB3905: How to use pass-through expression- ApplySimple in MicroStrategy SQL Generation Engine. Add the metric to a simple report and execute. Unfortunately this is a "decode within a decode" and isn't. This is a single-value function. ApplyComparison: where comparison operators (e. Interact with the engaged MicroStrategy Community to get answers to all your questions and collaborate for solutions. Create a new Intelligent Cube C01 using Existing objects: Catalog, Customer City, Customer Gender 3. The same logical should apply for other databases, but the syntax will need to be changed. 1 and 10. Nick. Keep the form expression unchanged. For. KB419483: How to create a comparison operator prompt and use it in an applysimple function in MicroStrategy Developer Number of Views 1. Another way to accomplish this using ApplySimple instead of ApplyComparison would be to drag the Hour attribute to. The following example will walk through how to setup an attribute form that converts a default datetime value in Microsoft SQL Server 2000 into a NULL value. 7x are listed below. MyDate =. NOTE: An enhancement request has been made to allow users to create a graph for rolling 12 months comparing current and prior year metrics without having to modify attributes by implementing ApplySimple statements. For more information on using the ApplyAgg() function, refer to the following MicroStrategy Knowledge Base documents: KB4202: How to. 3. HyperIntelligence and its Architecture. . x. Syntax. This issue can be solved in two steps using a MicroStrategy 10. The syntax used in ApplySimple is incorrect for SQL Server 2012 database. There's a reason we're at the top of the list. In this article we will discuss the ApplySimple function. When exporting a report containing an image attribute form (using an ApplySimple statement) to PDF in MicroStrategy Web 9. CAUSE: This is currently working as designed. To Define a Join Between the Columns of Two Tables. ACTION: Use Concat function instead. I have a problem and can't understand how create metrics. 4. Watch free 3-5 minutes tutorial videos, with subtitles available in 9 languages, to build product fluency! Start learning. g. Our solutions work to guide towards best practices and provide guidance to the user community. to_char (case when Date_DESC is null then to_date (`31-DEC. For example, ApplySimple ("#0 * #1", [col1], [col2]) indicates that two items, col1 and col2, referenced as #0. 9, we’ve taken a leap forward in our dashboarding capabilities by simplifying the user experience, adding storytelling, and collaboration. It is used to define compound metrics via. Try to create the metric this way: Sum (PaidAmt * Attribute Sales Year). Keep the form expression unchanged. The metric is the key component that makes the formula work because the MicroStrategy Analytical Engine was designed to make computations against objects and the subtraction of two dynamic (prompts) values divided by a physical constant (7) is not valid. ')"; [Net Weight. When exporting a report containing an image attribute form (using an ApplySimple statement) to PDF in MicroStrategy Web 9. Something like: ApplySimple("'Y'", [your metric here]). For example, using the MicroStrategy Tutorial project, users may want to calculate the number of. A metric to show the per-year average of quarterly totals must first aggregate the basic fact data at the level of quarter, then calculate the average at year level over that intermediate result. 0. If users attempt to apply a prompt. microstrategy. MicroStrategy functions are classified into the following types: Single-value functions (also known as Non-grouping or Scalar functions): These functions operate on each individual component of an input variable or argument, resulting in an output element for each component. Here MaxProfit is the max value of Profit metric across all items; Copy & paste metric “Profit” to generate metric “Profit1”;How to create a simple Transformation in MicroStrategy. MicroStrategy will continue to investigate and post updates as soon as they are available. . 9, we’ve taken a leap forward in our dashboarding capabilities by simplifying the user experience, adding storytelling, and collaboration. Examples of this category are simple mathematical. com) In the popup that opens, select ODBC. Click New. For the example above, the Count metric should use Null for the ELSE statement so not to count anything when #0 meets the condition. MicroStrategy parser doesnt recognize NULL as a key word for null value. This is true whether the null checking is written into the metric formula using the MicroStrategy function NullToZero(My_Fact), or using a database pass-through function such as ApplySimple("NVL(#0, 0)", My_Fact) for Oracle. x. ) can be used. Example 3: ApplySimple ApplySimple ("Datediff (YY,#0,getdate ())", [BIRTH_DATE]) The attribute form, Age, can be defined by using the single-value function, ApplySimple. How to create fact that does not get rounded up when calculated with MicroStrategy Developer 9. Use ApplySimple in the form expression and change the date format to yyyy-mm-dd. The prompt "Choose from all elements of 'Category'" is also placed into the report. See moreApplySimple is a function that allows users to send direct input to the warehouse without any assumption or special handling of what is inside the custom SQL by MicroStrategy. x . If the precision is needed to be displayed on a report, a workaround is possible by casting the DATETIME data type to a VARCHAR data type. Consolidations and custom groups are two special reporting features that enable user to surpass basic reporting functionality. For reference, refer to the Snowflake release notes. An example of this behavior is as follows:Try using some of the date functions that are now available in 8. Relate tables store information about the relationship between two attributes when one a parent of the other or vice-versa. When exporting a report containing an image attribute form (using an ApplySimple statement) to PDF in MicroStrategy Web 9. Relate tables contain the ID columns of two or more attributes, which will define associations between them. Victoria is experiencing low interest rates too. The database instance is created. 1. When exporting a report containing an image attribute form (using an ApplySimple statement) to PDF in MicroStrategy Web 9. Concat is often used to combine related values, such as a first and last name. When exporting a report containing an image attribute form (using an ApplySimple statement) to PDF in MicroStrategy Web 9. 4. For more information on creating an applysimple, refer to MicroStrategy Knowledge Base document, KB5700-007-0113 - How to implement attribute form expression using Apply Functions in MicroStrategy Desktop. KB36904: ApplySimple statement is trying to calculate in the Analytical Engine in MicroStrategy Developer 10. This filter must be applied in the final pass to find the correct store-region relationship, even though the final pass is a normal join instead of a downward join. As shown below, for a specific report, the 'Group By ID Attribute' VLDB property is set to 'Group by column' instead of 'Group by expression' to avoid using an ApplySimple. To provide a reasonable level of generality, the feature is based on a 'pattern and arguments' scheme. But since the length of the month ranges between 28-31 days it. While MicroStrategy Developer 9. to MicroStrategy Experts. ACTION: Contact MicroStrategy Technical support for an update of this. Depending on your MicroStrategy product and licensing. g. x, with the Intelligence Server running on Linux, the image in the exported PDF report appears as a. 00" format. In threshold, use the condition as "Region_Test where DESC Exactly EMPTY", then threshold will be applied to those elements whose DESC is a space. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. In this article we will discuss the ApplySimple function. There are five predefined Apply functions, each belonging to a different function type - ApplySimple, ApplyAgg, ApplyOLAP, ApplyComparison, ApplyLogical. Microstrategy Caches Improving Response Time: Caching A cache is a result set that is stored on a system to improve response time in future requests. This is a group-value function. x adn 10. "mahendra_patel via microstrategy-l" 07/07/2006 11:19 Favor responder a microstrategy-l@Groups. for each successive object passed. CONTENTS 1. 1 and 10. Select any project that is in the project source that contains the users and groups and click Next. The 'Group By ID Attribute' VLDB property is not applied in a MicroStrategy Desktop 8. In Microstrategy Developer, create a new attribute by navigating to File > New > Attribute. Enter a title and a description for the prompt. 4. The ability to define object relationships and then allow MicroStrategy to generate all of the appropriate SQL as you manipulate and drill is the core of the product. Data files can be published as either an In-Memory Cube or a Live Connect Cube. arithmetic operators) can be used. This allows you to use MicroStrategy's built-in functions in your qualification. Community & Support Search Discussions Open A Case View My CasesTo create the MDSecurity filter, users can either populate the new MDSecurity filter with the definition of an existing filter or define the BottomLevel, TopLevel and Expression properties. The following steps can be used to concatenate two attribute forms. The ApplySimple function is used with simple operators and functions. KB484697: How to use the ApplyX function without the "Use FreeForm SQL Report" privilege. &[cbecker] The ApplySimple string can build this ID by using a placeholder where the user login should appear:This article covers how to use passthrough expressions to write custom SQL inside of MicroStrategy. In the sample cube here, the native IDs from the cube does contain the login: [MSTR User]. Click New. Always be aware of the latest driver version. 9, we’ve taken a leap forward in our dashboarding capabilities by simplifying the user experience, adding storytelling, and collaboration. Microstrategy Dossiers With the release of MicroStrategy 10. Single-family homes make up a large proportion of the market, but Greater Victoria also has a number of high-end luxury properties. Some customers may need to use the Oracle provided JDBC in lieu of MicroStrategy shipped ODBC driver to connect to Oracle database. Details: MicroStrategy supports both Azure AD and Okta Authentication with Snowflake. RE: DateTime to Month formatConcat (Concatenate) The Concat function combines two or more input strings into one continuous string and returns the result. Case. STEPS TO REPRODUCE: 1 - In the MicroStrategy Tutorial project create a new attribute form in the Category attribute with the following expression:For example, in the MicroStrategy Tutorial project, for the 'Month' attribute, instead of seeing the description as 'September 2007, users might prefer to see 'Sep'. The types of arguments determine how the parameter markers inside the pattern are replaced. x or you can always use an applysimple to pass the Oracle functions in natively. Select a prompt style and click on 'OK'. 2. This article covers how to use passthrough expressions to write custom SQL inside of MicroStrategy. Thus, if a Dynamic Date is created based on today&apos;s date, in order to get &apos;Last Month&apos; a specific number of days can be subtracted from the date. In the Database Logins dialog, enter your login credentials. The Apply function types are listed below, along with examples of the MicroStrategy functions that they can replace: ApplySimple: Simple single-value functions, including arithmetic operators such as + and -, date and string manipulation functions, and so on; ApplyAgg: Group-value (otherwise known as aggregate) functions such as Sum and MaxApply functions provide access to functionality that is not standard in MicroStrategy, but is available in the relational database. Here is the workaround to achieve the attribute left outer join on MicroStrategy Web. MSTR has evolved. From the MicroStrategy Developer File menu, point to New > Attribute. You can use the AppleSimple function to insert database-specific functions and simple operators directly into SQL. Join. 4. x-10. Step 4) When users execute the report, they will notice that the 'ApplySimple' is ignore resulting in just the Metric Alias. MicroStrategy supports any UDF defined on Teradata through the use of pass-through functions, such as ApplySimple. ApplySimple: Simple single-value functions, including arithmetic operators such as + and -, date and string manipulation functions, and so on ApplyAgg: Group-value (otherwise. How to calculate data of time date type (HH:MM:SS) in Microsoft SQL Server using MicroStrategy Developer 9. Click OK in all three dialogs (Login, Connection, and Database Instance). The ApplySimple statements given above are ORACLE Specific. The prompt may be used in the ApplySimple function, and will be substituted at runtime. 1. MicroStrategy, Inc. The Code Editor tab should be open. When exporting a report containing an image attribute form (using an ApplySimple statement) to PDF in MicroStrategy Web 9. mstrc, please open a Notepad or Notepad++. ", Arg1, Arg2). g. Environment: Microstrategy. The MicroStrategy Analytical Engine does not calculate date and time functions. ApplySimple("CONVERT(VARCHAR(23), #0, 121)",[Column1] )symbol. MSTR has evolved. 4. Right-click on the metric header to apply the condition or threshold and select 'Alerts': Specify the conditions to meet for the delivery to be triggered in the filter editor: Expand the Delivery Settings section. This can be accomplished using a combination of ApplySimple() and ApplyAgg() functions at the Fact and Metric definitions, respectively. Depending on your MicroStrategy product and licensing, this function may not be available.