Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > SQL Language
| Search | Today's Posts | Mark Forums Read
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 30th, 2007, 05:32 AM
Registered User
 
Join Date: May 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with the parameter date in a mdx query

hello,
 i work with Reporting Services 2005 and i need de display data from my cube according to a value chosen by the user.
when i use the wizard to add the parameter date to my query,the typ is string.it works in condition to choose de parameter from the list of dates my cube.
Code:
SELECT NON EMPTY { [Measures].[Flux Op] } ON COLUMNS, NON EMPTY { ([Periode Dim 1].[Periode Dim].[Periode Dim].ALLMEMBERS * [Ecriture 1].[Domiciliation].[Domiciliation].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM ( SELECT ( STRTOSET(@PeriodeDimPeriodeDim, CONSTRAINED) ) ON COLUMNS FROM [cube_base_test]) CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
when i change the type into datetime in order the date frm the calender, i have error message(with strtoset).
i have tried something like: where("&Parameters!PeriodeDimPeriodeDim.Value&") it doesn't work.
i need your help
thanks a lot






Similar Threads
Thread Thread Starter Forum Replies Last Post
Date Parameter in a Union Query bright_mulenga Access VBA 8 January 25th, 2008 08:13 AM
Date Parameter in a Union Query bright_mulenga Access VBA 0 January 17th, 2008 03:52 AM
Problem in calculating total sales in MDX query jaee SQL Server 2000 0 March 9th, 2007 11:10 AM
Date parameter problem SethTalbott SQL Server ASP 3 September 22nd, 2004 12:24 PM
Running MDX Query from crystal reports syedjavid Crystal Reports 1 August 23rd, 2004 06:41 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.