Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Calculate measures and mdx Expand / Collapse
Author
Message
Posted Thursday, August 29, 2013 1:36 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, August 29, 2014 8:03 AM
Points: 44, Visits: 1,152
In cognos, we have complex measures calculated by joining multiple tables, and we can see the SQL queries in IQD files. How do I do this in ssas to build cubes? Anywhere in ssas we can view the underlying queries? My confusion is between measure calculations and mdx queries. For example, I need to calculate gross shipped dollars, do I calculate it in measure calculation or mdx?
Post #1489876
Posted Thursday, September 12, 2013 1:57 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, June 18, 2014 3:28 AM
Points: 1,044, Visits: 1,839
There are two parts to your question, if I understand it correctly

1. You can always use the the standard DMV's to see the formula and the MDX used to define any calculated members. One such is $system.mdschema_measures. Also, you can open the calculations tab and view the MDX for the measures.

2. For gross shipped dollars, this is a fully additive measure and you should be using a SUM() function on the column to calculate the measure


Regards/Raunak
Now a member of Linkedin

Please visit the all new Performance Point Forum
Please visit the all new Data Mining and Business Analytics Forum
Post #1494033
Posted Thursday, September 12, 2013 4:39 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, August 21, 2014 10:34 PM
Points: 1, Visits: 51
You can use SQl server 2008 Report server project and create a new datasource pointing to the required cube. Click on Query Designer and it would give you the browser screen of the cube. Drag and drop the necessary fields and filters if necessary. Once you click OK, then you could see the underlying MDX query.
Post #1494399
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse