how to get full outer join in microstrategy. Setting a join specification allows you to place conditions on the data selected for display in a report. how to get full outer join in microstrategy

 
Setting a join specification allows you to place conditions on the data selected for display in a reporthow to get full outer join in microstrategy  LEFT OUTER JOIN

Modify the VLDB property you want to change. You have the following options: Disable optimization to remove repeated tables in full outer join and left outer join passes: The optimization for outer join processing is disabled. Instead of listing all columns in the SELECT clause, we just used the asterisk (*) to save some typing. The . This is because they are only necessary. The following descriptions use an example of a report containing the Region attribute, the Sales metric, and the Budget metric: By default, inner joins are generated for all metrics in a report. Pre/Post Statements Drop Database Connection=Do not drop database connection after running user defined SQL [when using pre/post SQL] Query Optimization In this situation a full outer join is done between the two tables to get a full set of elements of the year_ID attribute . 58K. Go to Data > VLDB Properties. This section focuses on the VLDB properties that are set at the metric and report level. id GROUP BY first_name, last_name; Explanation: This is an example of using FULL JOIN as well as joining more than two tables. Attribute to Join When Key From Neither Side can be Supported by the Other Side. In MicroStrategy SDK 9. Do the same with Response. item_key. After the project information is. Interaction with Other VLDB Properties. Do you first pass and left outer (or Right or full, which ever floats your boat) to the second pass on the one column that you want. There are 2 rows in the Forecast table that have the same combination of Model, Month, Country, rows with ID 2 and 3: Why MicroStrategy Why MicroStrategy; Customer Stories; Platform As a result, the metrics' join types fall back to the project default, which is inner join for MicroStrategy Tutorial. Some report metrics use outer join, and others use inner join: This case is currently not subject to Global Optimization level 3 or 4. With MicroStrategy Web, business users perform any of or all the major styles of BI - Scorecards and Dashboards, Enterprise Reporting, OLAP Analysis, Predictive Analysis, and Alerts and Proactive Notification - within a single, unified Web interface. VLDB Properties. For information on how to display this property, see Viewing and Changing Advanced VLDB Properties. In this case, Promotion has a many-to-many relationship to both Item and Quarter. Assuming you're joining on columns with no duplicates, which is a very common case: An inner join of A and B gives the result of A intersect B, i. CREATE TEMPORARY TABLE. An inner join is created and a line representing the join appears in the Query Builder pane, running. Preserve All Final Pass Result Elements. Move the new Modified New Dossier back to the original location. STEPS TO REPRODUCE: Create a custom group with two rows, region in Canada and region in center; This document describes how to use the Logical View feature introduced in MicroStrategy to specify an outer join between two attribute lookup tables when only attributes are on a report. Controls whether tables are joined only on the common keys or on all common columns for each table. 4. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. There's a reason we're at the top of the list. There's a reason we're at the top of the list. Left outer join for attribute is unavailable in Developer. The MicroStrategy product has been built from the ground up to focus on metrics and analysis of aggregated and calculated values. This video demonstrates how to create custom SQL filters in MicroStrategy. In short, an inner join includes only data that is common to all components of the join. The following examples explain this in more detail. RIGHT OUTER JOIN. However, this results in poorer performance with a. 52K KB440718: Aggregate from base derived metric with an attribute to ignore filter does not get ignored in. How to use an outer join to retrieve data when a metric on the report has a condition that is mutually exclusive with the report filter in MicroStrategy 10. Open MicroStrategy Developer. Downward Outer Join Option is an advanced property that is hidden by default. Each basket stores zero or more fruits and each fruit can be stored in zero or one basket. iolaper (MIS) (OP)However, for XPS, it is by default a left outer join. This is an identified defect in MicroStrategy Web 10. x. SQL FULL OUTER JOIN example: In this example, the clause returns all rows from both the customers and orders tables. The SQL Engine makes three SQL passes: KB11125: How to control the join order of metrics in the final pass when using the "Do not do downward outer join" VLDB se… Number of Views 9. name, Price. However, if you go to DB instance > VLDB Setting > Joins > Full Outer Join Support, you will find that by default “No Support” is selected. Rerun the report and it should bring back all the data you need. Steps to reproduce This example uses the MicroStrategy Tutorial warehouse that is shipped with MicroStrategy. The subsets you separate your business data into are called pages, and you then page your way through the report, viewing one data subset at a time. x. Full outer join. For information on how to display this property, see Viewing and Changing Advanced VLDB Properties. If you created two facts with the condition inside than you don't need the conditional metrics and the outer join –This article describes how SQL Global Optimization handles inner versus outer joins between metrics in MicroStrategy. This issue has been addressed starting in MicroStrategy 9. x, and thus there is no GUID. x. Options for the VLDB property, Attribute to Join When Key From Neither Side can be Supported by the Other Side, can no longer be selected once you upgrade your data engine version to 2021. Community & Support Search Discussions Open A Case View My Cases The problem with your query isn't the use of COALESCE, but simply with the JOIN. Full outer join/full join; Cross join/cartesian product; You can also perform a “self join”, and use equijoins and non-equijoins, which I’ll explain later in the guide. Joint child relationships are really another type of many-to-many relationship where one attribute has a many-to-many relationship to two otherwise unrelated attributes. Two attributes: Parent01 and Child01 have a parent-child relationship. Select the join type to use from the following options: A default join uses the joins already defined in each element of the compound metric. This will help authors of dossiers embed workflows that provide consumers with options for guided analyses. NOTE: The aforementioned document and the example in this document use the logical view feature introduced in MicroStrategy 8. Community & Support Search Discussions Open A Case View My CasesHow to use an outer join to retrieve data when a metric on the report has a condition that is mutually exclusive with the report filter in MicroStrategy 10. APPEND / UNION merges records from similar columns and removes duplicates. ago. When VLDB settings are configured at the report level to allow for an outer join to the lookup table in MicroStrategy Developer, the SQL does not show an outer join. In the future, please include the complete table definition in your questions (the CREATE TABLE part). You can right-click the line representing the join and select one of the four join types described above to modify the join type. mstr file is a zipped file of object definition package and cube files. You can define joins between columns on the Import from Tables dialog while building a query for importing your data. Inner Join : When the inner join is used, it considers only those attributes that we want to match both the table and, if anything that doesn’t, wouldn’t be included in our result table. ( How?) Expand Database instances. Use default inherited value. key, len (little. This article is to introduce a workaround to achieve the attribute left outer join on MicroStrategy Web. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. To see rankings for only the attribute elements which were filtered on (the first 5 elements), remove the 'Max of 1' and 'Rank Revenue' metrics as shown below. Scenario 2. x releases, and the new Multi-table Data Import (MTDI) cubes. INNER JOIN. 0. contacttypeid where b. However, in the third pass, when combining the results from the first two passes to generate data for Unit Sales, a full outer join between pass 1 and 2 is performed. CustomerName, Orders. This article describes how to create an outer join between two attributes. To pick up the fix, upgrade to MicroStrategy 2021 or above and enable project level setting "Data Engine Version" to 2021 or above. This video also has a a brief discussion about how to create advanced filters as joint. In the MicroStrategy Tutorial, a report with the Subcategory attribute and the Freight and Discount metrics generates the following SQL (using Microsoft SQL Server): select a13. x A report defined as shown below returns no data in Microstrategy 10. num = y. Starting MicroStrategy 11. Prepare Data. Our solutions work to guide towards best practices and provide guidance to the user community. Levels at Which You Can Set This . Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. In Menu Data / Data Options / Calculations / attribute – join method can be adjusted, although, as the connection is to be made between the attributes, but these settings will lead to a difficult. GROUP BY. key) ) = little. Extra SQL passes are generated when the metric join type is set to Outer Join and SQL Global Optimization is set to Level 4 in a report, we will remove the extra SQL passes to improve performance. Business users move seamlessly between all five styles of BI and even combine multiple styles. The following examples show how datasets are joined. SYMPTOM. Make sure that this attribute is stored at the specific level in the Fact table which you want to join. e. The concept is simple. x-10. Execute a report. Full Outer Join Support = Outer-Join . Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. The Cartesian Join Governing setting is available under Joins. Use default inherited value. Prefix, QuantityofLicensesPurchased, (QuantityofLicensesInstalled. It is dynamically created when a new report is created in MicroStrategy MicroStrategy Developer 9. The join type for all metrics on the Report is set to "Outer". Users can switch the table order to achieve the same variation of outer joins (right and full outer join). The major JOIN types include Inner, Left Outer, Right Outer, Cross JOINS etc. UNPIVOT. Join 89 was the earlier standard wherein the joins are performed in the WHERE clause. Great idea, but does not work! From a no apparent reason, no metric dimensioned in MicroStrategy can be “conducting”, ie standing in a LEFT OUTER JOIN on the left side. In this video I discuss when to use joint element lists in MicroStrategy and demonstrate how to create them. x, a metric's join type is defined by a property called 'Metric Join Type' within the 'VLDB Select' property set. To do so just go to Menu Data -> Report Data Options and change the Metric Join type for the report where you. You want to place metrics on the report and make the join types Outer Join. Select Right Outer Join to include all records from the column in the second table and only those records from the column in the first table in which the join condition is satisfied. x, once a custom group and a level metric are add into a report, though you enable join type to outer join, null value still can’t been seen. MicroStrategy Engine provides the capability to switch the order of. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. id = t2. This document explains how to join tables in MicroStrategy Architect where the attribute ID columns are named differently (also known as heterogeneous column support) by creating an attribute that can join on columns from different tables with different names (heterogeneous column joining). If the parent report is configured, under Report Data Options > Attribute Join Type, to preserve all lookup table elements joined to the final result table, then the target report will also preserve lookup table elements. Scenario 2. The following VLDB settings will enable. By default, MicroStrategy will use FULL OUTER JOIN when needed because in SAP HANA, queries that perform full outer joins between several tables perform better than when the Full Outer Join VLDB setting is set to No Support where the SQL Engine will generate SQL. FROM t1 FULL OUTER JOIN t2 ON t1. Open MicroStrategy Web. [CATEGORY_ID])) To be able to view all elements of category, including those from the metric pass that are not present in the Category lookup, the SQL statement needs a left outer join clause. the outer parts of a Venn diagram union. x. In their own words, “MicroStrategy is the largest independent publicly traded business intelligence (BI) company, with the leading enterprise analytics platform. MicroStrategy - Dynamic Attribute with join. Full Outer Join Support is an advanced property that is. For this reason, two additional options are provided: Do not do downward outer join for. Taking the report above as an example, when the grouping for the "Products" user hierarchy is set to "standard", the SQL for the report is as. Create a metric out of the 3 columns you mentioned and outer join them. The MicroStrategy SQL Generation Engine does not support. Select "Data" within the top bar of the cube/dataset editor >> Report Data Options >> Metric Join Type. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. . SYMPTOM: This document first explains a particular situation in which an outer join between lookup tables is needed. On the duplicated visualization, go to Metric Options and change outer join for both the metrics to be inner join. A ORDER BY table_A. x, once a custom group and a level metric are add into a report, though you enable join type to outer join, null value still can’t been seen. 0. inner join [LU_CATEGORY] a12 on (pa11. The table below summarizes the advanced settings. This article describes how to create an outer join between two attributes. This is appropriate if the metric should be outer joined in every circumstance. This defect is addressed in MicroStrategy 11. The strength of NSS lies in its outstanding model. N FROM table_A FULL OUTER JOIN table_B ON table_A. id = p. 2. 0 MicroStrategy releases. However, Empty Report is not an object that exists in the metadata. Steps to Reproduce This procedure is using the MicroStrategy Tutorial warehouse that is shipped with MicroStrategy. Perform the steps in this article to change the metric join type from the product default (Inner) to Outer for all reports in the project. The join type places conditions on the data to be displayed in the report. doc_id (+) For this what shoud i do any setting or any. To add another cube, repeat Steps 4 and 5. Solution: This issue has been addressed in MicroStrategy 2021. The properties are saved in different folders, as indicated in the previous list. FULL [OUTER] JOIN without the intersection. I want to query so I can get the SERVICE_TYPE_TEXT from the first table that matches the ID given in the second. By selecting this option, the Join Type VLDB property is assumed to be Join 92 and any other setting in Join Type is ignored. For example, here are three tables in warehouse. Rows containing values for inner join metrics but not the outer join metric are dropped. 9. Why MicroStrategy Why MicroStrategy; Customer Stories; PlatformSo the existence of GODWFLAG is expected as metric A and B are not independent from each other though they are all outer join metrics. Full Outer Join Mismatching. Customer,a. num. Starting in MicroStrategy 10. Our vision is to enable Intelligence Everywhere. 4. column_name = table2. Inner and outer joins are discussed with examples. SYMPTOM: If a report contains multiple metrics and more than one of the metrics has a join type of 'outer,' the MicroStrategy SQL Generation Engine 9. So i get only those records which are present in phonecall table and not all the combinations present in the contacttype. Its not about Outer join between passes. It’s because the Engine will do full outer join on the template Attributes when the Metric is defined on Attribute. left outer join phonecall b on a. In our MicroStrategy 9. item_key. x:The report returns the following: Notice in the screen shot above that the Data for Project B is missing. Drag the column from the first table onto the column from the second table. There's a reason we're at the top of the list. Cross Join; Cross Join combines every row from the left table with. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. Steps are as below. •. Watch free 3-5 minutes tutorial videos, with subtitles available in 9 languages, to build product fluency! Start learning. Download the above emp_deptname. Select Support. ( How?) Expand Database instances. To understand Downward Outer Join, consider the following report that contains the attribute Store and two metrics, Sales Per Store (M1). On the duplicated visualization, go to Metric Options and change outer join for both the metrics to be inner join. CREATE TABLE fruits ( fruit_id INTEGER PRIMARY KEY , fruit_name. We use MicroStrategy Tutorial objects: Add External Data > Databases > Select Tables. Select the Cube and click OK. For information on how to display this property, see Viewing and Changing Advanced VLDB Properties. The sql statement for this metric is shown below. STEPS TO REPRODUCE Connect a Snowflake database instance to Microstrategy. c2 FULL OUTER JOIN t3 ON COALESCE(t2. There's a reason we're at the top of the list. You can modify the join expression in one of two ways: Simple expression: This is the default. Change the Metric join type of the Revenue metric to Outer join in the Report Data Options, as shown below: The report should appear as shown below. For example, in the MicroStrategy Tutorial project, the user creates the following objects: Metric : Sum (Revenue). PRIME stands for Parallel Relational In-Memory Engine, and it engulfs two types of in-memory cubes: OLAP cubes, or the traditional Intelligent Cubes that have existed since 9. Create a metric out of the 3 columns you mentioned and outer join them. For attributes, the default join type is Outer Join. For example, if a report showing your profit data is. id. MicroStrategy uses different defaults for the join type based on the database you are using. To pick up the fix, upgrade to MicroStrategy 2021 or above and enable project level setting "Data Engine Version" to 2021 or above. An inner join includes only the data shared by all elements (the intersection of data). 7. Choose File > New > Intelligent Cube. The Full Outer Join Support setting specifies if the database platform supports full outer join syntax. Upload FilesOr drop files. • Other pages within the. Downward Outer Join Option. No support. To be more specific the product creates a metric dataset for the join between datasets and then outer joins that to the. There's a reason we're at the top of the list. If you turn it to “Support” and restart iserver, then the Derived Tables work in a report that has metrics with outer-joins. RE. 4. As shown in the example above, all data for cost is aggregated together and shown for every row of a category. SQL FULL OUTER JOIN examples. With related attributes however the amount of. I am simulated the problem in Microstrategy Tutorial. In terms of join behavior this means the setting applies to metric joins between datasets. Here the filtered attributes are lost because of the outer join and all the years are shown on the report, but the metric is only calculated for 1997. Description Starting from MicroStrategy 10. All rows of the intermediate table are preserved. We will use the employees and departments. Full outer join: Performs a full outer join on the columns. Select VLDB Properties from the Data menu to access the VLDB Properties (Report) dialog box. The Full Outer Join Support interface opens. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. so_no, b. Limitations: With Join 89, a table could not be outer-joined to more than one other table. However, Full outer join is not supported when Join Type = 89, so the SQL is generated as inner join when Full outer join type = Yes. You can define joins between columns on the Import from Tables dialog while building a query for importing your data. Step 2) Loading and Displaying Data. A SQL statement joins back to the lookup table when using a logical view to create an outer join between attributes in MicroStrategy SQL Generation Engine. In LEFT OUTER JOIN, all the values of the columns you select from the left table will be included in the result of the query, so regardless of the value matches the join condition or not, it will be included in. Full Outer Join . Starting in MicroStrategy 11. Description The . Drag the column from the first table onto the column from the second table. Join common key on both sides. Support, which assumes that the Join Type VLDB setting is Join 92; any other value in Join Type is ignored. Linked attributes appear with a Link icon in the Datasets panel. This property may have two possible values: 0 for inner join and 1 for outer join. Plus, it connects business apps while integrating data. Make sure that this attribute is stored at the specific level in the Fact table which you. The first pass calculates Sales; the second pass calculates Item Sold. No PostgreSQL specific customizations were made for this feature. Example. calldate='2004-08-24 10:29:42. CountryID is a whole number value that represents the unique identifier from the Countries table. Full Outer Join Support is an advanced property that is hidden by default. First develop a query that gets you as. The following SQL statement selects all customers, and all orders: Note: The FULL OUTER JOIN keyword returns all matching records from both tables whether the other table matches or not. Perform a left outer join first to keep all attribute elements at the Store, Day, and Item level, then aggregate the data to the Store and Month level. The join types for a metric base formula are as follows: A default join is a join that is. This article addresses a case which fails with a cross join when an unrelated filter is applied. How to use an outer join to retrieve data when a metric on the report has a condition that is mutually exclusive with the report filter in MicroStrategy 10. Create three reports named A (with attribute A), A&B (with attribute A and B),A&C (with attribute A and C) Create a dashboard based on. When MicroStrategy SQL Generation Engine tries to identify the common key to join the tables in the final pass, the mismatch between the keys causes the Engine to join on only one attribute (Customer City). (For information on object levels, see Order of Precedence . When the metric join type is set to Outer Join and the SQL Global Optimization is set to Level 4, extra SQL passes are generated. Sorted by: 2. a=table_b. A. There's a reason we're at the top of the list. To Define a Join Between the Columns of Two Tables. You can define joins between columns on the Import from Tables dialog while building a query for importing your data. Reports with custom groups - Custom groups that use advanced logic, such as ranking or banding. Attribute to Join When Key From Neither Side can be Supported by the Other Side. c3. There's a reason we're at the top of the list. The setting can be found under the Advanced tab. SYMPTOM. 1. 11 and earlier releases. ShelfNo = Department. The purpose is to show how a filter can be manipulated to give the developer full access over the where clause generated by MicroStrategy's SQL engine. id) AS vinyl_count FROM customer c FULL JOIN purchase p ON c. By default all the attributes are outer join in report data option. When you specify a table to join with a fact, you are creating a table relation to extend a fact. Go to Metric Options again and note that the metric join still says Outer Join. For metrics, the default join type is the inner join. Check Query DetailsThis document describes how to use the Logical View feature introduced in MicroStrategy to specify an outer join between two attribute lookup tables when only attributes are on a report. M,table_b. For these databases, MicroStrategy implements a technique of analyzing each metric's result pass to obtain all the distinct attribute elements that are required to preserve the rows. In MicroStrategy Agent, go to Schema Objects. doc_id = b. Set the visualization "Join Behavior" for "All Attributes" to "Outer Join - Preserve Filter" 7. By default, MicroStrategy generates multi-pass SQL using derived tables with Teradata 12 (and higher). All report metrics use outer join: No flags are generated. An inner join is created and a line representing the join appears in the Query Builder pane, running. FULL OUTER JOIN Orders ON Customers. Join common key on both sides. 4. A newer version of MicroStrategy Workstation is already installed. A simple idea would be to modify the metric by means of dimensionality, namely, the LEFT OUTER JOIN attributes with the setting ignore add / None. x: The report returns the following: Notice in the screen shot above that the Data for Project B is missing. Data can come from any source accessible by Microstrategy 8, including the data warehouse, data. 7). SQL Join statement is used to combine data or rows from two or more tables based on a common field between them. 1. To Display the Advanced Properties. VLDB properties allow you to customize the SQL that MicroStrategy generates. MicroStrategy’s in-memory cube technology has been generally referred to as PRIME cubes since 10. Description. e Filtering = None and Grouping = none whenever needed to join a specific fact table. 0. Great idea, but does not work! From a no apparent reason, no metric dimensioned in MicroStrategy can be “conducting”, ie standing in a LEFT OUTER JOIN on the left side. Default Value. 0 SP2 supports FULL OUTER JOIN syntax between tables in the FROM clause. In order to resolve this issue using MicroStrategy, I enabled the VLDB property- ‘Cartesian Join Warning’ to ‘Execute’. The date restriction is in the Where-clause which limits the output to customers with orders only. CAUSE This is a known issue in MicroStrategy 10. For this example, assume we have a order_fact table has two dates, order_date and ship_date and an invoice_fact table with two dates invoice_date and actual_ship_date. The Additional Final Pass Option determines whether the Engine calculates an aggregation function and a join in a single pass or in. For more details on enabling the setting, refer to Change Data Engine Version After the fix, metric outer join works and data returns. The Full Outer Join Support property specifies whether the database platform supports full outer join syntax: 9. Database instance, report. HAVING. The options on the top become active. SAP HANA 1. In the right corner of the dashboard,. SUBCAT_ID SUBCAT_ID, Certain databases do not allow a full outer join to be written into a SQL statement's FROM clause using SQL-92 syntax. Share. In the right corner of the dashboard, change the. CAUSE. The results are used to left outer join all secondary datasets. 0 SP2 supports FULL OUTER JOIN syntax between tables in the FROM clause. Create three reports named A (with attribute A), A&B (with attribute A and B),A&C (with attribute A and C) Create a dashboard based on the three reports created in last step. When writing queries with our server LIKE or INSTR (or CHARINDEX in T-SQL) takes too long, so we use LEFT like in the following structure: select * from little left join big on left ( big. Invalid SQL is generated when level metrics are outer joined to non level metrics in MicroStrategy 10. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. A fact extension can be used to relate a fact to an attribute using a fact table. Description. This can be done with a union of the IDs of the multiple intermediate tables that need to do an outer join and then using the union table to left outer join to all intermediate tables, so this approach generates more passes. Why MicroStrategy Why MicroStrategy; Customer Stories; PlatformThe SQL Engine generates an inner join on all passes except the final pass, which uses an outer join. 4. itemkey = sub. CUSTOMER_ID (+); Now, I have created an attribute called customer Id at MSTR and defined the join (Through checking the box). Hi, I have the following query in microstrategy report . INSERT. No support. When the metric join type is set to Outer Join and the SQL Global Optimization is set to Level 4, extra SQL passes are generated. For example, consider the relationship between three attributes: Promotion, Item, and Quarter. However, if the Full Outer Join Support is NO, then the left outer join is used to simulate a full outer join. In the case of SQL Server database instance, the intermediate passes will store the data into true temporary tables, as stated by the "Tables -> Intermediate Table Type" VLDB option. [CATEGORY_ID] = a12. Sub queries. To fully leverage Teradata for analytical SQL requests, the Teradata DSN configuration should be. SELECT select_list FROM T1 FULL JOIN T2 ON join_predicate; Code language: SQL (Structured Query Language) (sql) In this syntax: First, specify the left table T1 in the FROM clause. This article is to introduce a workaround to achieve the attribute left outer join on MicroStrategy Web. For these databases, MicroStrategy implements a technique of analyzing each metric's result pass to obtain all the distinct attribute elements that are required to preserve the rows. In MicroStrategy 10. x. Navigate to the Intelligent Cube (Cube B) you want to add. UNION. The Full Outer Join Support setting specifies if the database platform supports full outer join syntax. If Full Outer Join Support = Yes, the workflow of SQL Engine is as below: Generate the SQL as inner join. 0 for databases that do not support Full Outer Joins. Things you can do to use MicroStrategy with your tables: Create a logical table in MicroStrategy (or a view on your database) like: select Itemkey,. In MicroStrategy Analytics Developer 9. 9. NATURAL JOIN. CUSTOMER.