<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: SSAS Cube Action: Cells Target type, URL Action type Example</title>
	<atom:link href="http://timlaqua.com/2009/03/ssas-cube-action-cells-target-type-url-action-type-example/feed/" rel="self" type="application/rss+xml" />
	<link>http://timlaqua.com/2009/03/ssas-cube-action-cells-target-type-url-action-type-example/</link>
	<description>Thoughts and Code from Tim Laqua</description>
	<lastBuildDate>Thu, 29 Jul 2010 13:25:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: John</title>
		<link>http://timlaqua.com/2009/03/ssas-cube-action-cells-target-type-url-action-type-example/comment-page-1/#comment-2918</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 18 Jun 2010 16:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://timlaqua.com/?p=165#comment-2918</guid>
		<description>Ok, I looked for a long time for an answer to this - a pretty crucial functionality for a URL action.  The excel!Substitute function does work, but you have to have Excel installed on the server that SSAS is installed on.  That&#039;s kind of crazy and MS gets a lot of complaints about it.  Not addressed in 2008.</description>
		<content:encoded><![CDATA[<p>Ok, I looked for a long time for an answer to this &#8211; a pretty crucial functionality for a URL action.  The excel!Substitute function does work, but you have to have Excel installed on the server that SSAS is installed on.  That&#8217;s kind of crazy and MS gets a lot of complaints about it.  Not addressed in 2008.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://timlaqua.com/2009/03/ssas-cube-action-cells-target-type-url-action-type-example/comment-page-1/#comment-2826</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Tue, 18 May 2010 18:39:15 +0000</pubDate>
		<guid isPermaLink="false">http://timlaqua.com/?p=165#comment-2826</guid>
		<description>Tim,

I have the same problem as Joe Horton.  I&#039;d like to be able for the user to click on the dimension name and hyperlink off to a web page.  I don&#039;t want to define the values, but the name of the hierarchy in the dimension.  For example, we have an [Account] dimension, and one of the attributes is [Account Category].  I&#039;d like the user to be send &quot;Account Category&quot; to a web page.

Thoughts? (thanks in advance)</description>
		<content:encoded><![CDATA[<p>Tim,</p>
<p>I have the same problem as Joe Horton.  I&#8217;d like to be able for the user to click on the dimension name and hyperlink off to a web page.  I don&#8217;t want to define the values, but the name of the hierarchy in the dimension.  For example, we have an [Account] dimension, and one of the attributes is [Account Category].  I&#8217;d like the user to be send &#8220;Account Category&#8221; to a web page.</p>
<p>Thoughts? (thanks in advance)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammed</title>
		<link>http://timlaqua.com/2009/03/ssas-cube-action-cells-target-type-url-action-type-example/comment-page-1/#comment-2797</link>
		<dc:creator>Muhammed</dc:creator>
		<pubDate>Wed, 05 May 2010 10:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://timlaqua.com/?p=165#comment-2797</guid>
		<description>Thanks for your help Tim I tried that too but also does not work. But no need  to worry, it is no  longer required for me to do that.

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for your help Tim I tried that too but also does not work. But no need  to worry, it is no  longer required for me to do that.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://timlaqua.com/2009/03/ssas-cube-action-cells-target-type-url-action-type-example/comment-page-1/#comment-2771</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 21 Apr 2010 12:33:45 +0000</pubDate>
		<guid isPermaLink="false">http://timlaqua.com/?p=165#comment-2771</guid>
		<description>We spent some time poking around on this one recently with Tim Peterson and while vba!Replace isn&#039;t accessable to MDX, excel!Substitute is available, so the following should work for you:

&lt;code&gt;
&quot;http://www.google.com/?q=&quot; + excel!Substitute([Menu Items].[Menu Item].currentmember.name, &quot;&amp;&quot;, &quot;%26&quot;)
&lt;/code&gt;

&lt;a href=&quot;http://office.microsoft.com/en-us/excel/HP052092861033.aspx&quot; rel=&quot;nofollow&quot;&gt;http://office.microsoft.com/en-us/excel/HP052092861033.aspx&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>We spent some time poking around on this one recently with Tim Peterson and while vba!Replace isn&#8217;t accessable to MDX, excel!Substitute is available, so the following should work for you:</p>
<p><code><br />
"http://www.google.com/?q=" + excel!Substitute([Menu Items].[Menu Item].currentmember.name, "&#038;", "%26")<br />
</code></p>
<p><a href="http://office.microsoft.com/en-us/excel/HP052092861033.aspx" rel="nofollow">http://office.microsoft.com/en-us/excel/HP052092861033.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://timlaqua.com/2009/03/ssas-cube-action-cells-target-type-url-action-type-example/comment-page-1/#comment-2696</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Sun, 04 Apr 2010 13:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://timlaqua.com/?p=165#comment-2696</guid>
		<description>Yeah, I poked around a bit - looks like MDX doesn&#039;t have access to Replace().  Have you considered adding a calculated column to the data source view that does the REPLACE() in T-SQL and then adding that calculated column as a member property to the [Menu Item] attribute?  If you went that route, you would change

&lt;code&gt;[Menu Items].[Menu Item].currentmember.name&lt;/code&gt;
to
&lt;code&gt;[Menu Items].[Menu Item].currentmember.Properties(&quot;urlSafeName&quot;)&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Yeah, I poked around a bit &#8211; looks like MDX doesn&#8217;t have access to Replace().  Have you considered adding a calculated column to the data source view that does the REPLACE() in T-SQL and then adding that calculated column as a member property to the [Menu Item] attribute?  If you went that route, you would change</p>
<p><code>[Menu Items].[Menu Item].currentmember.name</code><br />
to<br />
<code>[Menu Items].[Menu Item].currentmember.Properties("urlSafeName")</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammed</title>
		<link>http://timlaqua.com/2009/03/ssas-cube-action-cells-target-type-url-action-type-example/comment-page-1/#comment-2687</link>
		<dc:creator>Muhammed</dc:creator>
		<pubDate>Thu, 01 Apr 2010 13:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://timlaqua.com/?p=165#comment-2687</guid>
		<description>I tried all that also, still nothing happends...</description>
		<content:encoded><![CDATA[<p>I tried all that also, still nothing happends&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://timlaqua.com/2009/03/ssas-cube-action-cells-target-type-url-action-type-example/comment-page-1/#comment-2686</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Thu, 01 Apr 2010 12:57:07 +0000</pubDate>
		<guid isPermaLink="false">http://timlaqua.com/?p=165#comment-2686</guid>
		<description>I see a space in your example between the Replace and the opening ( - there shouldn&#039;t be a space there.  Also check to make sure your double quotes are straight double quotes and not the fancy/slanted quotes (this is often a problem if you cut/paste from places).</description>
		<content:encoded><![CDATA[<p>I see a space in your example between the Replace and the opening ( &#8211; there shouldn&#8217;t be a space there.  Also check to make sure your double quotes are straight double quotes and not the fancy/slanted quotes (this is often a problem if you cut/paste from places).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammed</title>
		<link>http://timlaqua.com/2009/03/ssas-cube-action-cells-target-type-url-action-type-example/comment-page-1/#comment-2685</link>
		<dc:creator>Muhammed</dc:creator>
		<pubDate>Thu, 01 Apr 2010 12:46:42 +0000</pubDate>
		<guid isPermaLink="false">http://timlaqua.com/?p=165#comment-2685</guid>
		<description>Nope it still doing the same. I get no option to google search it.</description>
		<content:encoded><![CDATA[<p>Nope it still doing the same. I get no option to google search it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://timlaqua.com/2009/03/ssas-cube-action-cells-target-type-url-action-type-example/comment-page-1/#comment-2683</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Thu, 01 Apr 2010 12:36:45 +0000</pubDate>
		<guid isPermaLink="false">http://timlaqua.com/?p=165#comment-2683</guid>
		<description>Try:
&lt;code&gt;
&quot;http://www.google.com/?q=&quot; + vba!Replace([Menu Items].[Menu Item].currentmember.name, &quot;&amp;&quot;, &quot;%26&quot;)
&lt;/code&gt;

If you&#039;re still having problems, I can test it out on an instance.</description>
		<content:encoded><![CDATA[<p>Try:<br />
<code><br />
"http://www.google.com/?q=" + vba!Replace([Menu Items].[Menu Item].currentmember.name, "&#038;", "%26")<br />
</code></p>
<p>If you&#8217;re still having problems, I can test it out on an instance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammed</title>
		<link>http://timlaqua.com/2009/03/ssas-cube-action-cells-target-type-url-action-type-example/comment-page-1/#comment-2682</link>
		<dc:creator>Muhammed</dc:creator>
		<pubDate>Thu, 01 Apr 2010 12:24:34 +0000</pubDate>
		<guid isPermaLink="false">http://timlaqua.com/?p=165#comment-2682</guid>
		<description>Hey Tim

Thanks for the reply. Im trying what you suggested but it does not seem to work. It does not even give me a option to google search it.
This is what I have:

&quot;http://www.google.com/?q=&quot; + Replace ([Menu Items].[Menu Item].currentmember.name, &quot;&amp;&quot;, &quot;%26&quot;)</description>
		<content:encoded><![CDATA[<p>Hey Tim</p>
<p>Thanks for the reply. Im trying what you suggested but it does not seem to work. It does not even give me a option to google search it.<br />
This is what I have:</p>
<p>&#8220;http://www.google.com/?q=&#8221; + Replace ([Menu Items].[Menu Item].currentmember.name, &#8220;&amp;&#8221;, &#8220;%26&#8243;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
