<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Using Dynamic MDX in Reporting Services: Part 2</title><link>http://sqlblog.com/blogs/stacia_misner/archive/2010/10/08/29249.aspx</link><description>In this post, I continue my exploration of approaches to working with dynamic MDX in a Reporting Services dataset when you are using Analysis Services as a data source. I began this series with a look at string conversion functions in Part 1 . In Part</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: Using Dynamic MDX in Reporting Services: Part 2</title><link>http://sqlblog.com/blogs/stacia_misner/archive/2010/10/08/29249.aspx#29264</link><pubDate>Sat, 09 Oct 2010 10:31:33 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:29264</guid><dc:creator>Omar</dc:creator><description>&lt;p&gt;Awesome work Stacia, very useful information indeed!&lt;/p&gt;</description></item><item><title>re: Using Dynamic MDX in Reporting Services: Part 2</title><link>http://sqlblog.com/blogs/stacia_misner/archive/2010/10/08/29249.aspx#29272</link><pubDate>Sat, 09 Oct 2010 19:02:21 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:29272</guid><dc:creator>oti</dc:creator><description>&lt;p&gt;This is powerful...thank you!!!!&lt;/p&gt;</description></item><item><title>re: Using Dynamic MDX in Reporting Services: Part 2</title><link>http://sqlblog.com/blogs/stacia_misner/archive/2010/10/08/29249.aspx#29359</link><pubDate>Wed, 13 Oct 2010 12:22:34 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:29359</guid><dc:creator>Vussy</dc:creator><description>&lt;p&gt;Great Stuff ...Many thanks ☺&lt;/p&gt;</description></item><item><title>re: Using Dynamic MDX in Reporting Services: Part 2</title><link>http://sqlblog.com/blogs/stacia_misner/archive/2010/10/08/29249.aspx#33339</link><pubDate>Wed, 09 Feb 2011 11:03:31 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:33339</guid><dc:creator>Sneha</dc:creator><description>&lt;p&gt;Gr8 help...thanks a lot&lt;/p&gt;</description></item><item><title>re: Using Dynamic MDX in Reporting Services: Part 2</title><link>http://sqlblog.com/blogs/stacia_misner/archive/2010/10/08/29249.aspx#33656</link><pubDate>Mon, 21 Feb 2011 12:47:57 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:33656</guid><dc:creator>Pravin Patel</dc:creator><description>&lt;p&gt;It is really usefull, &lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>re: Using Dynamic MDX in Reporting Services: Part 2</title><link>http://sqlblog.com/blogs/stacia_misner/archive/2010/10/08/29249.aspx#38791</link><pubDate>Thu, 29 Sep 2011 21:17:35 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:38791</guid><dc:creator>anthony</dc:creator><description>&lt;p&gt;I'm trying to simply find a way to place a value from my cube into the cell of a report. For example. There is a measure called employee hours, and it is in a hierarchy of CATEGORY &amp;gt;&amp;gt; TYPE. &lt;/p&gt;
&lt;p&gt;How do I create an expression for the cell that says just choose the value of type &amp;quot;PTO&amp;quot;, etc.?&lt;/p&gt;
&lt;p&gt;I can't find any reference anywhere?&lt;/p&gt;</description></item><item><title>re: Using Dynamic MDX in Reporting Services: Part 2</title><link>http://sqlblog.com/blogs/stacia_misner/archive/2010/10/08/29249.aspx#39210</link><pubDate>Wed, 19 Oct 2011 21:27:02 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39210</guid><dc:creator>smisner</dc:creator><description>&lt;p&gt;Anthony,&lt;/p&gt;
&lt;p&gt;That's not an easy question to answer. In general, you create a dataset that queries the cube, which then provides you with a set of fields that you can then place into your report. You will have to construct your query so that you have one field for your measure and one field for the type. You can filter the query to get only type PTO, or filter the tablix containing the cell. Or use an IIF expression to display the measure value in the cell when the type is PTO.&lt;/p&gt;
</description></item><item><title>re: Using Dynamic MDX in Reporting Services: Part 2</title><link>http://sqlblog.com/blogs/stacia_misner/archive/2010/10/08/29249.aspx#41696</link><pubDate>Sat, 11 Feb 2012 11:11:44 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:41696</guid><dc:creator>Dave Lowe</dc:creator><description>&lt;p&gt;This was really helpful thanks Stacia. I eschewed VB (and VBA) a number of years ago so going back was a bit of pain but the techniques you demonstrated here helped me immensely. Hoping 2012 will support c#. Thanks Stacia&lt;/p&gt;</description></item><item><title>re: Using Dynamic MDX in Reporting Services: Part 2</title><link>http://sqlblog.com/blogs/stacia_misner/archive/2010/10/08/29249.aspx#41700</link><pubDate>Sat, 11 Feb 2012 19:25:10 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:41700</guid><dc:creator>smisner</dc:creator><description>&lt;p&gt;Glad to help, Dave. No support for C# in 2012 - at least not directly. You could always use a custom assembly in Reporting Services if you really need to do something in C#, but that wouldn't make sense to do so if there were a built-in way to accomplish the same thing.&lt;/p&gt;
</description></item><item><title>re: Using Dynamic MDX in Reporting Services: Part 2</title><link>http://sqlblog.com/blogs/stacia_misner/archive/2010/10/08/29249.aspx#47440</link><pubDate>Fri, 01 Feb 2013 13:19:34 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:47440</guid><dc:creator>Lidou123</dc:creator><description>&lt;p&gt;Thank U for this post.&lt;/p&gt;
&lt;p&gt;very Intesting. So Is it possible to put parameters in the MDX Script ?without using the SSRS query builder ?&lt;/p&gt;</description></item><item><title>re: Using Dynamic MDX in Reporting Services: Part 2</title><link>http://sqlblog.com/blogs/stacia_misner/archive/2010/10/08/29249.aspx#47484</link><pubDate>Tue, 05 Feb 2013 04:24:07 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:47484</guid><dc:creator>smisner</dc:creator><description>&lt;p&gt;Hi Lidou123 - Do you really mean MDX script? That term applies to the calculations, named sets, and KPIs that one adds to the cube definition and doesn't involve the SSRS query builder in any way. Is that what you mean or do you mean something else? If you mean the MDX script, the answer is no - it is not possible to use parameters there. &lt;/p&gt;
&lt;p&gt;Now if you mean the text editor (type it in yourself) for the query rather than the query designer (drag and drop), the answer is yes you can. There is a button in the toolbar that you can use to map a default value to the parameter.&lt;/p&gt;
</description></item></channel></rss>