SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Analysis Server and Reporting Services (2012)
 Get dimension member from parameter
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

waterduck
Aged Yak Warrior

Malaysia
940 Posts

Posted - 10/01/2013 :  03:47:30  Show Profile  Reply with Quote
SELECT
MEASURES ON 0
, {StrToMember("[Product].[Product].&[" + "223" + "]")} * [Product].[Model Name] ON 1
FROM
[Adventure Works]


How do i get the actual model name? above query is returning

wrong output
		                Reseller Sales Amount
-------------------------------------------------------
AWC Logo Cap	All Products	$5,081.05



should be
		                Reseller Sales Amount
-------------------------------------------------------
AWC Logo Cap	Cycling Cap	$5,081.05



  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000