Skip to main content

Posts

Showing posts with the label hierarchy

Problems With Conditional Metric and Drill Down

If you are coming across the problem with Conditional metric and Drill Down, you will want to kick somebody's behind after reading the solution(s)! We have a hierarchy defined as Region - Country - State - City - Zipcode - Branch. For each Branch there is a count of Vistors. The report starts with simply Region and Count of Visitors. You should be able to drill down all the way to Branch from Region. Count of Visitors is a conditional metric based on certain filters. So, the requirements sounds pretty simple, right? Yes, and it is simple. But for some reason when I built out the report in less then 5 minutes the drill down would not work. Clicking Americas to drill down and expecting to see Canada, USA and Mexico, I was seeing all European and Asian countries as well. I thought there was something major  was wrong with relationships or data or even the ETL. This is a pretty simple report so obviously the issue has to be a major one for this report to not work, right? Right? Wr...

MicroStrategy 9.x - Hierarchy Prompt timeout

Behavior : Within MicroStrategy 9.x in Web environment, Hierarchy prompts time out and throw 'Request timed out' error. Solution : There are two issues to address here: 1. See the underlying query for prompts and make sure it is well optimized. A prompt should not take more a few seconds to load. Underlying SQL query can be obtained from Jobs monitor or a tool like SQL Profiler. 2. If all is well under the hood and no further optimization is possible, increase the request time out. This could be achieved by changing the value for "timeout" property in FrameProcessor.xml file on the web server. This file is generally found under C:\Program Files (x86)\MicroStrategy\Web ASPx\WEB-INF\xml\blocks. Remember, the value represents time out in milliseconds. <!DOCTYPE block SYSTEM "../dtds/blockLibrary.dtd"> <!-- HTTP Processors --> <block name="FrameProcessor" inherits="BaseModel"> <definition...