<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Speeding up sluggish CRM reports that use date/time parameters</title><link>http://blogs.msdn.com/b/crminthefield/archive/2011/03/09/speeding-up-sluggish-crm-reports-that-use-date-time-parameters.aspx</link><description>As many of you may know, when writing custom reports for CRM 4.0 you are required to use the filtered views. The upside is filteredViews make security a snap for reporting against CRM data, and they offer a consistent dataset between the user will see</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Speeding up sluggish CRM reports that use date/time parameters</title><link>http://blogs.msdn.com/b/crminthefield/archive/2011/03/09/speeding-up-sluggish-crm-reports-that-use-date-time-parameters.aspx#10141501</link><pubDate>Tue, 15 Mar 2011 16:54:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10141501</guid><dc:creator>Sean McNellis</dc:creator><description>&lt;p&gt;@DoingThisForAWhile - good observation. &amp;nbsp;You&amp;#39;re correct, some additional logic could be added to individually adjust each date/time value on the report. Especially relevant with the daylight savings time shift this past weekend. &amp;nbsp;I&amp;#39;ve seen customers hard code their offsets in the report before or report in UTC to make the reports run quicker and the intent was to offer another way that would be more dynamic on a per user basis. This is not quite a one size fits all solution - and if we can find a way to write a step-by-step posting that could be applied to all reporting in which all the date/times would be masked we&amp;#39;ll post one. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll look to try and revisit this posting to account for DST in each value - but it will be a much more extensive posting in which I may have to re-write fn_UTCToTzSpecificLocalTime such that it could be used in each SSRS dataset and also recreate this functionality to be used within the report as an SSRS function. &amp;nbsp;Thanks for pointing this out!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10141501" width="1" height="1"&gt;</description></item><item><title>re: Speeding up sluggish CRM reports that use date/time parameters</title><link>http://blogs.msdn.com/b/crminthefield/archive/2011/03/09/speeding-up-sluggish-crm-reports-that-use-date-time-parameters.aspx#10140694</link><pubDate>Mon, 14 Mar 2011 13:25:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10140694</guid><dc:creator>DoingThisForAWhile</dc:creator><description>&lt;p&gt;This system makes one very important assumption: that all dates shown in the report or needing conversion in the report are in the same daylight savings bias. &amp;nbsp;In the example above, the term January 15th is hard coded into the TimezoneConversions dataset and subsequently into the MinutesToUTC parameter which is used then for conversion. &amp;nbsp;This query should accept an input parameter, perhaps @beginDateTime, as the date which the function uses to calcuate MinutesToUTC. &amp;nbsp;However, it is evident even in this scenario that the beginDateTime and the endDateTime could have two different biases. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;In many reports it is common to have multiple dates listed. &amp;nbsp;This is another scenario in which only have one MinutesToUTC parameter is limiting. &amp;nbsp;If one date is in daylight savings time and another is not, one of them will be wrong.&lt;/p&gt;
&lt;p&gt;This is a clever idea, and I may implement it in the right circumstances, but I don&amp;#39;t think that it is as useful as adverstised. &amp;nbsp;At least not in the countries which observe daylight savings.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10140694" width="1" height="1"&gt;</description></item></channel></rss>