EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB4892: How to remove and re-add a Warehouse table in a Microstrategy 9.4.1 or 10.x project.


Community Admin

• Strategy


Requirements may arise where a warehouse table needs to be removed from a project. The following steps should be taken to ensure that the table can correctly be removed.

SYMPTOM:
Requirements may arise where a warehouse table needs to be removed from a project.\When trying to remove a warehouse table from a Strategy 9.4.1 or 10.x project, users should perform the following steps:

  • Right-click on the table name under the schema objects/tables folder. Search the dependents.
  • Double-click on the object name to open the attribute editor, for every attribute that appears in the search result.
  • Modify the attribute forms to change the primary lookup table to another source table. Highlight another source table and click on 'set as lookup'. If a form does not have another source table, the form expression would have to be removed.
ka04W000000Oc0BQAS_0EM440000002GH3.gif
  • Open the warehouse catalog editor, go to options, schema tab. Make sure the setting 'map schema objects to the new tables automatically' is checked.
ka04W000000Oc0BQAS_0EM440000002GH2.jpeg
  • The table can now be removed from the project in the warehouse catalog editor.
ka04W000000Oc0BQAS_0EM440000002GGu.gif
  • When trying to save and close, the Warehouse catalog prompts users with the dialog:
    'The following tables to be deleted still have dependent objects.'
    This is due to the Warehouse catalog searching on all objects that are connected to that table. The Search editor, on the other hand, only searches for objects that use the table as the primary lookup table.
     
    Select 'proceed with the changes.' Strategy Desktop removes the table as a source table for all attributes that use the table as a source table.
ka04W000000Oc0BQAS_0EM440000002GH0.gif
  • Open the Warehouse catalog editor and move the table back to the right to add the table back to the project.
  • Users may see the following dialog box when trying to save and close.
ka04W000000Oc0BQAS_0EM440000002GGv.gif
  • Double-click on the item to resolve the conflict.
ka04W000000Oc0BQAS_0EM440000002GGx.gif
  •  
    The conflict is present because the attribute 'Distribution Center' defined off the Country_Id column in the LU_DIST_CTR table. Country_Id is also present in the LU_Region table that is used to define the attribute 'Country'.
ka04W000000Oc0BQAS_0EM440000002GH1.gif
  • Close the project before going back to the attribute and re-select the correct primary lookup table. Without this step, Strategy Desktop displays the attribute definition that is stored in the local memory. Once the project is closed and re-opened, the engine is also removed of the old definition, a task that can also be accomplished by update schema.
     
    NOTE: The attribute can be modified without closing the project. Remember to update the schema under the schema menu after the modification.

Comment

0 comments

Details

Knowledge Article

Published:

May 30, 2017

Last Updated:

May 30, 2017