<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>ASStoredProcedures Work Item Rss Feed</title><link>http://www.codeplex.com/WorkItem/List.aspx?ProjectName=ASStoredProcedures</link><description>ASStoredProcedures Work Item Rss Description</description><item><title>Commented Issue: BottomCountWithTies returns wrong values [33998]</title><link>http://asstoredprocedures.codeplex.com/workitem/33998</link><description>Set to sort&amp;#58;&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;12&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;14.99&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;17.94&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The returned result for bottom __5__ vaules with BottomCountWithTies&amp;#58;&lt;br /&gt;2.99&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;17.94&lt;br /&gt;&lt;br /&gt;Expected result&amp;#58;&lt;br /&gt;2.99&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;&lt;br /&gt;In any case, the 17.94 is out of order. The next figure after the 6&amp;#39;s should be 12.&lt;br /&gt;&lt;br /&gt;All the records&amp;#58;&lt;br /&gt;&amp;#33;&amp;#91;Image&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;i73.photobucket.com&amp;#47;albums&amp;#47;i201&amp;#47;sdjc1&amp;#47;temp&amp;#47;AllRevenue.png&amp;#41;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BottomCountWithTies with 5&amp;#58;&lt;br /&gt;&amp;#33;&amp;#91;Image&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;i73.photobucket.com&amp;#47;albums&amp;#47;i201&amp;#47;sdjc1&amp;#47;temp&amp;#47;BottomCountWithTies5.png&amp;#41;&lt;br /&gt;&lt;br /&gt;BottomCountWithTies with 11 &amp;#40;Correct&amp;#41;&amp;#58;&lt;br /&gt;&amp;#33;&amp;#91;Image&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;i73.photobucket.com&amp;#47;albums&amp;#47;i201&amp;#47;sdjc1&amp;#47;temp&amp;#47;BottomCountWithTies11.png&amp;#41;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;EDIT&amp;#58; The MDX Query&amp;#58;&lt;br /&gt;WITH &lt;br /&gt;SET OrderedItems2 AS ASSP.BottomCountWithTies&amp;#40;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;                                        NonEmpty&amp;#40;&amp;#91;Item&amp;#93;.&amp;#91;Item ID&amp;#93;.&amp;#91;Item ID&amp;#93;.Members, &amp;#91;Measures&amp;#93;.&amp;#91;Revenue&amp;#93;&amp;#41;,&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;                                        5, &amp;#91;Measures&amp;#93;.&amp;#91;Revenue&amp;#93;&amp;#41;&lt;br /&gt;SELECT&lt;br /&gt;&amp;#123;&amp;#91;Measures&amp;#93;.&amp;#91;Revenue&amp;#93;&amp;#125; ON COLUMNS&lt;br /&gt;,&amp;#123;&lt;br /&gt;OrderedItems2 &lt;br /&gt;&lt;br /&gt;&amp;#125; ON ROWS&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FROM &amp;#91;ItemPurchase&amp;#93;&lt;br /&gt;WHERE &amp;#40;&amp;#91;Time&amp;#93;.&amp;#91;Month&amp;#93;.&amp;#91;Month&amp;#93;.&amp;#38;&amp;#91;2013-02-01T00&amp;#58;00&amp;#58;00&amp;#93;&amp;#41;&lt;br /&gt;Comments: ** Comment from web user: dtroyz ** &lt;p&gt;BTW, The following MDX is giving the correct results, so it might be a workaround:&lt;/p&gt;&lt;p&gt;WITH&lt;br&gt;SET OrderedItems_WithoutTies AS BottomCount(&lt;br&gt;							                                        NonEmpty([Item].[Item ID].[Item ID].Members, [Measures].[Revenue]),&lt;br&gt;							                                         5, [Measures].[Revenue])&lt;br&gt;SET OrderedItems1 AS Filter(&lt;br&gt;                                                                                                    NonEmpty([Item].[Item ID].[Item ID].Members, [Measures].[Revenue]),&lt;br&gt;					                              [Measures].[Revenue] &amp;lt;=MAX(OrderedItems_WithoutTies , [Measures].[Revenue])&lt;br&gt;                                                )&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;SET OrderedItems2 AS ORDER( OrderedItems1  , [Measures].[Revenue], BASC)&lt;/p&gt;&lt;p&gt;&lt;br&gt;SELECT&lt;br&gt;{[Measures].[Revenue]}ON COLUMNS&lt;br&gt;, {OrderedItems2} ON ROWS&lt;br&gt;FROM [ItemPurchase]&lt;br&gt;WHERE ([Time].[Month].[Month].&amp;amp;[2013-02-01T00:00:00])&lt;/p&gt;</description><author>dtroyz</author><pubDate>Wed, 24 Apr 2013 05:06:31 GMT</pubDate><guid isPermaLink="false">Commented Issue: BottomCountWithTies returns wrong values [33998] 20130424050631A</guid></item><item><title>Commented Issue: BottomCountWithTies returns wrong values [33998]</title><link>http://asstoredprocedures.codeplex.com/workitem/33998</link><description>Set to sort&amp;#58;&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;12&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;14.99&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;17.94&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The returned result for bottom __5__ vaules with BottomCountWithTies&amp;#58;&lt;br /&gt;2.99&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;17.94&lt;br /&gt;&lt;br /&gt;Expected result&amp;#58;&lt;br /&gt;2.99&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;&lt;br /&gt;In any case, the 17.94 is out of order. The next figure after the 6&amp;#39;s should be 12.&lt;br /&gt;&lt;br /&gt;All the records&amp;#58;&lt;br /&gt;&amp;#33;&amp;#91;Image&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;i73.photobucket.com&amp;#47;albums&amp;#47;i201&amp;#47;sdjc1&amp;#47;temp&amp;#47;AllRevenue.png&amp;#41;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BottomCountWithTies with 5&amp;#58;&lt;br /&gt;&amp;#33;&amp;#91;Image&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;i73.photobucket.com&amp;#47;albums&amp;#47;i201&amp;#47;sdjc1&amp;#47;temp&amp;#47;BottomCountWithTies5.png&amp;#41;&lt;br /&gt;&lt;br /&gt;BottomCountWithTies with 11 &amp;#40;Correct&amp;#41;&amp;#58;&lt;br /&gt;&amp;#33;&amp;#91;Image&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;i73.photobucket.com&amp;#47;albums&amp;#47;i201&amp;#47;sdjc1&amp;#47;temp&amp;#47;BottomCountWithTies11.png&amp;#41;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;EDIT&amp;#58; The MDX Query&amp;#58;&lt;br /&gt;WITH &lt;br /&gt;SET OrderedItems2 AS ASSP.BottomCountWithTies&amp;#40;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;                                        NonEmpty&amp;#40;&amp;#91;Item&amp;#93;.&amp;#91;Item ID&amp;#93;.&amp;#91;Item ID&amp;#93;.Members, &amp;#91;Measures&amp;#93;.&amp;#91;Revenue&amp;#93;&amp;#41;,&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;                                        5, &amp;#91;Measures&amp;#93;.&amp;#91;Revenue&amp;#93;&amp;#41;&lt;br /&gt;SELECT&lt;br /&gt;&amp;#123;&amp;#91;Measures&amp;#93;.&amp;#91;Revenue&amp;#93;&amp;#125; ON COLUMNS&lt;br /&gt;,&amp;#123;&lt;br /&gt;OrderedItems2 &lt;br /&gt;&lt;br /&gt;&amp;#125; ON ROWS&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FROM &amp;#91;ItemPurchase&amp;#93;&lt;br /&gt;WHERE &amp;#40;&amp;#91;Time&amp;#93;.&amp;#91;Month&amp;#93;.&amp;#91;Month&amp;#93;.&amp;#38;&amp;#91;2013-02-01T00&amp;#58;00&amp;#58;00&amp;#93;&amp;#41;&lt;br /&gt;Comments: ** Comment from web user: dtroyz ** &lt;p&gt;Sure. I've edited the ticket.&lt;br&gt;I don't why it formatted it that way.&lt;/p&gt;</description><author>dtroyz</author><pubDate>Wed, 24 Apr 2013 04:11:54 GMT</pubDate><guid isPermaLink="false">Commented Issue: BottomCountWithTies returns wrong values [33998] 20130424041154A</guid></item><item><title>Commented Issue: BottomCountWithTies returns wrong values [33998]</title><link>http://asstoredprocedures.codeplex.com/workitem/33998</link><description>Set to sort&amp;#58;&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;12&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;14.99&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;17.94&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The returned result for bottom __5__ vaules with BottomCountWithTies&amp;#58;&lt;br /&gt;2.99&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;17.94&lt;br /&gt;&lt;br /&gt;Expected result&amp;#58;&lt;br /&gt;2.99&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;&lt;br /&gt;In any case, the 17.94 is out of order. The next figure after the 6&amp;#39;s should be 12.&lt;br /&gt;&lt;br /&gt;All the records&amp;#58;&lt;br /&gt;&amp;#33;&amp;#91;Image&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;i73.photobucket.com&amp;#47;albums&amp;#47;i201&amp;#47;sdjc1&amp;#47;temp&amp;#47;AllRevenue.png&amp;#41;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BottomCountWithTies with 5&amp;#58;&lt;br /&gt;&amp;#33;&amp;#91;Image&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;i73.photobucket.com&amp;#47;albums&amp;#47;i201&amp;#47;sdjc1&amp;#47;temp&amp;#47;BottomCountWithTies5.png&amp;#41;&lt;br /&gt;&lt;br /&gt;BottomCountWithTies with 11 &amp;#40;Correct&amp;#41;&amp;#58;&lt;br /&gt;&amp;#33;&amp;#91;Image&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;i73.photobucket.com&amp;#47;albums&amp;#47;i201&amp;#47;sdjc1&amp;#47;temp&amp;#47;BottomCountWithTies11.png&amp;#41;&lt;br /&gt;Comments: ** Comment from web user: furmangg ** &lt;p&gt;Thanks for reporting this. We'll have to look into this.&lt;/p&gt;&lt;p&gt;Can you provide your MDX query. I just want to check that there's not some small mistake in your query such as a filter only being applied to the Revenue number returned on screen but not to the revenue number passed into the ASSP function.&lt;/p&gt;</description><author>furmangg</author><pubDate>Wed, 24 Apr 2013 03:27:46 GMT</pubDate><guid isPermaLink="false">Commented Issue: BottomCountWithTies returns wrong values [33998] 20130424032746A</guid></item><item><title>Commented Issue: BottomCountWithTies returns wrong values [33998]</title><link>http://asstoredprocedures.codeplex.com/workitem/33998</link><description>Set to sort&amp;#58;&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;12&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;14.99&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;17.94&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The returned result for bottom __5__ vaules with BottomCountWithTies&amp;#58;&lt;br /&gt;2.99&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;17.94&lt;br /&gt;&lt;br /&gt;Expected result&amp;#58;&lt;br /&gt;2.99&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;&lt;br /&gt;In any case, the 17.94 is out of order. The next figure after the 6&amp;#39;s should be 12.&lt;br /&gt;&lt;br /&gt;All the records&amp;#58;&lt;br /&gt;&amp;#33;&amp;#91;Image&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;i73.photobucket.com&amp;#47;albums&amp;#47;i201&amp;#47;sdjc1&amp;#47;temp&amp;#47;AllRevenue.png&amp;#41;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BottomCountWithTies with 5&amp;#58;&lt;br /&gt;&amp;#33;&amp;#91;Image&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;i73.photobucket.com&amp;#47;albums&amp;#47;i201&amp;#47;sdjc1&amp;#47;temp&amp;#47;BottomCountWithTies5.png&amp;#41;&lt;br /&gt;&lt;br /&gt;BottomCountWithTies with 11 &amp;#40;Correct&amp;#41;&amp;#58;&lt;br /&gt;&amp;#33;&amp;#91;Image&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;i73.photobucket.com&amp;#47;albums&amp;#47;i201&amp;#47;sdjc1&amp;#47;temp&amp;#47;BottomCountWithTies11.png&amp;#41;&lt;br /&gt;Comments: ** Comment from web user: dtroyz ** &lt;p&gt;I had a look at the code (for TopCountWithTiesInternal). I think you'll be better off just sorting the set. &lt;br&gt;If you're worried about the performance, you can:&lt;br&gt;1. Use selection algorithm to get the top K - O(N)&lt;br&gt;2. Get the top K using the pivot you for from step 1&lt;br&gt;3.  Sort them in O(k log k)&lt;br&gt;4. Search the rest of the (N-K) elements beyond the pivot for the same value as the top K'th element to get all the ties. - O(N-K)&lt;/p&gt;&lt;p&gt;&lt;br&gt;See:&lt;br&gt;http://stackoverflow.com/a/4956638/36777&lt;br&gt;http://stackoverflow.com/a/4084513/36777&lt;/p&gt;</description><author>dtroyz</author><pubDate>Wed, 24 Apr 2013 00:47:53 GMT</pubDate><guid isPermaLink="false">Commented Issue: BottomCountWithTies returns wrong values [33998] 20130424124753A</guid></item><item><title>Created Issue: BottomCountWithTies returns wrong values [33998]</title><link>http://asstoredprocedures.codeplex.com/workitem/33998</link><description>Set to sort&amp;#58;&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;12&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;14.99&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;17.94&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The returned result for bottom __5__ vaules with BottomCountWithTies&amp;#58;&lt;br /&gt;2.99&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;17.94&lt;br /&gt;&lt;br /&gt;Expected result&amp;#58;&lt;br /&gt;2.99&lt;br /&gt;2.99&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;&lt;br /&gt;In any case, the 17.94 is out of order. The next figure after the 6&amp;#39;s should be 12.&lt;br /&gt;&lt;br /&gt;All the records&amp;#58;&lt;br /&gt;&amp;#33;&amp;#91;Image&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;i73.photobucket.com&amp;#47;albums&amp;#47;i201&amp;#47;sdjc1&amp;#47;temp&amp;#47;AllRevenue.png&amp;#41;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BottomCountWithTies with 5&amp;#58;&lt;br /&gt;&amp;#33;&amp;#91;Image&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;i73.photobucket.com&amp;#47;albums&amp;#47;i201&amp;#47;sdjc1&amp;#47;temp&amp;#47;BottomCountWithTies5.png&amp;#41;&lt;br /&gt;&lt;br /&gt;BottomCountWithTies with 11 &amp;#40;Correct&amp;#41;&amp;#58;&lt;br /&gt;&amp;#33;&amp;#91;Image&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;i73.photobucket.com&amp;#47;albums&amp;#47;i201&amp;#47;sdjc1&amp;#47;temp&amp;#47;BottomCountWithTies11.png&amp;#41;&lt;br /&gt;</description><author>dtroyz</author><pubDate>Wed, 24 Apr 2013 00:12:36 GMT</pubDate><guid isPermaLink="false">Created Issue: BottomCountWithTies returns wrong values [33998] 20130424121236A</guid></item><item><title>Commented Issue: Microsoft.AnalysisServices.xmla.dll [26183]</title><link>http://asstoredprocedures.codeplex.com/workitem/26183</link><description>&amp;#60;p&amp;#62;sqlconsumernet Today at 8&amp;#58;34 AM &amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Microsoft.AnalysisServices.xmla.dll is not available on my pc. I have win 7 with SQL 2008 SP1 &amp;#40;dev edition&amp;#41; and I can&amp;#38;&amp;#35;39&amp;#59;t find the dll anyware, even using the win 7 unhelpful search tool.Where can I get this resource so I can experiment with the ASSP project&amp;#63;Thanks,Gary&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: ** Comment from web user: pavanbarnala ** &lt;p&gt;I mean setting  SpecificVersion=true in the project file did the trick. I opened the solution in 2010 premium and added 2008 assemblies whichever was giving error and i was able to build successfully.&lt;br&gt;Thanks again&lt;/p&gt;</description><author>pavanbarnala</author><pubDate>Tue, 23 Oct 2012 16:38:36 GMT</pubDate><guid isPermaLink="false">Commented Issue: Microsoft.AnalysisServices.xmla.dll [26183] 20121023043836P</guid></item><item><title>Commented Issue: Microsoft.AnalysisServices.xmla.dll [26183]</title><link>http://asstoredprocedures.codeplex.com/workitem/26183</link><description>&amp;#60;p&amp;#62;sqlconsumernet Today at 8&amp;#58;34 AM &amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Microsoft.AnalysisServices.xmla.dll is not available on my pc. I have win 7 with SQL 2008 SP1 &amp;#40;dev edition&amp;#41; and I can&amp;#38;&amp;#35;39&amp;#59;t find the dll anyware, even using the win 7 unhelpful search tool.Where can I get this resource so I can experiment with the ASSP project&amp;#63;Thanks,Gary&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: ** Comment from web user: pavanbarnala ** &lt;p&gt;yes, that did the trick. Thank you&lt;/p&gt;</description><author>pavanbarnala</author><pubDate>Tue, 23 Oct 2012 16:36:17 GMT</pubDate><guid isPermaLink="false">Commented Issue: Microsoft.AnalysisServices.xmla.dll [26183] 20121023043617P</guid></item><item><title>Created Issue: incorporate Percentile patch provided by Richard Mintz [32876]</title><link>http://asstoredprocedures.codeplex.com/workitem/32876</link><description>Incorporate Richard&amp;#39;s percentile function into ASSP.&lt;br /&gt;&lt;br /&gt;See http&amp;#58;&amp;#47;&amp;#47;asstoredprocedures.codeplex.com&amp;#47;SourceControl&amp;#47;list&amp;#47;patches&lt;br /&gt;</description><author>furmangg</author><pubDate>Thu, 21 Jun 2012 14:16:42 GMT</pubDate><guid isPermaLink="false">Created Issue: incorporate Percentile patch provided by Richard Mintz [32876] 20120621021642P</guid></item><item><title>Created Issue: Add new method: FindCurrentTupleFilter [32662]</title><link>http://asstoredprocedures.codeplex.com/workitem/32662</link><description>We are currently using the FindCurrentTuple as a means to get the where clause of an MDX query that we send to SSRS as an SSAS Action of Type URL. This is done so that we can create detailed SSRS &amp;#34;Drill through&amp;#34; reports which are returned to the user with&lt;br /&gt; the context based on where the user clicked in Excel while browsing a cube.&lt;br /&gt;&lt;br /&gt;The problem is that Excel has a limitation on Action URL length, this is a known issue, http&amp;#58;&amp;#47;&amp;#47;social.technet.microsoft.com&amp;#47;Forums&amp;#47;et-EE&amp;#47;excel&amp;#47;thread&amp;#47;dfdcb8c8-9e2d-4b31-b4bb-f15908dbcf86&lt;br /&gt;&lt;br /&gt;As a work around we have modified the method to exclude user defined hierarchies and measures from the tuple since they are redundant in terms of what is returned based on the where clause. This makes a significant difference in URL length.&lt;br /&gt;&lt;br /&gt;Would it be possible to include something like this in ASSP&amp;#63; Perhaps the current FindCurrentTuple method could have a parameter to include&amp;#47; exclude user defined hierarchies and&amp;#47;or measures. Also see the post below which is similar to our requirement.&lt;br /&gt;&lt;br /&gt;Thank you for all your work done in this project.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Currently we are using&amp;#58;&lt;br /&gt;&lt;br /&gt;public static string FindCurrentTupleFilter&amp;#40;&amp;#41;        &amp;#123;            string output &amp;#61; &amp;#34;&amp;#40;&amp;#34;&amp;#59;            Boolean addcomma &amp;#61; false&amp;#59;&lt;br /&gt;            foreach &amp;#40;Dimension d in Context.CurrentCube.Dimensions&amp;#41;            &amp;#123;                &amp;#47;&amp;#47; skip measures             &lt;br /&gt;   if &amp;#40;d.DimensionType &amp;#61;&amp;#61; DimensionTypeEnum.Measure&amp;#41;                    continue&amp;#59;                                 &lt;br /&gt;               foreach &amp;#40;Hierarchy h in d.AttributeHierarchies&amp;#41;                &amp;#123;                 &amp;#47;&amp;#47;skip user defined hierarchies   &lt;br /&gt;                 if &amp;#40;h.HierarchyOrigin &amp;#61;&amp;#61; HierarchyOrigin.UserHierarchy&amp;#41;                        continue&amp;#59;&lt;br /&gt;                    if &amp;#40;&amp;#40;d.DimensionType &amp;#61;&amp;#61; DimensionTypeEnum.Measure &amp;#124;&amp;#124; h.CurrentMember.UniqueName &amp;#33;&amp;#61; h.DefaultMember&amp;#41; &amp;#47;&amp;#47;&amp;#38;&amp;#38; h.HierarchyOrigin &amp;#61;&amp;#61; HierarchyOrigin.AttributeHierarchy &amp;#47;&amp;#47;&amp;#38;&amp;#38; h.CurrentMember.UniqueName.Contains&amp;#40;&amp;#34;&amp;#91;All&amp;#93;&amp;#34;&amp;#41;&lt;br /&gt; &amp;#33;&amp;#61; true                        &amp;#41;                    &amp;#123;                        if &amp;#40;addcomma&lt;br /&gt; &amp;#61;&amp;#61; false&amp;#41;                            addcomma &amp;#61; true&amp;#59;                        else             &lt;br /&gt;               output &amp;#38;&amp;#35;43&amp;#59;&amp;#61; &amp;#34;,&amp;#34;&amp;#59;&lt;br /&gt;                        output &amp;#38;&amp;#35;43&amp;#59;&amp;#61; h.CurrentMember.UniqueName&amp;#59;                    &amp;#125;                &amp;#125;   &lt;br /&gt;         &amp;#125;            output &amp;#38;&amp;#35;43&amp;#59;&amp;#61; &amp;#34;&amp;#41;&amp;#34;&amp;#59;&lt;br /&gt;            return output&amp;#59;        &amp;#125;&lt;br /&gt;</description><author>furmangg</author><pubDate>Fri, 04 May 2012 02:43:12 GMT</pubDate><guid isPermaLink="false">Created Issue: Add new method: FindCurrentTupleFilter [32662] 20120504024312A</guid></item><item><title>Commented Issue: Error retrieving Meta data - invocation.Object reference not set to an instance of an object [32383]</title><link>http://asstoredprocedures.codeplex.com/workitem/32383</link><description>I was trying to get some Meta data information like SQL Column, DisplayFolder, and Translations of attributes and getting an error. Looks like for some places where we did not set DisplayFolder &amp;#47; Translation value for that getting errors. Is there a work around for this&amp;#63;&lt;br /&gt;&lt;br /&gt;Statement&amp;#58;&lt;br /&gt;call&lt;br /&gt;assp.discoverxmlmetadata&amp;#40;&amp;#34;Database&amp;#92;Dimensions&amp;#92;Dimension&amp;#92;Attributes&amp;#92;Attribute&amp;#124;Name,AttributeHierarchyDisplayFolder,Translations,EstimatedCount&amp;#92;NameColumn&amp;#92;Source&amp;#34;&amp;#41;&lt;br /&gt;&lt;br /&gt;Error&amp;#58;&lt;br /&gt;Execution of the managed stored procedure discoverxmlmetadata failed with the following error&amp;#58; Exception has been thrown by the target of an invocation.Object reference not set to an instance of an object..&lt;br /&gt;Internal error&amp;#58; An unexpected exception occurred.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Palash&lt;br /&gt;Comments: ** Comment from web user: palashaich ** &lt;p&gt;Thank You Dgosbell&amp;#33; I was looking for the DimensionName in cube and the SQL table behind the dimensions. Attribute name and the SQL column behind it, Display folder, visibility, translations and the same for all measures &amp;#47; measure groups. Please let me know once you fix this or if you come across a work around to get all of these in a single query.&lt;br /&gt;My email id is palashaich&amp;#64;gmail.com&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Palash&lt;/p&gt;</description><author>palashaich</author><pubDate>Mon, 19 Mar 2012 10:34:04 GMT</pubDate><guid isPermaLink="false">Commented Issue: Error retrieving Meta data - invocation.Object reference not set to an instance of an object [32383] 20120319103404A</guid></item><item><title>Commented Issue: Error retrieving Meta data - invocation.Object reference not set to an instance of an object [32383]</title><link>http://asstoredprocedures.codeplex.com/workitem/32383</link><description>I was trying to get some Meta data information like SQL Column, DisplayFolder, and Translations of attributes and getting an error. Looks like for some places where we did not set DisplayFolder &amp;#47; Translation value for that getting errors. Is there a work around for this&amp;#63;&lt;br /&gt;&lt;br /&gt;Statement&amp;#58;&lt;br /&gt;call&lt;br /&gt;assp.discoverxmlmetadata&amp;#40;&amp;#34;Database&amp;#92;Dimensions&amp;#92;Dimension&amp;#92;Attributes&amp;#92;Attribute&amp;#124;Name,AttributeHierarchyDisplayFolder,Translations,EstimatedCount&amp;#92;NameColumn&amp;#92;Source&amp;#34;&amp;#41;&lt;br /&gt;&lt;br /&gt;Error&amp;#58;&lt;br /&gt;Execution of the managed stored procedure discoverxmlmetadata failed with the following error&amp;#58; Exception has been thrown by the target of an invocation.Object reference not set to an instance of an object..&lt;br /&gt;Internal error&amp;#58; An unexpected exception occurred.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Palash&lt;br /&gt;Comments: ** Comment from web user: dgosbell ** &lt;p&gt;Hi Palash, sorry for the delay. I did start looking at this, but a number of other priorities have take precedence so I thought I should give you a quick update.&lt;/p&gt;&lt;p&gt;There are 2 issues here 1 is that Translations is not a single attribute. There is a whole hierarchy of elements under Translations and changing the code to accommodate flattening out intermediate structures like this would be quite difficult. The only work around I can think of at the moment would be to look at 2 queries, maybe via a linked server to get the name column source and translation information separately and then join them in your reporting layer.&lt;/p&gt;&lt;p&gt;The other information is the AttributeHiearchyDisplayFolder - this is an optional property and the current code builds the structure of the resultset based on the first object it finds, so if an optional property does not have a value in the first object it never generates a column for this. I will need to look  at the code to see if I can fix this.&lt;/p&gt;</description><author>dgosbell</author><pubDate>Fri, 16 Mar 2012 03:55:13 GMT</pubDate><guid isPermaLink="false">Commented Issue: Error retrieving Meta data - invocation.Object reference not set to an instance of an object [32383] 20120316035513A</guid></item><item><title>Created Issue: Error retrieving Meta data - invocation.Object reference not set to an instance of an object [32383]</title><link>http://asstoredprocedures.codeplex.com/workitem/32383</link><description>I was trying to get some Meta data information like SQL Column, DisplayFolder, and Translations of attributes and getting an error. Looks like for some places where we did not set DisplayFolder &amp;#47; Translation value for that getting errors. Is there a work around for this&amp;#63;&lt;br /&gt;&lt;br /&gt;Statement&amp;#58;&lt;br /&gt;call&lt;br /&gt;assp.discoverxmlmetadata&amp;#40;&amp;#34;Database&amp;#92;Dimensions&amp;#92;Dimension&amp;#92;Attributes&amp;#92;Attribute&amp;#124;Name,AttributeHierarchyDisplayFolder,Translations,EstimatedCount&amp;#92;NameColumn&amp;#92;Source&amp;#34;&amp;#41;&lt;br /&gt;&lt;br /&gt;Error&amp;#58;&lt;br /&gt;Execution of the managed stored procedure discoverxmlmetadata failed with the following error&amp;#58; Exception has been thrown by the target of an invocation.Object reference not set to an instance of an object..&lt;br /&gt;Internal error&amp;#58; An unexpected exception occurred.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Palash&lt;br /&gt;</description><author>palashaich</author><pubDate>Thu, 08 Mar 2012 15:40:08 GMT</pubDate><guid isPermaLink="false">Created Issue: Error retrieving Meta data - invocation.Object reference not set to an instance of an object [32383] 20120308034008P</guid></item><item><title>Created Issue: Action not visible in AS 2008 with perspectives [32325]</title><link>http://asstoredprocedures.codeplex.com/workitem/32325</link><description>from fpatou&amp;#58;&lt;br /&gt;Just to give me feedback we have resolved this by a modification of the FindCurrentTuple&amp;#40;&amp;#41; method by adding AMOHelpers.GetCurrentCubeName&amp;#40;&amp;#41;&amp;#58;&lt;br /&gt;&lt;br /&gt;public static string FindCurrentTuple&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            string output &amp;#61; &amp;#34;&amp;#40;&amp;#34;&amp;#59;&lt;br /&gt;            Boolean addcomma &amp;#61; false&amp;#59;&lt;br /&gt;            foreach &amp;#40;Dimension d in Context.Cubes&amp;#91;AMOHelpers.GetCurrentCubeName&amp;#40;&amp;#41;&amp;#93;.Dimensions&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                foreach &amp;#40;Hierarchy h in d.AttributeHierarchies&amp;#41;&lt;br /&gt;                &amp;#123;&lt;br /&gt;                    if &amp;#40;d.DimensionType &amp;#61;&amp;#61; DimensionTypeEnum.Measure &amp;#124;&amp;#124; h.CurrentMember.UniqueName &amp;#33;&amp;#61; h.DefaultMember&amp;#41;&lt;br /&gt;                    &amp;#123;&lt;br /&gt;                        if &amp;#40;addcomma &amp;#61;&amp;#61; false&amp;#41;&lt;br /&gt;                            addcomma &amp;#61; true&amp;#59;&lt;br /&gt;                        else&lt;br /&gt;                            output &amp;#43;&amp;#61; &amp;#34;,&amp;#34;&amp;#59;&lt;br /&gt;                        output &amp;#43;&amp;#61; h.CurrentMember.UniqueName&amp;#59;&lt;br /&gt;                    &amp;#125;&lt;br /&gt;                &amp;#125;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            output &amp;#43;&amp;#61; &amp;#34;&amp;#41;&amp;#34;&amp;#59;&lt;br /&gt;            return output&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;</description><author>furmangg</author><pubDate>Mon, 27 Feb 2012 20:42:29 GMT</pubDate><guid isPermaLink="false">Created Issue: Action not visible in AS 2008 with perspectives [32325] 20120227084229P</guid></item><item><title>Closed Issue: Exception using ASSP.GetCubeLastProcessedDate() for AS 2008 [31307]</title><link>http://asstoredprocedures.codeplex.com/workitem/31307</link><description>I receive following exception using ASSP.GetCubeLastProcessedDate&amp;#40;&amp;#41; in AS 2008 R2 &lt;br /&gt;&lt;br /&gt;Exception has been thrown by the target of an invocation.&lt;br /&gt;Could not load file or assembly &amp;#39;Microsoft.AnalysisServices, Version&amp;#61;9.0.242.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;89845dcd8080cc91&amp;#39; &lt;br /&gt;or one of its dependencies. The system cannot find the file specified..&lt;br /&gt;&lt;br /&gt;It seems that function still refers to AS 2005 assembly.&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>furmangg</author><pubDate>Wed, 24 Aug 2011 18:40:22 GMT</pubDate><guid isPermaLink="false">Closed Issue: Exception using ASSP.GetCubeLastProcessedDate() for AS 2008 [31307] 20110824064022P</guid></item><item><title>Commented Issue: Exception using ASSP.GetCubeLastProcessedDate() for AS 2008 [31307]</title><link>http://asstoredprocedures.codeplex.com/workitem/31307</link><description>I receive following exception using ASSP.GetCubeLastProcessedDate&amp;#40;&amp;#41; in AS 2008 R2 &lt;br /&gt;&lt;br /&gt;Exception has been thrown by the target of an invocation.&lt;br /&gt;Could not load file or assembly &amp;#39;Microsoft.AnalysisServices, Version&amp;#61;9.0.242.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;89845dcd8080cc91&amp;#39; &lt;br /&gt;or one of its dependencies. The system cannot find the file specified..&lt;br /&gt;&lt;br /&gt;It seems that function still refers to AS 2005 assembly.&lt;br /&gt;Comments: ** Comment from web user: msolcia ** &lt;p&gt;I apologize. There was another version of ASSP in the database that overwrites the ASSP on server level.&lt;br /&gt;Please close the issue.&lt;/p&gt;</description><author>msolcia</author><pubDate>Wed, 24 Aug 2011 14:58:46 GMT</pubDate><guid isPermaLink="false">Commented Issue: Exception using ASSP.GetCubeLastProcessedDate() for AS 2008 [31307] 20110824025846P</guid></item><item><title>Created Issue: Exception using ASSP.GetCubeLastProcessedDate() for AS 2008 [31307]</title><link>http://asstoredprocedures.codeplex.com/workitem/31307</link><description>I receive following exception using ASSP.GetCubeLastProcessedDate&amp;#40;&amp;#41; in AS 2008 R2 &lt;br /&gt;&lt;br /&gt;Exception has been thrown by the target of an invocation.&lt;br /&gt;Could not load file or assembly &amp;#39;Microsoft.AnalysisServices, Version&amp;#61;9.0.242.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;89845dcd8080cc91&amp;#39; &lt;br /&gt;or one of its dependencies. The system cannot find the file specified..&lt;br /&gt;&lt;br /&gt;It seems that function still refers to AS 2005 assembly.&lt;br /&gt;</description><author>msolcia</author><pubDate>Wed, 24 Aug 2011 14:51:24 GMT</pubDate><guid isPermaLink="false">Created Issue: Exception using ASSP.GetCubeLastProcessedDate() for AS 2008 [31307] 20110824025124P</guid></item><item><title>Commented Issue: windows 7, sql server 2008 R2 enterprise, cannot see any of your methods [31203]</title><link>http://asstoredprocedures.codeplex.com/workitem/31203</link><description>i have some very strange behaviour.&lt;br /&gt;&lt;br /&gt;running windows 7 with sql server 2008 r2 enterprise.&lt;br /&gt;&lt;br /&gt;when i deploy an assembly &amp;#40;one that i have built&amp;#41; to the as instance i can only use methods that have either no parameters or only have base type parameters.&lt;br /&gt;&lt;br /&gt;so i thought i&amp;#39;d give your project ago, and i cannot see any of you methods.&lt;br /&gt;&lt;br /&gt;any ideas&amp;#63;&lt;br /&gt;&lt;br /&gt;many thanks.&lt;br /&gt;&lt;br /&gt;dave.&lt;br /&gt;Comments: ** Comment from web user: bigdave1971 ** &lt;p&gt;big apologies, have wasted your time.&lt;/p&gt;&lt;p&gt;got it to work, not sure what i am doing differently to yesterday.&lt;/p&gt;&lt;p&gt;many thanks for your prompt reply.&lt;/p&gt;&lt;p&gt;Dave.&lt;/p&gt;</description><author>bigdave1971</author><pubDate>Mon, 08 Aug 2011 21:15:14 GMT</pubDate><guid isPermaLink="false">Commented Issue: windows 7, sql server 2008 R2 enterprise, cannot see any of your methods [31203] 20110808091514P</guid></item><item><title>Commented Issue: windows 7, sql server 2008 R2 enterprise, cannot see any of your methods [31203]</title><link>http://asstoredprocedures.codeplex.com/workitem/31203</link><description>i have some very strange behaviour.&lt;br /&gt;&lt;br /&gt;running windows 7 with sql server 2008 r2 enterprise.&lt;br /&gt;&lt;br /&gt;when i deploy an assembly &amp;#40;one that i have built&amp;#41; to the as instance i can only use methods that have either no parameters or only have base type parameters.&lt;br /&gt;&lt;br /&gt;so i thought i&amp;#39;d give your project ago, and i cannot see any of you methods.&lt;br /&gt;&lt;br /&gt;any ideas&amp;#63;&lt;br /&gt;&lt;br /&gt;many thanks.&lt;br /&gt;&lt;br /&gt;dave.&lt;br /&gt;Comments: ** Comment from web user: dgosbell ** &lt;p&gt;I&amp;#39;m running the same sort of configuration and it works fine for me. So I don&amp;#39;t think it&amp;#39;s a Win7 or 2008 R2 issue. Can you post an example of a query or statement that is not working for you&amp;#63; Have you tried downloading the pre-compiled assembly and seeing if that works any differently&amp;#63;&lt;/p&gt;</description><author>dgosbell</author><pubDate>Sun, 07 Aug 2011 23:42:26 GMT</pubDate><guid isPermaLink="false">Commented Issue: windows 7, sql server 2008 R2 enterprise, cannot see any of your methods [31203] 20110807114226P</guid></item><item><title>Created Issue: windows 7, sql server 2008 R2 enterprise, cannot see any of your methods [31203]</title><link>http://asstoredprocedures.codeplex.com/workitem/31203</link><description>i have some very strange behaviour.&lt;br /&gt;&lt;br /&gt;running windows 7 with sql server 2008 r2 enterprise.&lt;br /&gt;&lt;br /&gt;when i deploy an assembly &amp;#40;one that i have built&amp;#41; to the as instance i can only use methods that have either no parameters or only have base type parameters.&lt;br /&gt;&lt;br /&gt;so i thought i&amp;#39;d give your project ago, and i cannot see any of you methods.&lt;br /&gt;&lt;br /&gt;any ideas&amp;#63;&lt;br /&gt;&lt;br /&gt;many thanks.&lt;br /&gt;&lt;br /&gt;dave.&lt;br /&gt;</description><author>bigdave1971</author><pubDate>Sun, 07 Aug 2011 18:47:13 GMT</pubDate><guid isPermaLink="false">Created Issue: windows 7, sql server 2008 R2 enterprise, cannot see any of your methods [31203] 20110807064713P</guid></item><item><title>Closed Issue: ASSP.SnapshotMemoryUsageTotals Error [18620]</title><link>http://asstoredprocedures.codeplex.com/workitem/18620</link><description>Getting this message after about 10 seconds when running the snapshot function....&lt;br /&gt;&lt;br /&gt;Executing the query ...&lt;br /&gt;Execution of the managed stored procedure SnapshotMemoryUsageTotals failed with the following error&amp;#58; Exception has been thrown by the target of an invocation.Root element is missing..&lt;br /&gt;Execution complete&lt;br /&gt;Comments: Resolved with changeset 89855.</description><author>furmangg</author><pubDate>Thu, 09 Jun 2011 17:51:44 GMT</pubDate><guid isPermaLink="false">Closed Issue: ASSP.SnapshotMemoryUsageTotals Error [18620] 20110609055144P</guid></item></channel></rss>