Skip to main content

Posts

Derived Elements in MicroStrategy 9.3.1

I recently updated our development environment from MicroStrategy 9.2.1m to version 9.3.1. While testing if the update broke anything I found out that some of my attribute selectors are no longer working. All affected selectors used derived elements which were defined in the grid report - not in the dashboard. If you run into the same issue try the following: Remove derived elements from the grid report Open your dashboard in editable mode in the web Add the attribute to your grid on the dashboard Create derived elements in the dashboard. An example can be found in this technote . Create a selector from this attribute. Hope this helps.

MicroStrategy - Custom Formatting

My favorite blog on MicroStrategy is Bryan's MicroStrategy Blog . That's where I found a very helpful post on custom formatting which I have used a couple times. The issue is the following: You have a metric that can contain very small and very large values. How can you make sure that the value is always useful for the user (10 Mio instead of 10,000,000 where you have to count the 0 to know what it is) and that it doesn't take too much space on the dashboard?

Products you don't expect to be 'Made in China' - Presidents Choice Organic Rice Rusks for babies

Yesterday I had a surprise once again while I was feeding our 9 months old sun "Risk Rusks". These are little rice crackers a baby can eat. I thought I did something good by buying organic and Presidents Choice is usually a decent brand but whenever I looked at the ingredients I saw the label "Made in China". Why on earth do we have to ship our baby food all the way from China? I guess I have to look for another brand for Risk Rusks now...

MicroStrategy - Show Null as Zero in Graph

The other day I was creating a dashboard that and one of the requirements was to show 0 in graphs if the value was Null. I searched the support forum and found this post  but it didn't work. While looking through all the different graph options I finally found the one I needed. Under Options - Other you will find a drop down for " Use zero instead of null values ". Set this value to Yes and your graph will work as expected : Hope this helps someone else with the same issue.

Products you don't expect to be "Made in China" - Garlic

A while back I already wrote about Del Monte fruit cups being made in China . This time I found another product that to my surprise often has the label "Made in China": Garlic, especially the pre-cleaned one. Is there not enough garlic grown in Canada (or North America)? I guess I am not the only one who rather buys local products, just search in Google for "Garlic made in China"

SQL Server, Subqueries and data types

Today I had to deal with an issue on SQL Server 2005 that I thought might be worth sharing. Maybe someone else runs into a similar issue and can't figure out why SQL Server is playing stupid. I was trying to run a query similar to the one below, it was generated by a reporting tool: select sum(a11.COGS_ORDERED),  sum(a11.LINE_RECEIVED) from  (SELECT  ID , COGS_ORDERED , QTY_SHORTED , 'LINE_RECEIVED' =  CASE    WHEN QTY_SHORTED = 0 THEN 1    ELSE 0  END FROM myTable a11) SQL Server always returned the error message " Arithmetic overflow error converting expression to data type int. " . I figured out that the issue has to do with my case statement so I tested to run a sum right on the case statement and it worked fine: SELECT  SUM( CASE    WHEN QTY_SHORTED = 0 THEN 1    ELSE 0  END) FROM myTable a11 After doing some research I found out that SQL Server stores the result of the s...

Videos of new features in SQL Power Architect

After I gave a short overview of the new features in Power Architect EE in my last blog post , I'll take the chance to post some videos that are available on YouTube and demonstrate the new features. The trial version for SQL Power Architect comes with a 30 days free support in case you run into any issues:  http://goo.gl/7SH1