SQLServerCentral.com / Business Intelligence / SQL Server 2005 / Calculate measures and mdx / Latest PostsInstantForum.NET v2.9.0SQLServerCentral.comhttp://www.sqlservercentral.com/Forums/notifications@sqlservercentral.comFri, 28 Aug 2015 03:43:17 GMT20RE: Calculate measures and mdxhttp://www.sqlservercentral.com/Forums/Topic1489876-147-1.aspxYou 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.Thu, 12 Sep 2013 16:39:54 GMTsrini.msbi8RE: Calculate measures and mdxhttp://www.sqlservercentral.com/Forums/Topic1489876-147-1.aspxThere are two parts to your question, if I understand it correctly1. 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 measureThu, 12 Sep 2013 01:57:00 GMTRaunak JhawarCalculate measures and mdxhttp://www.sqlservercentral.com/Forums/Topic1489876-147-1.aspxIn 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?Thu, 29 Aug 2013 13:36:39 GMTshanghaigirl-1125377