SQL Server

  • Open SSRS report in a new Window

    There isn’t yet a built-in facility within Reporting Services to open a report link (i.e. a drillthrough report) in a new browser window or tab, however it isn’t too tricky to get this to work using a bit of javascript. javascript:void(window.open(Destination,’_blank’)) My preferred method is to wrap this up into a custom code function such as Function OpenURL(ByVal URL As String) As String Return…

    » Read more
  • Excel Addin for Analysis Services

    For any users of Analysis Services, if you haven’t already downloaded the Excel (2002/2003) addin you’re missing out. It’s a free download from Microsoft which significantly expands Excel’s cube querying ability. Well recommended! Get it at http://www.microsoft.com/downloads/details.aspx?FamilyId=DAE82128-9F21-475D-88A4-4B6E6C069FF0&displaylang=en [Update 31 Aug 2023: Microsoft have now removed this download –…

    » Read more
  • Convert MDX fields to SQL

    A number of our customers have reporting systems that use both MDX and SQL, retrieving data from both OLAP and SQL Server databases. This generates the problem of converting an MDX field ([Dimension].[Hierarchy].&[Attribute]) into SQL Server field value (Attribute). The following code is a Reporting Services custom code section that will rip off the MDX and leave you with the value.     Public Function MDXParamToSQL(Parameter As String,…

    » Read more
  • Chris Hays Reporting Services Sleazy Hacks

    It really wouldn’t be fair to kick off the Frog-Blog without a shout out to Chris Hays and his superb ‘Sleazy Hacks’ site. If you want to push SQL Server Reporting Services further than anyone else, then Chris will definately have something of use to you. He designed the RDL report language – the guy knows what he’s talking about. blogs.msdn.com/ChrisHays

    » Read more