How to get full outer join in microstrategy. Create a metric out of the 3 columns you mentioned and outer join them. How to get full outer join in microstrategy

 
 Create a metric out of the 3 columns you mentioned and outer join themHow to get full outer join in microstrategy  RIGHT (OUTER) JOIN: Returns all records from the right table, and the matched records from the left table

Create three attributes named A, B, C, and after them added in a report in Developer, no data returns, as showed below. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. Two attributes: Parent01 and Child01 have a parent-child relationship. The Full Outer Join Support setting specifies if the database platform supports full outer join syntax. An outer join means return all rows from one table. A,table_a. Procedure: Right-click on the Project name and select Project Configuration. In order to resolve this issue using MicroStrategy, I enabled the VLDB property- ‘Cartesian Join Warning’ to ‘Execute’. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. Modify the VLDB property you want to change. Creating a. num = y. Use the Advanced Settings dialog to customize the SQL that MicroStrategy generates and determine how data is processed by the Analytical Engine. The SQL you get will be:Syntax : SELECT column_name (s) FROM table1 RIGHT JOIN table2 ON table1. Cube Subsetting Instruction (CSI) Steps to Reproduce. x, a metric's join type is defined by a property called 'Metric Join Type' within the 'VLDB Select' property set. Description The . I have one table with a column ID and SERVICE_TYPE_TEXT, and another table with columns. e. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. Maybe try running one report each with each metric and making sure that there really are valuse that you are missing. Instead, it creates two passes of SQL and creates all SQL correctly except without an outer join to the lookup table in the final pass. The graphics for each type of join are based on two tables, like this: Inner Join. To support this capability, the Analytical Engine behavior with respect to join data from multiple datasets has an option to control the join behavior between datasets known as 'Join Behavior'. Full outer join. Full Outer Join Support = Outer-Join . CustomerName, Orders. This will be your lookup table for your Item attribute. Perform the data aggregation first, then perform a left outer join to bring in all attribute elements. This property only takes effect if the metric formula contains facts from different fact tables. The sample source tables for this example are: Sales: This table includes the fields Date, CountryID, and Units. The table now appears in bold as shown below. In the right corner of the dashboard, change. 1. SYMPTOM: A user wishes to perform another level of aggregation on the results of a compound metric. 1 MicroStrategy wants to have a Dimensional model (forget about left join) and you need to explode slowly changing dimensions like your price table. MicroStrategy Intelligence Server uses an ODBC Call (SQLDescribeCol) to determine the proper resources to allocate for the query results for VARCHAR columns this will lead to performance degradation. Query Details also explains that the Attribute Outer Join is correctly applied, in blue below. x. txt. Inner and outer joins are discussed with examples. Join queries. To Define a Join Between the Columns of Two Tables. Each basket stores zero or more fruits and each fruit can be stored in zero or one basket. That will help people help you. This article is to introduce a workaround to achieve the attribute left outer join on MicroStrategy Web. item_key. id UNION SELECT * FROM t1 RIGHT JOIN t2 ON t1. As clearly shown in the output, the second and third rows share the same rank because they have the same value. x. CAUSE: In the example above, the final pass compares End_id of Temptable1 and End_id of Temptable2. A. The object Type is listed as Super Cube: This can also be seen when editing or authoring a dossier. However, enabling full outer join support for specific reports is recommended if full outer joins are only used for a small to moderate amount of reporting needs. OUTER JOIN . Null values for attribute IDs are not supported in MicroStrategy nor can outer joins be performed on attribute IDs. Inner and outer joins are discussed with examples. x. The following VLDB settings will enable. KB14540: Result rows are omitted when using full outer join support in MicroStrategy SQL Generation Engine 9. Here is a sample SQL: SQL BEFORE 11. ) From the Tools menu, select Show Advanced Settings. Click OK. The . 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. 0 SP2 supports FULL OUTER JOIN syntax between tables in the FROM clause. iolaper (MIS) (OP) However, for XPS, it is by default a left outer join. column_name = table2. Normal join In normal join, only matching rows are returned from both the sources. I want to query so I can get the SERVICE_TYPE_TEXT from the first table that matches the ID given in the second. If you turn it to “Support” and restart iserver, then the Derived Tables work in a report that has metrics with outer-joins. Rows containing values for inner join metrics but not the outer join metric are dropped. A FULL JOIN returns unmatched rows from both tables as well as the overlap between them. Steps to Reproduce This procedure is using the MicroStrategy Tutorial warehouse that is shipped with MicroStrategy. doc_id I want to use left outer join in the above query as select a. Cross joins are seen in metrics when joining across unrelated attributes inside of data blending. You can define joins between columns on the Import from Tables dialog while building a query for importing your data. doc_id = b. Inner Join is further divided into three subtypes: 1) Theta join 2) Natural join 3) EQUI join. 9. The Full Outer Join Support setting specifies if the database platform supports full outer join syntax. KB441377: Full Outer Join Optimization implemented in MicroStrategy 11. The Metric Formula Join Type dialog box opens. Full outer join: Performs a full outer join on the columns. select a11. SQL FULL OUTER JOIN examples. Join Base Table Join for Template = Use Fact Table . Join common key on both sides. 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. Full Outer Join using Union clause. There's a reason we're at the top of the list. 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. c3. thread395-807711. 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. 7. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. In MicroStrategy Analytics Developer 9. If Full Outer Join Support = Yes, the workflow of SQL Engine is as below: Generate the SQL as inner join. There's a reason we're at the top of the list. There's a reason we're at the top of the list. c2,t1. The MicroStrategy SQL Engine applies the designated join type to the data pulled from your data source's tables. 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 EngineThere's a reason we're at the top of the list. My report will have these two. (UNION ALL keeps duplicates) 2. 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. Example. 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. Too bad!Syntax for full outer join: Note:here table1 and table2 are the name of the tables participating in joining and column_name is the column of the participating tables. This technical article explains a SQL change where previous full outer join syntax would be generated for databases, but the warehouse does not support full outer join syntax. In this situation the presence of Year_date on the grid limits the data to just rows that exist in table 2 which is why the year 2016 is not seen. This article describes best practices to be taken when using a Teradata database in MicroStrategy. KB310329: How to achieve attribute left outer join effect in MicroStrategy Web. SELECT. RIGHT OUTER JOIN/RIGHT JOIN. This method exists as attribute only outer joins will not be generated on their own by the MicroStrategy SQL engine. x. MicroStrategy’s in-memory cube technology has been generally referred to as PRIME cubes since 10. mstr suffix. A,table_b. Now my objective is to generate an SQL which will look like the following: select. You are not really doing a Cartesian product; you are doing an INNER JOIN. It's true that some databases recognize the OUTER keyword. In this situation the presence of Year_date on the grid limits the data to just rows that exist in table 2 which is why the year 2016 is not seen. In full outer join, all records from both the sources are returned. And I have another attribute called Address from Address table which is straightforward. zip and use 7Zip, or similar tools, to unzip it. contact The problem here is the WHERE clause makes Left outer join useless. LEFT [OUTER] JOIN without the intersection. 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. Go to Web, create a new dashboard, and check the join behavior checkbox. For information on how to display this property, see Viewing and Changing Advanced VLDB Properties. This section focuses on the VLDB properties that are set at the metric and report level. 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. I'm assuming that a16. You must have write access to the datasets you intend to link. To Define a Join Between the Columns of Two Tables. To fully leverage Teradata for analytical SQL requests, the Teradata DSN configuration should be. VLDB properties allow you to customize the SQL that MicroStrategy generates, and determine how data is processed by the Analytical Engine. 1/10. Set Operator Optimization. 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. Go to Tools and enable Show Advanced Settings. This will be your lookup table for your Item attribute. 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. The only joins supported by MicroStrategy use the = operator. UNION. Why MicroStrategy Why MicroStrategy; Customer Stories; PlatformHow to Define Join Behavior. Follow the steps below. VLDB Properties. left outer join phonecall b on a. An inner join is a standard type of join. column_name; 3. This is because they are only necessary. Some report metrics use outer join, and others use inner join: This case is currently not subject to Global Optimization level 3 or 4. The join type places conditions on the data to be displayed in the report. Theta Join allows you to merge two tables based on the condition represented by theta. This will help authors of dossiers embed workflows that provide consumers with options for guided analyses. 1. As shown in the example above, all data for cost is aggregated together and shown for every row of a category. Notice the outer join is applied, and that in the last pass of the CSI, there is a cross join between L_Category & L_Year and then "left outer join" to the Metric result. (See Example 1: Same attributes, same filter) Example 2: Same attributes with different element values. Linked attributes appear with a Link icon in the Datasets panel. 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. How do I get full outer join in Microstrategy? Support: Full outer joins are attempted when required by your report or dossier actions. JOINS can also be used in other clauses such as GROUP BY, WHERE, SUB. There's a reason we're at the top of the list. 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 . INNER JOIN. KB31133: Join conditions are omitted in the calculation of nested aggregation metrics in MicroStrategy SQL Generation Engine. This article addresses a case which fails with a cross join when an unrelated filter is applied. 0. As shown in the example above, all data for cost is aggregated together and shown for every row of a category. id = Price. Set operators are only supported by certain database platforms and with certain sub query types. many-to-many and jointing child relationships; Logical Charts Size the lightweight way to understandI want implement an outer join in Microstrategy 7. 0 for databases that do not support Full Outer Joins Number of Views 1. Step 1 – Create a new target table EMP_DEPTNAME in the database using the below script and import the table in Informatica targets. Make sure that the report filter override option is turned off. For metrics, the default join type is the inner join. Watch free 3-5 minutes tutorial videos, with subtitles available in 9 languages, to build product fluency! Start learning. Go to Metric Options again and note that the metric join still says Outer Join. 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. Our solutions work to guide towards best practices and provide guidance to the user community. You are returned to the Project Configuration Editor. Join Type for "All Attributes" is set to "Outer Join - Preserve Filter" for the Visualization. Follow the steps below. For a compound join, Intelligence Server joins the data in the datasets as described below: If the datasets have any of the same attributes, the common attribute elements are matched. EQUI JOIN; SELF JOIN; 2. When no matching rows. 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. CAUSE: In the example above, the final pass compares End_id of Temptable1 and End_id of Temptable2. x. Using MicroStrategy Developer, log in to a project connected to an MDX cube source. The first pass calculates Sales; the second pass calculates Item Sold. So i get only those records which are present in phonecall table and not all the combinations present in the contacttype. Note that if there are other metrics on the report whose report level metric join type is set to 'inner join,' the report SQL will reflect inner joins and left outer joins depending on the reporting scenario. x releases, and the new Multi-table Data Import (MTDI) cubes. If this choice is selected at attribute level, it will be treated as preserve common elements (that is, choice 1) optionA metric join setting determines how data is combined by applying a specific type of join, inner or outer. The following table lists folders and files of interest that are included in the default directory structure after an installation of Developer. VLDB properties can provide support for unique configurations. Note: To create custom expression qualifications, the advanced qualification option must be enabled in the report designer's preferences in MicroStrategy Desktop 8. doc_id (+) For this what shoud i do any setting or any. ttl_weight from rep_so a, rep_so_p1 b where a. 4. 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. Description. I understand that might only work with varying endings to the query, unlike other suggestions with '%' + b + '%', but is. 10 it is possible for users to view the query details of a visualization in a dossier. MicroStrategy provides ETL, data warehousing and data mining for data analysis. The options for this property are. There's a reason we're at the top of the list. It arbitrarily matches rows from the two tables, with no duplicates. 0 MicroStrategy releases. Levels at Which You Can Set This . 2. This article describes how out joins ignore the filter in the final pass in MicroStrategy SQL Generation Engine 10. 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. As a result, the two tables essentially are combined to create one table that has all the data from both tables. You can apply an inner or outer join, which are described in more detail below. To pick up the fix, upgrade to MicroStrategy 2021 or above and enable project level setting "Data Engine Version" to 2021 or above. Inner joins versus outer joins. Syntax: SELECT column_name FROM table1 FULL OUTER JOIN table2 ON. 1, the inherited default value for Full Outer Join Support actually changed from No to Yes. The year_date attribute from table 2 is added to the grid. from master_dimension m left outer join sub_dimension sub on m. If this is the case, then the engine must join the two tables, and this join can be an inner or an outer. Full Outer Join Support is an advanced property that is. The default join behavior will be "Use minimum relation," regardless of what the setting is set to. Login MicroStrategy Developer 2. 4K. On the duplicated visualization, go to Metric Options and change outer join for both the metrics to be inner join. There's a reason we're at the top of the list. To learn more about how the Global Optimization levels 3 and 4 handle inner and outer joins between metrics in MicroStrategy SQL Generation Engine, the below technical note can be used as reference. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. SELECT col1, col2, col3…. There's a reason we're at the top of the list. e. 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. SQL Full Outer Join. However, this results in poorer performance with a. OFFSET and FETCH. Join common key on both sides. Companies of all sizes use this platform to assess, visualise, and build dashboards. Then this might result in what you need. Drag the column from the first table onto the column from the second table. No PostgreSQL specific customizations were made for this feature. The Full Outer Join Support setting specifies if the database platform supports full outer join syntax. Having the following hierarchy: Country > Distribution Center > Calling Center > Full Outer Join Support is an advanced property that is hidden by default. This should happen only if you use the first approach. SQL Global Optimization; Metric Join Type; Steps to Reproduce. 7. New in MicroStrategy 2021 Update 4, build information windows to create contextual popups right from the authoring experience in Library. Move the new Modified New Dossier back to the original location. This method exists as attribute only outer joins will not be generated on their own by the MicroStrategy SQL engine. mstr file is actually a . However, enabling full outer join support for specific reports is recommended if full outer joins are only used for a small to moderate amount of reporting needs. A fact extension can be used to relate a fact to an attribute using a fact table. ACTIONThe downward outer join algorithm introduces a cost, in terms of performance and an inflated number of result rows, in exchange for improved data reliability. This is an identified defect in MicroStrategy Web 10. In the last pass, an outer join is performed against the OL (Outer Join to Lookup) table. 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. No support; Support, which assumes that the Join Type VLDB setting is Join 92; any other value in Join Type is ignored; Use default inherited value. 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. This can cause outer joins. 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. Users can switch the table order to achieve the same variation of outer joins (right and full outer join). Preserve All Final Pass Result Elements. 0, a VLDB property is available to control. Support, which assumes that the Join Type VLDB setting is Join 92; any other value in Join Type is ignored. For information on how to display this property, see Viewing and Changing Advanced VLDB Properties. Different types of Joins are as follows: INNER JOIN. Support, which assumes that the Join Type VLDB setting is Join 92; any other value in Join Type is ignored. All report metrics use outer join: No flags are generated. STEPS TO REPRODUCE Connect a Snowflake database instance to Microstrategy. For example, in the MicroStrategy Tutorial project, the user creates the following objects: Metric : Sum (Revenue). Too bad!There's a reason we're at the top of the list. The properties are saved in different folders, as indicated in the previous list. PIVOT. Default Value. INNER JOIN. 7). This article notes how to setup Ranking for metrics that do not return data for all attribute elementsfrom Full Outer Join( Ex14_tempcube2, Full Outer Join( Ex14_tempcube1, Ex14_tempcube0 ) on DA3 ) on DA1 to RELATION15-<DA5, DA2, DA3, DA1, Prev Month Id, Month Of Year> Cause: This is a known issue in MicroStrategy. 99K subscribers Subscribe 4. itemNo is not null AND Store. 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. An outer join of A and B gives the results of A union B, i. This is appropriate if the metric should be outer joined in every circumstance. id) AS vinyl_count FROM customer c FULL JOIN purchase p ON c. 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. CustomerID. solutions Forum; Outer Join on attributes. The following document provides sample code on how to modify the metric formula join type. By default all the attributes are outer join in report data option. SYMPTOM. Embedding custom scripts. The SQL FULL OUTER JOIN statement joins two tables based on a common column. All report metrics use outer join: No flags are generated. The MicroStrategy SQL Generation Engine does not. But MySQL also does not have a RIGHT JOIN syntax. For example: Metric, by default is Inner Join. This is to support the most common scenarios for your databases. Downward Outer Join Option is an advanced property that is hidden by default. All rows of the intermediate table are preserved. 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. But sub-queries have performance issues. M,table_b. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. Full Outer Join : The full outer Join keyword returns all records when there is a match in left or right table records. Step 2 – Create a new mapping and import source tables “EMP”. Date functions specific to different databases (YTD) transmutations lacking using transformation. After the project information is. Add a filter condition based on Call Center attribute. The fourth row gets the rank 4 because the RANK() function skips the rank 3. Reports with custom groups - Custom groups that use advanced logic, such as ranking or banding. 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. Go to TOOLS > Report Options. In MicroStrategy, there are two settings that users can access to control Outer Join behavior: Formula Join Type and Metric Join Type. This lack of support stems from how the SQL language handles nulls and cannot be changed. A UNION clause can be used as an alternate to get the same result as FULL OUTER JOIN. Clear the Use default inherited value check box. MicroStrategy Technical Support can assist with resolving cross joins in a specific report, however caution should be taken when resolving such issues. Consider the two tables below:1. Nice Software Solutions (NSS) is a professional services company, focusing in Business Intelligence and Data Warehousing solutions. To group data into subsets, you can use the page-by feature. By default, MicroStrategy generates multi-pass SQL using derived tables with Teradata 12 (and higher). This target report inherits VLDB properties, including attribute outer join settings, from the parent report. Go to Metric Options again and note that the metric join still says Outer Join. Specifically if a metric at a higher level is set to outer join while a lower level metric is set to inner join while both include an attribute the lower level metrics version of the attribute will be used to join to lookup tables despite being less. Overview of SQL FULL OUTER JOIN. doc_id, a. This video helps the default join bw attribute-attribute metric to metric join type and Report level in Mstr. The results are used to left outer join all secondary datasets. MicroStrategy Engine provides the capability to switch the order of. For information on how to display this property, see Viewing and Changing Advanced VLDB Properties. mstr file is a zipped file of object definition package and cube files. Why MicroStrategy Why MicroStrategy; Customer Stories; PlatformThere's a reason we're at the top of the list. Prefix, QuantityofLicensesPurchased, (QuantityofLicensesInstalled. In reality, an . 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. Data can come from any source accessible by Microstrategy 8, including the data warehouse, data. 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). c2 FULL OUTER JOIN t3 ON COALESCE(t2. The following procedure includes these steps. ttl_qty, b. This property may have two possible values: 0 for inner join and 1 for outer join. 8. Jan 26, 2013 at 19:40. RE. Ranked #1 for Enterprise Analytics in 2022 Gartner Critical Capabilities Report. Upload FilesOr drop files. Additional Final Pass Option is an advanced property that is hidden by default. 12, with Data Engine Version 2019 or above, there are duplicated rows of data returned in some scenarios for a dossier/report/document which is created based on an intelligence cube and has the join behavior for attributes set to be Outer Join-Preserve Filter. Use default inherited value. FULL JOIN makes duplicate records for each match on either side. The sql statement for this metric is shown below. 11 or above. In terms of join behavior this means the setting applies to metric joins between datasets. Click Save and Close. 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 that simulates full outer joins. This issue has been addressed starting in MicroStrategy 9. 6. CUSTOMER_ID (+); Now, I have created an attribute called customer Id at MSTR and defined the join (Through checking the box). Number of Views 3. Select "Data" within the top bar of the cube/dataset editor >> Report Data Options >> Metric Join Type. The Full Outer Join Support interface opens. x. Therefore, SQL is generated for the filtering report using an inner join between the two metrics, and since the metrics have no attribute elements in common, all data are excluded. 0. Authors can add links via Desktop, Web, or Workstation. solutions Forum Left outer joins iolaper (MIS) (OP) 19 Jul 04 09:53 Hello guys, I am trying to generate a. The full outer join or full join returns all rows from both tables, matching up the rows wherever a match can be made and placing NULL s in the places where no matching row exists. In MicroStrategy SDK 9. 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 Full Outer Join Support property specifies whether the database platform supports full outer join syntax: 9. In 11. sql File. the outer parts of a Venn diagram union. Shared attributes are outer joined while relationships control other related attributes. Do the same with Response. The join type for all metrics on the Report is set to "Outer". Scenario 2. First develop a query that gets you as. Things you. In MicroStrategy Analytics Enterprise 10. The date restriction is in the Where-clause which limits the output to customers with orders only. Create a dossier using the Data Import cube, add Year and Quarter attributes, and a metric to the template. UNPIVOT. To be more specific the product creates a metric dataset for the join between datasets and then outer joins that to the. I think as Jac74 said i have to work with view or in my case i can add a null row in the the table and use applysimple to convert that null value to some other value like "0" to make a regular inner join. Of course in your case no vehicle is a car and a bus too, so you need to tell MicroStrategy to do an outer joins for the two conditional metrics that you created. Navigate to the Intelligent Cube (Cube B) you want to add. SELECT Installed.