Quantcast
Channel: Martin Dráb's Activities
Viewing all articles
Browse latest Browse all 17532

Creating a date range parameter on SSRS report in AX 2012

$
0
0

Hi,

I'm brand new to the forum and to Dynamics AX 2012 report development, and have a question around ranges and parameters.

I've built a new query in the AOT, dragged tables into, and defined the relationships.  I've made a test report and precision design in Visual Studio 2010 and the query pulls the data I expected and displays it appropriately.  Now, I am looking to add the ability for the user to enter a date range to run the report for.

I've tried adding a column to my query as a range.  The column is called startDateTime and is data type DateTime.  I refresh my data set in VS, and it appears as a parameter under both the data set, as well as the report.  By default, it is giving me the option to enter a single DateTime value which appears to be added to the query as a constraint.

However, I want the user to enter a date range, preferably without entering times.  For example, 01-SEP-2014 to 30-SEP-2014.  I haven't found any way to change the data type to strip the time off, nor have I found a way to choose a date range instead of a single date.

I did try using the "dot-dot" syntax:  9/1/2014..9/30/2014 and I received an error. Trying it with time attached doesn't work either.

Can anyone provide advice on the proper way to accomplish this?

Thanks much.

Tony


Viewing all articles
Browse latest Browse all 17532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>