SSRS 2012 Displaying unwanted subtotal rows in reports

This looks like an Issue that has been noted and solved in prior versions of SSRS however we are now seeing similar issues in SSRS 2012 and have been unable to find a solution to this yet...
Basically when we export a report with groupings and no subtotals to excel we get blank rows added to excel with the subtotals for each level in the report - sample is below, unwanted rows are highlighted in yellow:
This was a very simple report, I have included the DQL and the RDL below for any help as we cannot get to the bottom of this problem...
SQL - create this table in any database:
create table test_SSRS
( Department varchar(50),Category varchar(50),Product varchar(50),market_value int );
insert test_SSRS
select 'Electronics','Computer', 'Laptops', 20000.00
union
select 'Electronics','Computer', 'Notebooks', 40000.00
union
select 'Electronics','Computer', 'Desktops', 40000.00
union
select 'Electronics','TV', 'LED', 60000.00
union
select 'Electronics','TV', 'Smart TV', 70000.00
union
select 'Cell Phones','Smart Phone', 'iPhone', 50000.00
union
select 'Cell Phones','Smart Phone', 'Google Phone', 60000.00
union
select 'Cell Phones','Tablets', 'iPad', 150000.00
union
select 'Cell Phones','Tablets', 'Kindle', 100000.00
RDL
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition">
<AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSource Name="DataSource1">
<ConnectionProperties>
<DataProvider>SQL</DataProvider>
<ConnectString>Data Source=stansqlq1;Initial Catalog=DATAMART</ConnectString>
<IntegratedSecurity>true</IntegratedSecurity>
</ConnectionProperties>
<rd:SecurityType>Integrated</rd:SecurityType>
<rd:DataSourceID>30d18984-87ed-4236-a848-87f0c77010c1</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="DataSet1">
<Query>
<DataSourceName>DataSource1</DataSourceName>
<CommandText>select * from test_SSRS</CommandText>
</Query>
<Fields>
<Field Name="Department">
<DataField>Department</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Category">
<DataField>Category</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Product">
<DataField>Product</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="market_value">
<DataField>market_value</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
</Fields>
</DataSet>
</DataSets>
<ReportSections>
<ReportSection>
<Body>
<ReportItems>
<Tablix Name="Tablix2">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>1in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.25in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox6">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>market value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox6</rd:DefaultName>
<Style>
<Border>
<Color>#7292cc</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>#4c68a2</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.25in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="market_value">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!market_value.Value)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<Color>#4d4d4d</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>market_value</rd:DefaultName>
<Style>
<Border>
<Color>#e5e5e5</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<TablixHeader>
<Size>1in</Size>
<CellContents>
<Textbox Name="Textbox11">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Department</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox11</rd:DefaultName>
<Style>
<Border>
<Color>#7292cc</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>#4c68a2</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember>
<TablixHeader>
<Size>1in</Size>
<CellContents>
<Textbox Name="Textbox9">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Category</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox9</rd:DefaultName>
<Style>
<Border>
<Color>#7292cc</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>#4c68a2</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember>
<TablixHeader>
<Size>1in</Size>
<CellContents>
<Textbox Name="Textbox7">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Product</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox7</rd:DefaultName>
<Style>
<Border>
<Color>#7292cc</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>#4c68a2</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember />
</TablixMembers>
</TablixMember>
</TablixMembers>
</TablixMember>
</TablixMembers>
</TablixMember>
<TablixMember>
<Group Name="Department">
<GroupExpressions>
<GroupExpression>=Fields!Department.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!Department.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>1in</Size>
<CellContents>
<Textbox Name="Department">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!Department.Value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
<Color>#465678</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Department</rd:DefaultName>
<Style>
<Border>
<Color>#c6daf8</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>#9eb6e4</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember>
<Group Name="Category">
<GroupExpressions>
<GroupExpression>=Fields!Category.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!Category.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>1in</Size>
<CellContents>
<Textbox Name="Category">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!Category.Value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
<Color>#4c68a2</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Category</rd:DefaultName>
<Style>
<Border>
<Color>#e6eefc</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>#c6daf8</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember>
<Group Name="Product">
<GroupExpressions>
<GroupExpression>=Fields!Product.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!Product.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>1in</Size>
<CellContents>
<Textbox Name="Product">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!Product.Value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
<Color>#4c68a2</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Product</rd:DefaultName>
<Style>
<Border>
<Color>White</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>#e6eefc</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember />
</TablixMembers>
<Visibility>
<Hidden>true</Hidden>
<ToggleItem>Category</ToggleItem>
</Visibility>
</TablixMember>
</TablixMembers>
<Visibility>
<Hidden>true</Hidden>
<ToggleItem>Department</ToggleItem>
</Visibility>
</TablixMember>
</TablixMembers>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>DataSet1</DataSetName>
<Top>0.4in</Top>
<Height>0.5in</Height>
<Width>4in</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Tablix>
<Textbox Name="ReportTitle">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style>
<FontFamily>Verdana</FontFamily>
<FontSize>20pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:WatermarkTextbox>Title</rd:WatermarkTextbox>
<rd:DefaultName>ReportTitle</rd:DefaultName>
<Height>0.4in</Height>
<Width>5.5in</Width>
<ZIndex>1</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems>
<Height>2.25in</Height>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Body>
<Width>6in</Width>
<Page>
<PageFooter>
<Height>0.45in</Height>
<PrintOnFirstPage>true</PrintOnFirstPage>
<PrintOnLastPage>true</PrintOnLastPage>
<ReportItems>
<Textbox Name="ExecutionTime">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Globals!ExecutionTime</Value>
<Style />
</TextRun>
</TextRuns>
<Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>ExecutionTime</rd:DefaultName>
<Top>0.2in</Top>
<Left>4in</Left>
<Height>0.25in</Height>
<Width>2in</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</PageFooter>
<LeftMargin>1in</LeftMargin>
<RightMargin>1in</RightMargin>
<TopMargin>1in</TopMargin>
<BottomMargin>1in</BottomMargin>
<Style />
</Page>
</ReportSection>
</ReportSections>
<rd:ReportUnitType>Inch</rd:ReportUnitType>
<rd:ReportID>fe1e2732-fe09-4d24-9c9b-2fb7d1724e2e</rd:ReportID>
</Report>
In order to test with this switch the datasource to your local database.
Jeremy Gillespie

Hi Jeremy,
After testing the issue in my environment, I can reproduce it. When we export a report with drilldown actions to excel, it will add an extra row for each group. The reason behind the extra row is to provide at least one row for excel that always displays
regardless the toggle state. In your scenario, if we use the =Sum(Fields!market_value.Value) in the details row, then the extra row will display the total of this group, if we use the Fields!market_value.Value in the details row, then the extra row will display
the first value of this group. Based on my research, this is by design.
Thank you for your understanding.
Regards,
Katherine Xiong
If you have any feedback on our support, please click
here.
Katherine Xiong
TechNet Community Support

Similar Messages

  • How to Not Display Exact Duplicate Rows in Report

    I have a report that displays many duplicate rows where all fields in several rows are exact duplicates.  I would like to know how to make it so that the entire row does not show up if it is an exact duplicate of another row.  Any ideas?  Thanks.

    I literally have been pulling my hair out for the past 3 days with the same issue.  I'm new to SSRS.  I created a new report where I basically only wanted to show order header info, but unfortunately, some of the info I need to show at the header
    level is only kept at the detail level.  So, when I linked the order header to the order detail (one to many) I got a duplicate row for every line that was in the order detail.   I tried to group just by order number (thinking it would roll
    all the dups up) but that didn't work.  Doing a group on all the fields on the report did the trick.
    I owe Mainiac007 a beer!!!! :)

  • How to display only one row in report when...

    Hi,
      I've a report display in which i've 3 fields EBELN, LIFNR , MENGE. EBELN, LIFNR are from EKKO table and MENGE id from EKPO table .
             On clicking the EBELN there will be getting another report in which we get EBELN,EBELP and MATNR and MENGE from EKPO table .
           The problem is while displaying 1st report if the purchase order has two items in EKPO table then its displaying two times. How can i get only one time and the MENGE should be sum of those two item prices.

    hi use the statement not to get the  multiple items..
    sort itab by ebeln.
    delete adjacent duplicates from itab comparing vbeln.
    i will give u an example to get the total and subtotal ....
    *& Report  ZR_A1
    REPORT  ZR_A1
            NO STANDARD PAGE HEADING.
    Tables declarations
    TABLES: VBAK, VBAP.
    Variable declarations
    DATA: C1 TYPE C.
    Internal Table declarations*
    DATA: BEGIN OF IT_VBAK OCCURS 0,
          VBELN LIKE VBAK-VBELN,
          VKORG LIKE VBAK-VKORG,
          VTWEG LIKE VBAK-VTWEG,
          SPART LIKE VBAK-SPART,
          END OF IT_VBAK.
    DATA: BEGIN OF IT_VBAP OCCURS 0,
          VBELN LIKE VBAP-VBELN,
          POSNR LIKE VBAP-POSNR,
          MATNR LIKE VBAP-MATNR,
          NETWR LIKE VBAP-NETWR,
          BRGEW LIKE VBAP-BRGEW,
          NTGEW LIKE VBAP-NTGEW,
          END OF IT_VBAP.
    DATA: BEGIN OF IT_FINAL OCCURS 0,
          VBELN LIKE VBAK-VBELN,
          VKORG LIKE VBAK-VKORG,
          VTWEG LIKE VBAK-VTWEG,
          SPART LIKE VBAK-SPART,
          POSNR LIKE VBAP-POSNR,
          MATNR LIKE VBAP-MATNR,
          NETWR LIKE VBAP-NETWR,
          BRGEW LIKE VBAP-BRGEW,
          NTGEW LIKE VBAP-NTGEW,
    END OF IT_FINAL.
    Selection-screen design
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-R01.
    SELECT-OPTIONS: S_VBELN FOR VBAK-VBELN.
    SELECTION-SCREEN: END OF BLOCK B1.
    TOP-OF-PAGE.
    FORMAT INTENSIFIED ON COLOR 5.
    WRITE:/7 'LIST TO DISPLAY SALES ITEM INFO'.
    START-OF-SELECTION.
    Populating it_vbak table
    SELECT VBELN
           VKORG
           VTWEG
           SPART
           FROM VBAK
           INTO TABLE IT_VBAK
           WHERE VBELN IN S_VBELN.
    populating it_vbap table
    IF NOT IT_VBAK[] IS INITIAL.
    SELECT  VBELN
            POSNR
            MATNR
            NETWR
            BRGEW
            NTGEW
            FROM VBAP
            INTO TABLE IT_VBAP
            FOR ALL ENTRIES IN IT_VBAK
            WHERE VBELN = IT_VBAK-VBELN.
    ENDIF.
    populating the final list
    LOOP AT IT_VBAP.
    READ TABLE IT_VBAK WITH KEY VBELN = IT_VBAP-VBELN.
    IF SY-SUBRC = 0.
    MOVE:  IT_VBAK-VBELN TO IT_FINAL-VBELN,
           IT_VBAK-VKORG TO IT_FINAL-VKORG,
           IT_VBAK-VTWEG TO IT_FINAL-VTWEG,
           IT_VBAK-SPART TO IT_FINAL-SPART,
           IT_VBAP-POSNR TO IT_FINAL-POSNR,
           IT_VBAP-MATNR TO IT_FINAL-MATNR,
           IT_VBAP-NETWR TO IT_FINAL-NETWR,
           IT_VBAP-BRGEW TO IT_FINAL-BRGEW,
           IT_VBAP-NTGEW TO IT_FINAL-NTGEW.
    APPEND IT_FINAL.
    ENDIF.
    ENDLOOP.
    SORT IT_FINAL BY VBELN.
    LOOP AT IT_FINAL.
    AT FIRST.
    FORMAT INTENSIFIED ON COLOR 1.
    WRITE:/35 'SALES DOCUMENT ITEM LIST'.
    ULINE AT (100).
    *endat.
    FORMAT INTENSIFIED ON COLOR 5.
    WRITE:/ SY-VLINE,
          2  'SALES.DOCU.NO',
          13 'ITEM',
          21 'MATERIAL',
          50 'NET-VAL',
          65 'GROSS-WT',
          82 'NET-WT',
          100 SY-VLINE.
    ENDAT.
    FORMAT INTENSIFIED ON COLOR 2.
    WRITE:/ SY-VLINE,
           2   C1 AS CHECKBOX,
           5 IT_FINAL-VBELN,
          13  IT_FINAL-POSNR,
          21  IT_FINAL-MATNR,
          41  IT_FINAL-NETWR,
          56  IT_FINAL-BRGEW,
          71  IT_FINAL-NTGEW,
          100 SY-VLINE.
    AT END OF VBELN.
    SUM.
    FORMAT INTENSIFIED ON COLOR 3.
    WRITE:/    SY-VLINE,
             30   'SUB-TOTAL:',
             41   IT_FINAL-NETWR,
             56   IT_FINAL-BRGEW,
             71   IT_FINAL-NTGEW.
       WRITE:/100 SY-VLINE.
    ENDAT.
    AT LAST.
    SUM.
    FORMAT INTENSIFIED ON COLOR 6.
    WRITE:/ SY-VLINE,
              30  'GRAND-TOTAL:',
              41  IT_FINAL-NETWR,
              56  IT_FINAL-BRGEW,
              71  IT_FINAL-NTGEW.
      WRITE:/100  SY-VLINE.
      ENDAT.
      ENDLOOP.
    regards,
    venkat .

  • SSRS 2012 Reports freeze after first run in IE 11

    Hello,
    We have just recently upgraded/migrated from SSRS 2008R2 to SSRS 2012 sp2 (Windows 2012 R1). 
    We have found one report so far when using IE 11 that after the first run from the client side Internet Explorer freezes.  The report normally takes 4-5 seconds to run.  I have waited an hour and the report has not resolved.
    The same report runs fine in Firefox or Chrome, even after multiple runs.  It also continues to run fine from our SSRS 2008R2 server from IE 11.
    I have tried private browsing and it still only runs once and will not run again.  I have tried compatability mode and it will not run either.  I have also noted that it will crash our ERP system (java based) when it is running at the same time
    in IE as when I run this report.  Other reports seem to work fine.
    The report is simple, it is just a report of subscriptions from ReportServer.  There is some XML parsing in there though.  It is the only difference that I can see in all the other reports on the system.  Oh, the report runs fine from
    Visual Studio 2012.  I have redeployed, and no luck yet.
    Here is my query
    WITH [EMAIL]([SubscriptionID], [EmailLine]) AS
     SELECT  I.[SubscriptionID],
             I1.rows.value('Value [1]', 'VARCHAR(MAX)') AS [EmailLine]
     FROM    (
              --if the Subscription is an e-mail, get the XML fragment which contains the Email line
              SELECT  S.[SubscriptionID],
                      --add a "root" element to create well-formed XML to the "ExtensionSettings"
                      --(in case it's NULL)
                      CONVERT(XML, N'<Root>' + CONVERT(NVARCHAR(MAX), S.[ExtensionSettings]) + N'</Root>') AS [ExtensionSettings]
              FROM    ReportServer.dbo.[Subscriptions] S WITH (NOLOCK)
              WHERE   --only get e-mail subscriptions
                      S.[DeliveryExtension] = 'Report Server Email'
             ) I CROSS APPLY
                 --pull out elements in the "ParameterValues/ParameterValue" hierarchy
                 I.ExtensionSettings.nodes('/Root/ParameterValues/ParameterValue') AS I1(rows)
     WHERE   --only get the Subject field
             --I1.rows.value('Name [1]', 'VARCHAR(100)') = 'Subject'
             I1.rows.value('Name [1]', 'VARCHAR(100)') IN ('TO', 'BCC','CC')
    --get subscription data for all users
    SELECT   replace([EMAIL].[EmailLine], '@plu.edu','') email_line,
            --internally put-together description of subscription
    --        S.[Description],
            --user-friendly message for what happened the last time the subscription ran
            --which may be "New Subscription"
            --report path and name
            C.[Path], C.[Name],
            --start date and end date for schedule
            SC.[StartDate], SC.[EndDate],
            --when the subscription was modified
            S.[ModifiedDate]
    FROM    --actual subscriptions
            ReportServer.dbo.[Subscriptions] S WITH (NOLOCK) LEFT OUTER JOIN
                --report details from Catalog
                ReportServer.dbo.[Catalog] C WITH (NOLOCK) ON
                    S.[Report_OID] = C.[ItemID] LEFT OUTER JOIN
                --Users (owner)
                ReportServer.dbo.[Users] [U1] WITH (NOLOCK) ON
                    S.[OwnerID] = [U1].[UserID] LEFT OUTER JOIN
                --Users (modified by)
                ReportServer.dbo.[Users] [U2] WITH (NOLOCK) ON
                    S.[ModifiedByID] = [U2].[UserID] LEFT OUTER JOIN
                --Subscription Schedules
                ReportServer.dbo.[ReportSchedule] RS WITH (NOLOCK) ON
                    S.[SubscriptionID] = RS.[SubscriptionID] LEFT OUTER JOIN
                --Schedules
                ReportServer.dbo.[Schedule] SC WITH (NOLOCK) ON
                    RS.[ScheduleID] = SC.[ScheduleID] LEFT OUTER JOIN
                --Subjects CTE from e-mail subscriptions
                [EMAIL] ON
                    S.[SubscriptionID] = [EMAIL].[SubscriptionID]
    WHERE EmailLine is not null
    and EmailLine like '%' + @Email + '%'
    and C.[Path] like '%' + @Path + '%'
    order by C.[Path]
    The other observation that I have is that my CPU utilization goes up from 25% to over 50% when I kick this off.  So, it is definitely getting confused about something...
    Thank you for your feedback,
    Chris

    Brad,
    I am not sure how to attach the rdl, so here it is inline. 
    The one thing that is strange is that my test SSRS 2012 SP2 server (Windows 2008R2) the report works.  However, their is a difference in the OS.  The production server is Windows 2012 
    The report works in Visual Studio, it works in Firefox, it works in Chrome.  Just not in SSRS 2012 SP2 on Windows 2012.
    Thanks
    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
    <Body>
    <ReportItems>
    <Tablix Name="table1">
    <TablixBody>
    <TablixColumns>
    <TablixColumn>
    <Width>4.125in</Width>
    </TablixColumn>
    <TablixColumn>
    <Width>2.75in</Width>
    </TablixColumn>
    <TablixColumn>
    <Width>2.625in</Width>
    </TablixColumn>
    <TablixColumn>
    <Width>0.83333in</Width>
    </TablixColumn>
    <TablixColumn>
    <Width>0.83333in</Width>
    </TablixColumn>
    <TablixColumn>
    <Width>0.83333in</Width>
    </TablixColumn>
    </TablixColumns>
    <TablixRows>
    <TablixRow>
    <Height>0.18in</Height>
    <TablixCells>
    <TablixCell>
    <CellContents>
    <Textbox Name="textbox1">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Email Addresses</Value>
    <Style>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <TextDecoration>Underline</TextDecoration>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox1</rd:DefaultName>
    <ZIndex>11</ZIndex>
    <Style>
    <BottomBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </BottomBorder>
    <BackgroundColor>White</BackgroundColor>
    <VerticalAlign>Bottom</VerticalAlign>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="textbox2">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Path</Value>
    <Style>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <TextDecoration>Underline</TextDecoration>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox2</rd:DefaultName>
    <ZIndex>10</ZIndex>
    <Style>
    <BottomBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </BottomBorder>
    <BackgroundColor>White</BackgroundColor>
    <VerticalAlign>Bottom</VerticalAlign>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="textbox3">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Name</Value>
    <Style>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <TextDecoration>Underline</TextDecoration>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox3</rd:DefaultName>
    <ZIndex>9</ZIndex>
    <Style>
    <BottomBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </BottomBorder>
    <BackgroundColor>White</BackgroundColor>
    <VerticalAlign>Bottom</VerticalAlign>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="textbox4">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Start Date</Value>
    <Style>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <TextDecoration>Underline</TextDecoration>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Center</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox4</rd:DefaultName>
    <ZIndex>8</ZIndex>
    <Style>
    <BottomBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </BottomBorder>
    <BackgroundColor>White</BackgroundColor>
    <VerticalAlign>Bottom</VerticalAlign>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="textbox10">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>End Date</Value>
    <Style>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <TextDecoration>Underline</TextDecoration>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Center</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox10</rd:DefaultName>
    <ZIndex>7</ZIndex>
    <Style>
    <BottomBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </BottomBorder>
    <BackgroundColor>White</BackgroundColor>
    <VerticalAlign>Bottom</VerticalAlign>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="textbox13">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Modified Date</Value>
    <Style>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <TextDecoration>Underline</TextDecoration>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Center</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox13</rd:DefaultName>
    <ZIndex>6</ZIndex>
    <Style>
    <BottomBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </BottomBorder>
    <BackgroundColor>White</BackgroundColor>
    <VerticalAlign>Bottom</VerticalAlign>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    </TablixCells>
    </TablixRow>
    <TablixRow>
    <Height>0.18in</Height>
    <TablixCells>
    <TablixCell>
    <CellContents>
    <Textbox Name="email_line">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!email_line.Value</Value>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>email_line</rd:DefaultName>
    <ZIndex>5</ZIndex>
    <Style>
    <TopBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </TopBorder>
    <BottomBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </BottomBorder>
    <LeftBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </LeftBorder>
    <RightBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </RightBorder>
    <VerticalAlign>Bottom</VerticalAlign>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="Path">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!Path.Value</Value>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>Path</rd:DefaultName>
    <ZIndex>4</ZIndex>
    <Style>
    <TopBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </TopBorder>
    <BottomBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </BottomBorder>
    <LeftBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </LeftBorder>
    <RightBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </RightBorder>
    <VerticalAlign>Bottom</VerticalAlign>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="Name">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!Name.Value</Value>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>Name</rd:DefaultName>
    <ZIndex>3</ZIndex>
    <Style>
    <TopBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </TopBorder>
    <BottomBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </BottomBorder>
    <LeftBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </LeftBorder>
    <RightBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </RightBorder>
    <VerticalAlign>Bottom</VerticalAlign>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="StartDate">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!StartDate.Value</Value>
    <Style>
    <FontSize>8pt</FontSize>
    <Format>d</Format>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Center</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>StartDate</rd:DefaultName>
    <ZIndex>2</ZIndex>
    <Style>
    <TopBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </TopBorder>
    <BottomBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </BottomBorder>
    <LeftBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </LeftBorder>
    <RightBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </RightBorder>
    <VerticalAlign>Bottom</VerticalAlign>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="EndDate">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!EndDate.Value</Value>
    <Style>
    <FontSize>8pt</FontSize>
    <Format>d</Format>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Center</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>EndDate</rd:DefaultName>
    <ZIndex>1</ZIndex>
    <Style>
    <TopBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </TopBorder>
    <BottomBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </BottomBorder>
    <LeftBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </LeftBorder>
    <RightBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </RightBorder>
    <VerticalAlign>Bottom</VerticalAlign>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="ModifiedDate">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!ModifiedDate.Value</Value>
    <Style>
    <FontSize>8pt</FontSize>
    <Format>d</Format>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Center</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>ModifiedDate</rd:DefaultName>
    <Style>
    <TopBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </TopBorder>
    <BottomBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </BottomBorder>
    <LeftBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </LeftBorder>
    <RightBorder>
    <Color>Black</Color>
    <Style>Solid</Style>
    <Width>1pt</Width>
    </RightBorder>
    <VerticalAlign>Bottom</VerticalAlign>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    </TablixCells>
    </TablixRow>
    </TablixRows>
    </TablixBody>
    <TablixColumnHierarchy>
    <TablixMembers>
    <TablixMember />
    <TablixMember />
    <TablixMember />
    <TablixMember />
    <TablixMember />
    <TablixMember />
    </TablixMembers>
    </TablixColumnHierarchy>
    <TablixRowHierarchy>
    <TablixMembers>
    <TablixMember>
    <FixedData>true</FixedData>
    <KeepWithGroup>After</KeepWithGroup>
    <RepeatOnNewPage>true</RepeatOnNewPage>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    <Group Name="table1_Details_Group">
    <DataElementName>Detail</DataElementName>
    </Group>
    <TablixMembers>
    <TablixMember />
    </TablixMembers>
    <DataElementName>Detail_Collection</DataElementName>
    <DataElementOutput>Output</DataElementOutput>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    </TablixMembers>
    </TablixRowHierarchy>
    <DataSetName>email</DataSetName>
    <Height>0.36in</Height>
    <Width>11.99999in</Width>
    <Style />
    </Tablix>
    </ReportItems>
    <Height>0.36in</Height>
    <Style />
    </Body>
    <Width>12in</Width>
    <Page>
    <PageFooter>
    <Height>0.25in</Height>
    <PrintOnFirstPage>true</PrintOnFirstPage>
    <PrintOnLastPage>true</PrintOnLastPage>
    <ReportItems>
    <Textbox Name="textbox8">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Globals!ReportFolder &amp; "/" &amp; Globals!ReportName &amp; "/" &amp; User!UserID</Value>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Right</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    <Left>8in</Left>
    <Height>0.25in</Height>
    <Width>4in</Width>
    <Style>
    <VerticalAlign>Bottom</VerticalAlign>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </ReportItems>
    <Style />
    </PageFooter>
    <LeftMargin>1in</LeftMargin>
    <RightMargin>1in</RightMargin>
    <TopMargin>1in</TopMargin>
    <BottomMargin>1in</BottomMargin>
    <Style />
    </Page>
    <AutoRefresh>0</AutoRefresh>
    <DataSources>
    <DataSource Name="SQL_ReportServer">
    <DataSourceReference>SQL_ReportServer</DataSourceReference>
    <rd:SecurityType>None</rd:SecurityType>
    <rd:DataSourceID>77e94914-07c8-421a-b785-a126cad0d6ac</rd:DataSourceID>
    </DataSource>
    </DataSources>
    <DataSets>
    <DataSet Name="email">
    <Query>
    <DataSourceName>SQL_ReportServer</DataSourceName>
    <QueryParameters>
    <QueryParameter Name="@Email">
    <Value>=Parameters!Email.Value</Value>
    </QueryParameter>
    <QueryParameter Name="@Path">
    <Value>=Parameters!Path.Value</Value>
    </QueryParameter>
    </QueryParameters>
    <CommandText>WITH [EMAIL]([SubscriptionID], [EmailLine]) AS
    SELECT I.[SubscriptionID],
    I1.rows.value('Value [1]', 'VARCHAR(MAX)') AS [EmailLine]
    FROM (
    --if the Subscription is an e-mail, get the XML fragment which contains the Email line
    SELECT S.[SubscriptionID],
    --add a "root" element to create well-formed XML to the "ExtensionSettings"
    --(in case it's NULL)
    CONVERT(XML, N'&lt;Root&gt;' + CONVERT(NVARCHAR(MAX), S.[ExtensionSettings]) + N'&lt;/Root&gt;') AS [ExtensionSettings]
    FROM ReportServer.dbo.[Subscriptions] S WITH (NOLOCK)
    WHERE --only get e-mail subscriptions
    S.[DeliveryExtension] = 'Report Server Email'
    ) I CROSS APPLY
    --pull out elements in the "ParameterValues/ParameterValue" hierarchy
    I.ExtensionSettings.nodes('/Root/ParameterValues/ParameterValue') AS I1(rows)
    WHERE --only get the Subject field
    --I1.rows.value('Name [1]', 'VARCHAR(100)') = 'Subject'
    I1.rows.value('Name [1]', 'VARCHAR(100)') IN ('TO', 'BCC','CC')
    --get subscription data for all users
    SELECT replace([EMAIL].[EmailLine], '@plu.edu','') email_line,
    --internally put-together description of subscription
    -- S.[Description],
    --user-friendly message for what happened the last time the subscription ran
    --which may be "New Subscription"
    --report path and name
    C.[Path], C.[Name],
    --start date and end date for schedule
    SC.[StartDate], SC.[EndDate],
    --when the subscription was modified
    S.[ModifiedDate]
    FROM --actual subscriptions
    ReportServer.dbo.[Subscriptions] S WITH (NOLOCK) LEFT OUTER JOIN
    --report details from Catalog
    ReportServer.dbo.[Catalog] C WITH (NOLOCK) ON
    S.[Report_OID] = C.[ItemID] LEFT OUTER JOIN
    --Users (owner)
    ReportServer.dbo.[Users] [U1] WITH (NOLOCK) ON
    S.[OwnerID] = [U1].[UserID] LEFT OUTER JOIN
    --Users (modified by)
    ReportServer.dbo.[Users] [U2] WITH (NOLOCK) ON
    S.[ModifiedByID] = [U2].[UserID] LEFT OUTER JOIN
    --Subscription Schedules
    ReportServer.dbo.[ReportSchedule] RS WITH (NOLOCK) ON
    S.[SubscriptionID] = RS.[SubscriptionID] LEFT OUTER JOIN
    --Schedules
    ReportServer.dbo.[Schedule] SC WITH (NOLOCK) ON
    RS.[ScheduleID] = SC.[ScheduleID] LEFT OUTER JOIN
    --Subjects CTE from e-mail subscriptions
    [EMAIL] ON
    S.[SubscriptionID] = [EMAIL].[SubscriptionID]
    WHERE EmailLine is not null
    and EmailLine like '%' + @Email + '%'
    and C.[Path] like '%' + @Path + '%'
    order by C.[Path]</CommandText>
    <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
    </Query>
    <Fields>
    <Field Name="email_line">
    <DataField>email_line</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="Path">
    <DataField>Path</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="Name">
    <DataField>Name</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="StartDate">
    <DataField>StartDate</DataField>
    <rd:TypeName>System.DateTime</rd:TypeName>
    </Field>
    <Field Name="EndDate">
    <DataField>EndDate</DataField>
    <rd:TypeName>System.DateTime</rd:TypeName>
    </Field>
    <Field Name="ModifiedDate">
    <DataField>ModifiedDate</DataField>
    <rd:TypeName>System.DateTime</rd:TypeName>
    </Field>
    </Fields>
    </DataSet>
    </DataSets>
    <ReportParameters>
    <ReportParameter Name="Email">
    <DataType>String</DataType>
    <AllowBlank>true</AllowBlank>
    <Prompt>Email Like (e.g allen):</Prompt>
    </ReportParameter>
    <ReportParameter Name="Path">
    <DataType>String</DataType>
    <DefaultValue>
    <Values>
    <Value>%</Value>
    </Values>
    </DefaultValue>
    <Prompt>Path like (e.g Advancement):</Prompt>
    </ReportParameter>
    <ReportParameter Name="Report_Parameter_2">
    <DataType>Boolean</DataType>
    <AllowBlank>true</AllowBlank>
    <Prompt>Parameter OK?</Prompt>
    </ReportParameter>
    </ReportParameters>
    <Language>en-US</Language>
    <ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
    <rd:ReportUnitType>Inch</rd:ReportUnitType>
    <rd:ReportID>811078db-33dd-4670-9df4-be748e9ec2ef</rd:ReportID>
    </Report>

  • Sharepoint 2013 and SSRS 2012 Integration - Report Server Content Types not displayed

    Hello, Everyone:
      I installed SSRS 2012 on our Sharepoint 2013 application server following the step-by-step instruction from the posting below:
      http://msdn.microsoft.com/en-us/library/jj219068.aspx
      Everything goes well after STEP 3 is completed.
      I did see the reporting services started and SSRS service application created.
      However, when I created a new site and tried to enable the predefined Reporting Services content types, I do not see the Shared data source (.rsds) files, report models (.smdl), and Report Builder report definition (.rdl) 3 types of files listed at
    all.
      Further more, when I go to the Provision Subscriptions and Alerts page, I keep getting a "SQL Server Agent state cannot be determined" error, even though the username and password provided is the admin user
    for the database.
      Any experience of what is wrong with the SSRS - Sharepoint integration? Please help!
    Tina

    Hello, Treavor:
      Now that the content types problem is resolved, I need to come back to the
    Provision Subscriptions and Alerts page.
      I guess I'm a little confused about what is being asked for the Provision Subscriptions and Alerts  page.
      The user I provided on the Provision Subscriptions and Alerts  page is my user-defined sysadmin role. And the page takes that.
      When I downloaded the SQL script, it was trying to give the automatically generated user "sa-SPDevContentAppPo" permission.
      Which user are we using to detect the SQL Server Agent?
      Thanks again!
    Tina

  • Field should not display in the subtotal row in ALV report after sorting .

    we have a requirement, after sorting and subtotaling, the output in ALV is -
    vbeln        amount1  amount2  amount3
    123           11              12            13
    123           12             13             14
    123           23             25             27 
    133           11              12            13
    133           12             13             14
    133           23             25             27
    Now the customer wants the ALV outpput in this fashion -
    123           11              12            13
    123           12             13             14
                     23             25             27    --->123 (vbeln) should not come in subtotaling row
    133           11              12            13
    133           12             13             14
                      23             25             27--->133(vbeln) should not come in subtotaling row

    Hi,
    if it helps you could create a hierachy. In this way you can define the field catalog for the lines and for the subtotal columns. The only thing is that you would always show the subtotal rows.
    You have references of hierachy alvs in
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c060fcb4-2c62-2b10-d2b2-f32407a5cc6f
    ALV Hierarchy
    alv hierarchy
    In this case it also sorts
    Sorting for ALV hierarchy
    I hope it helps.
    Edited by: Oscar Pecharroman on Aug 2, 2010 1:13 PM

  • Rendering HTML report from SSRS 2012 with full details

    I want to get the parent level grouping and child data in a single HTML file from SSRS 2012 so that it doesn't try to refresh when
    clicked on expand/contract the tree. The reason is i'm getting SSRS report from java application and when i try to expand or contract the tree view it tries to connect to SSRS. Is there a possibility to do it?

    Hi shady2111,
    According to your description, you have a drill down report rendered in a HTML file. Now you find when expand/contract the toggle item, the application starts to access SSRS. Right?
    In Reporting Service, when we render a report, all the data supposed to be retrieved. Even in application, like some applications using Report View Control, it still working same as in BIDS. Based on your information, we don't how this java application designed.
    And it's hardly to figure out the reason that caused your problem. So please post some detail information about the report and application if possible. Also for your troubleshooting, we suggest you cancel the "Display can be toggled by this report item" in
    row visibility to see if the data is fully rendered.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Grid or light box type report in SSRS 2012

    Hi I am trying to create a grid report like a light box type display in SSRS. I want to display images horizontally across the report and then down. I am using VS 2013. I understand from my searching that this can be done using a matrix control and grouping
    using an expression to limit the number of cells displayed across the page (in my case 3) and this works partly. I get a display where my images are off set like below:
    data data data
                          data data data
    data data data
    I can't work out how to have each row of images progress down the page so that I see each row of three starting from the left and not off set like this:
    Data data data
    Data data data
    data data data
    Grateful for your help.
     

    Hi WhyIsItSoHard,
    According to your description, you want to display values in a matrix from left to right and each row align to left, right?
    In Reporting Services, values in matrix cells display aggregate values scoped to the intersection of the row and column groups to which the cell belongs. If there is no corresponding value for each intersection, it’s possible that the matrix will display
    like the first structure you mentioned. In your scenario, if you want to display as the second structure, you could embed the matrix in a list. Please refer to steps below:
    1. Query  the table except the null values, then create a list and a matrix, then drag the matrix into the list, and delete the first row of the matrix.
    2. The final design should look like below. Then preview the report.
    Reference:
    Lists (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Greater than Equal to Functionality when retirivng data from SSAS 2008 cube using SSRS 2012 report not working

    I have an SSRS 2012 report and SSAS Cube in 2008. My report criterion requires filtering on measures. So Created measures as dimensions . The report requires >= functionality on the measures. But in the Query designer of 
    the report there is =, IN, Within Range ,Excluding range , MDX as the operators.
    To achieve my goal. I have “From” and “To” as parameters on the numeric dimension. The “To” parameter I have set as internal and setting
     the default value of  “TO” .By writing another Dataset query that returns the “MAX” 
    value and the MAX value returned is a member of the measure converted to dim I confirmed.. So this whole works as >=.The user enters only the “FROM” parameter and the “TO” is set internally. The user can enter any value in the “From” parameter. Any
    value that is not even a member.It is a textbox. I cannot use a list of values from the “From” parameter.
    But whenever I run the report after entering all the selection criteria
     I keep getting
    Error “the restrictions imposed by the constrained flag in the strtomember functions were violated”
    I know this means that Max value in the “TO” section is not a member .
    I did try
    : StrToMember("[Fact RCS CV BLAST].[APPRLIMIT ACH].
    &[" & @ToFactRCSCVBLASTAPPRLIMITACH &
    "]", CONSTRAINED) )
     But I get “syntax for the “&” is incorrect”
    If I use Drop down for the “From” and “To” parameters then it works fine. But that’s not what Business Users need.
    Please let me know what the options to make this work. I did use parameters that filter the
     Dataset returned it works fine but there is a performance impact.

    Hi,
    I think if you use the following method you will be able to compare the members.
    CDbl(StrToMember("[Fact RCS CV BLAST].[APPRLIMIT ACH].&[" + @ToFactRCSCVBLASTAPPRLIMITACH + "]").Member_Name)
    As you mentioned that you converted your measures as dimensions, you are having an integer value as the member name. In that case use VBA functions with MDX to do the datatype conversion.
    Take a look into the following MDX written against Adventure Works;
    WITH CALCULATED MEMBER [Measures].[Member Name] AS
    CInt
    Right
    CStr
    [Date].[Calendar Year].CURRENTMEMBER.MEMBER_NAME
    ), 4
    SELECT {[Measures].[Sales Amount], [Measures].[Member Name]} ON COLUMNS,
    FILTER
    [Date].[Calendar Year].[Calendar Year].MEMBERS,
    CInt(Right(CStr([Date].[Calendar Year].CURRENTMEMBER.MEMBER_NAME), 4)) >= 2005 AND
    CInt(Right(CStr([Date].[Calendar Year].CURRENTMEMBER.MEMBER_NAME), 4)) <=2008
    } ON ROWS
    FROM [Adventure Works]
    I am filtering the Years by using the member names by extracting the Integer portion of the member name and applying data type conversion functions in VBA. So I 
    Keep in mind that you have to get rid of the CONSTRAINED clause if your business users can enter anything on the SSRS text box. 

  • Ssrs 2008 r2 or ssrs 2012 place moving graphics in report while it is executing

    In a new ssrs 2008 r2 or ssrs 2012 report application, I want to add some graphics to
    the report(s). I know that you can embedded a graphic in the ssrs report. However I would like to be able to do one or more of the items I am listing below:
    1. In one or two spots, I would like to have the pictures change. The picture would display for 5 to 60 seconds and then a new graphic would show up.
    2.  I would like the possibility of one graphic being displayed while the entire ssrs report is executing. The next time the report is executing, a new graphic would be displayed.
    3. I would like a 'slideshow' of graphics being displayed. The slideshow would be dsiplayed in in the same sequence.
    4. I would like to obtain the graphics from an open show (free) location for a non profit public school system.
    Thus can you tell me if any of the options I listed above are possibly? If so, can  you tell me what option I can embed in a report and how to accomplish the goal in the ssrs report?
    Also if you have any other ideas about graphics in the report, can you tell me what thse option(s) are and how would I accomplish this goal?

    Hi wendy,
    In Reporting Services, if we want to only display one graphic in some time, and display other graphics in other times in a report. So that the all graphics are alternatively displayed in the report. In this scenario, we can set the AutoRefresh property of
    the report to x number of seconds for the changes to occur, then set the visibility property of graphics based on AutoRefresh length we have set. For more details, please see the steps below:
    Set the AutoRefresh property of the report to 15 seconds (supposing there are 4 graphics in the report (60/4=15)).
    Insert all graphics in the report.
    Use the following expressions to control the visibility of graphics.
    Graphic 1:=IIf(Second(Now()) < 15, False, True) the first graphic will show if the AutoRefresh occurred during the first 15 second block of the current minute, all other times during that minute it will be hidden.
    Graphic 2:=IIf(Second(Now()) >= 15 AND Second(Now()) < 30, False, True) the second graphic will show if the AutoRefresh occurred during the second 15 second block of the current minute, all other times during that minute it will
    be hidden.
    Graphic 3:=IIf(Second(Now()) >= 30 AND Second(Now()) < 45, False, True) the third graphic will will show if the AutoRefresh occurred during the third 15 second block of the current minute, all other times during that minute it will
    be hidden.
    Graphic 4:=IIf(Second(Now()) >= 45, False, True) the fourth graphic will show if the AutoRefresh occurred during the fourth 15 second block of the current minute, all other times during that minute it will be hidden.
    Besides, we cannot display the image with dynamic form by using External Image Option, it will be replaced with static form. So if we want to show slideshow in the report, we can also refer to the following thread:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/62b0317b-1458-4d91-9fdd-00c4bbe791f7/ssrs-report-slideshow-on-autorefrsh?forum=sqlreportingservices
    Hope this helps.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • SSRS 2012 - Groups in Report Manager aren't present when exported to Excel

    Hi all, hope somebody can help with this issue, as I cant seem to find any other posts about it
    I have a report in SSRS2012. It was copied from SSRS2005 quite recently, as we have upgraded. The SQL developer said that it didn't need any code changes, as he had some kind of tool to test code problems between the two versions.
    The report has a table, with 5 row groups, and one detail row. The table is setup as follows:
    Name                                         Sales         
    Costs       Profit
    Group1                                     
       Group2
          Group3
             Group4
                Group5
                   DetailsRow
    When I run this report using the Report Manager website from SSRS2005, and then export to Excel 2013, I get the 6 row groups in Excel, no problem whatsoever. I can drill into each group in Excel, using the group drilldown column on the left hand side. This
    works the same as the Report Manager website.
    If I run the exact same report from the Report Manager website in SSRS2012, the Report Manager result is the same as SSRS2005 - all the row groups are present, and the drilldown works fine. However, the export to Excel has issues with the groups. There are
    only 3 row groups showing in Excel, along with a column group added for no apparent reason. Drilling into each group shows inconsistent details, and there is no apparent logic as to what is shown within each group.
    Hopefully, someone has seen this issue before, and can help, because I have no idea what to do, having spent a couple of days trying to figure it out. I should also mention, that this issue with groups is seen on all my reports which have groups, not just
    this report
    Thanks for any and all help
    Naz

    Hi Naz,
    According to your description, the report works correctly in SSRS 2005 while the same report doesn’t work in SSRS 2012 when exporting to a Excel file.
    In your scenario, please make sure you are migrating the report from SSRS 2005 to SSRS 2012 instead of copying the .rdl directly. Generally, we are using Reporting Services Migration Tool to migrate reports between report server. Please refer to this article:
    SQL Server Reporting Services: Migrating SSRS reports, data sources and subscriptions from one server to another.
    After migrating the report successfully, you should upgrade the report definition in SQL Server Data Tools to upgrade the .rdl file. Please refer to this article:
    Upgrade Reports.
    If you have upgraded the report but the issue still persists, please provide report design for our analysis. If possible, please provide some screenshots about the preview result and Excel render result.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Cannot re-add deleted Header row to tablix in SSRS 2012?

    Hello, I am stuck on this seeminly small issue. I am using SSRS 2012 RC0 in Visual Studio 2010 sp1 to build this tabular report. I had inadvertantly removed the initial header row from my tablix before adding numerous nested groupings to move the column
    headers to the header section so they would show up on each page. I would like to reverse that decision, but I seem to be unable to now re-add that header row back to my tablix. In older versions of SSRS, I was able to right click on the table and then click
    on insert row-->Header row but that does not seem to be possible in ssrs 2012.. I tried adding a outer row to my top most grouping, but that option was grayed out.
    Please advise how I can add my header row back to my table.
    thanks!

    Hi chenthorn,
    In your case, could you please post a screenshot about your report design structure to us for further investigation? Generally, we can right-click on the “details” row and then select “Insert Row->Outside Group - Above” to get the table header.
    Otherwise, SQL Server 2012 RTM available for download. Please see:
    Microsoft® SQL Server® 2012 Evaluation:
    http://www.microsoft.com/en-us/download/details.aspx?id=29066
    TechNet Subscriber Support
    If you are TechNet Subscription user and have
    any feedback on our support quality, please send your feedback here.
    Thanks,
    Bin Long
    TechNet Community Support
    Hi this does work, but just like any other row added outside the group in the table, it doesnot have the properties of a header, it cannot repeat on every page/pagebreak.Is there any other way the deleted header can be added back?
    Regards
    Prasanth
    Is the header row 'special' or is it just another row?  

  • How to make a PDF embedded image append a report and send via fax electronically from MS SSRS 2012?

    How can I make a PDF embedded image append a SSRS 2012 report and send via fax all electronically?  Is this possible?
    Thanks in advance for your time!

    Hello,
    1. The report item Image can be used to display the image which  embedded in the report, stored in a database, stored on the report server, or stored elsewhere on the Web.
    For example, you can embedded the PDF image in the report and stored as text in the report definition.
    2.Reporting Services includes an e-mail delivery extension and a file share delivery extension which you can send report to user or group through e-mail or send the report to a shared location on your network.
    If you want to send the report to FAX, you may try to create a custom delivery extension depend on your faxing software.
    Reference:Implementing a Delivery Extension
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Error on the reports with drill-through links on SSRS 2012 SP2 -- Invalid URI: The Uri string is too long

    Hi, We are migrating SSRS 2008 R2 reports to SSRS 2012 SP2. (PS. SSRS 2012 SP2 has been applied.) Everything went smooth expect some reports which were using reporting services. These reports have some drilin-through actions and was passing in a huge
    xml parameter. I referred to some other posts in which there were also some similar issues like "The Uri string is too long."  but they're different. My reports can be opened and the error only occurred when accessing the drill-through actions.
    As I know, Microsoft has provided the fix for the known issue "The Uri string is too long." in sp1 but it looks it can't cover this kind of situation since I have installed the SSRS SP 2. Is there any solution? In addition, there's no such
    issue on SSRS 2008 R2.
    Thanks,
    onizga

    Hi onizga,
    According to your description that you are migrating SSRS 2008 R2 reports to SSRS 2012 SP2, after migration you got some error like “The Uri string is too long” which only occurred when accessing the drill-through actions, right?
    Usually, the issue can be caused when you try to pass some parameters that cause the URL length to exceed 65,520 characters for a Microsoft SQL Server 2012 Reporting Services (SSRS 2012), you cannot render the report, and you may receive the following error
    message:
    The value of parameter 'param' is not valid. (rsInvalidParameter).Invalid URI: The Uri string is too long.
    This is an known issue and already have the hotfix SQL Server 2012 Service Pack1 Cumulative Update 9 (CU9) as you know, you can try to reinstall this hotfix to fixed this issue:
    http://support.microsoft.com/kb/2916827 .Any issue after applying the update, please post it on the following thread or you can submit an feedback:
    http://connect.microsoft.com/SQLServer/feedback/details/788964/ssrs-2012-invalid-uri-the-uri-string-is-too-long 
    Similar threads for your reference:
    SSRS - The value of parameter 'param' is
    not valid. ---> System.UriFormatException: Invalid URI: The Uri string is too long.
    Microsoft.ReportingServices.Diagnostics.Utilities.InvalidParameterException:
    The value of parameter 'pSetOfScopes' is not valid. ---> System.UriFormatException: Invalid URI: The Uri string is too long
    If you still have any question, please feel free to ask
    Regards
    Vicky Liu
    If you have any feedback on our support, please click here

  • SSRS 2008 R2/SSRS 2012 Tab Delimited setup is not working correctly in Report Designer

    I have changed a RSReportDesigner.config to add a tab delimited option for report export, but it is not working correctly in vs2008/vs2010 report designer. I get a duplicate of CSV (comma delimited) in the export dropdown list.
    I have tested SSRS 2008 R2/SSRS 2012 on Windows 7 64 bit professional.
    It is working correctly in the report manager.
    <Extension Name="TAB" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering">
            <OverrideNames>
                <Name Language="en-US">TAB delimited</Name>
            </OverrideNames>
            <Configuration>
                <DeviceInfo>
                    <FieldDelimiter xml:space="preserve">&#9;</FieldDelimiter>
                    <Encoding>ASCII</Encoding>
                    <UseFormattedValues>False</UseFormattedValues>
                    <NoHeader>False</NoHeader>
                    <FileExtension>TXT</FileExtension>
                </DeviceInfo>
            </Configuration>
          </Extension>

    Hi Dave0323,
    According to your description, you want to export your report into TXT file and change the delimiter to be a Tab. Right?
    In Reporting Services, when exporting to a CSV file, we can change the default field delimiter to any character that we want, including TAB, by changing the device information settings in the configuration file. For example, to use TAB,
    update the FieldDelimiter setting to <FieldDelimiter xml:space="preserve">[TAB]</FieldDelimiter>. And we can change the FileExtension to be TXT if we want to export it into a TXT file. So in this scenario, we just need to modify the configuration
    file like below:
    The result looks like below:
    Reference:
    CSV Device Information Settings
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

Maybe you are looking for