The fact table FACT_SN_STORE has either of these structure:
1.)
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
Store, Class, and Item are the only attributes related to this table, so the SQL Generation Engine assumes that they constitute the primary key for this table. Therefore, the metric display is '1' for each row and the SQL does not contain a Group By expression.
Performing a COUNT(Fact) requires querying the fact table, which can be an expensive process. Therefore, if the SQL contains a fixed number, the fact table is not queried, resulting in a more efficient process.
2.)
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
The physical fact table contains additional attributes that are not used as an attribute or fact within Strategy. (This corresponds to Year_Id in the above example.) The logical table view in Strategy therefore does not consider Year_Id as key of the fact table even though it is part of the primary key of the physical fact table. As a result, Store and Serial Number are considered to be the only attributes related to this table, which causes SQL without a Group By expression. Furthermore the SQL will contain a constant of '1' as the count of Cost Amount because of performance reasons as mentioned above in Situation 1.
Below is a sample record set for the second configuration:
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
NOTE: There are two data records for the same one store and serial number (one for each year). When users run the report with the current configuration, the following result appears:
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 | Web Professional and OLAP Services Startup type: AutomaticStartup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Running Server shutdown abnormally before system reboot Running Running Startup type: Automatic Startup type: Manual Server shutdown normally before system reboot Running Stopped Server running before system reboot Running Stopped Server shutdown abnormally before system reboot Running StoppedFACT_SN_STORESTORE_IDSN_IDCOST_AMTFACT_SN_STOREYEAR_IDSTORE_IDSN_IDCOST_AMTYEAR_IDSTORE_IDSN_IDCOST_AMT199710020051998100200619982002007STORESERIAL NUMBERCOUNT (COST_AMT)100200110020012002001 |
ACTION:
The Strategy SQL Engine needs to know that the key attributes in the logical fact table view do not completely constitute the primary key of the physical fact table.
Follow the steps below to correct the issue:
- In Strategy Developer, open the folder Project Source\Project\Schema Objects\Tables.
- Double-click on the fact table included in the SQL. In the above example, it is FACT_SN_STORE
- Uncheck the box labeled 'The key specified is the true key for the warehouse table,' as shown below: