GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Data Warehousing  >  MicroStrategy
Go To First  |  Previous Question  |  Next Question 
 MicroStrategy  |  Question 2 of 12    Print  
In Microstrategy, how can you direct the sql generated to use a specifc table.

I know of using ApplySimple, but there are other ways too...

  
Total Answers and Comments: 4 Last Update: November 21, 2006     Asked by: KPIZME 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Phillip Green
 

I would use level metrics to force the SQL generation (remove the report level from the metric and add level on ALL the dimensions from the fact table you want to generate SQL against).  By doing this you will only affect the report that is using the metric.  If you start altering the logical table size you will affect all reports.



Above answer was rated as good by the following members:
ashu_eureka
July 10, 2006 02:17:06   #1  
gsaiganesh Member Since: July 2006   Contribution: 1    

RE: In Microstrategy, how can you direct the sql gener...

If you need to use a specific table we need to play with the logical size of that table. Whenever MSTR frames a query it retrieves data from the table that has the least logical size and hence when you set the logical size of your table to be least compared to the other base table MSTR will retrieve data from this specified table.

Hope this helps

Thanks

SaiGanesh


 
Is this answer useful? Yes | No
September 26, 2006 10:48:07   #2  
Phillip Green        

RE: In Microstrategy, how can you direct the sql gener...

I would use level metrics to force the SQL generation (remove the report level from the metric and add level on ALL the dimensions from the fact table you want to generate SQL against). By doing this you will only affect the report that is using the metric. If you start altering the logical table size you will affect all reports.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
September 26, 2006 11:02:36   #3  
jpg1dmg Member Since: September 2006   Contribution: 2    

RE: In Microstrategy, how can you direct the sql gener...

I would use level metrics to force the SQL generation.

  • Remove the Report Level from the metric(s)
  • Add Leveling to the metric(s) for each of the Deminsions/Attributes in the Fact Table you are trying to force in the SQL

By doing this you will only affect the report that is using the metric. If you start altering the Logical Table Size you will affect other reports.


 
Is this answer useful? Yes | No
November 21, 2006 10:25:07   #4  
Aashish        

RE: In Microstrategy, how can you direct the sql gener...
Use FACT ID in the metric
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape