Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all 10045 articles
Browse latest View live

Matrix Report Column headings

$
0
0

I don't do Matrix reports very often ;-)

I have a report with several row columns and two data columns.  The data columns were assigned a master heading when I added the second column - Month. 

|head| head | head      |      Jan     |    Feb      |
|       |         |              |           <--|-------<---|----- HOW DO I GET TWO HEADERS IN HERE?????
|aaa |   aaa  |    aaaaa | nnn | nnn| nnn | nnn |

I tried adding rows & it didn't work.


An internal error occurred on the report server - SSRS

$
0
0

Hi All,

I've an a SQL server 2005 on Windows 2003 server(Microsoft SQL Server 2005 - 9.00.5000.00 (Intel X86)_Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 2)) . In recently we had an a issue with SSRS Report manager. Am able to see some once modified Data source in Report manager and after that we ware not able to Data source on report manager, getting below error while trying open and it's not allowing to me delete & modify. more than 200 reports are connected to this DS.I am not able to find any additional info in SSRS logs please help me in this. Please help on this. 

An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help

Regards,

Syed Jakeer.


Syed Jakeer

SSRS Could not update list of Fields for the query

$
0
0

I have a Stored Procedure dbo.SSRS_Report

I am trying to get the Data Properties but getting an error.

"Could not update list of Fields for the query. Verify that you can connect to the Data Source and that your query syntax is Correct"

SP looks something Like this:

       SELECT  a.Id ,
                a.idd ,
                MIN(Trandate) AS TranDate_min ,
                MAX(Trandate) AS TranDate_max ,
                ct = COUNT(*)
        INTO    #t1
        FROM    Table1 AS t
                JOIN Table2 AS a ON ( a.id = t.id )
        WHERE   a.s = 'OPEN'
        GROUP BY a.id ,
                a.idd
        HAVING  COUNT(*) <= 3
                AND MAX(Trandate) >= bdateadd(-2,
                                                             CAST(GETDATE() AS DATE),
                                                             0)
                AND MIN(Trandate) >= DATEADD(dd, -30,
                                              CAST(GETDATE() AS DATE))
        SELECT  *
        INTO    #t2
        FROM    #t1 AS t
        WHERE   NOT EXISTS ( SELECT '*'
                             FROM   Table1
                             WHERE  Id = t.Id
                                    AND no NOT IN ( '424631',
                                                              '426684',
                                                              '400022',
                                                              '430154',
                                                              '438857',
                                                              '414720',
                                                              '549104',
                                                              '540168',
                                                              '431228 ' ) )
                AND EXISTS ( SELECT '*'
                             FROM   Table1
                             WHERE  Id = t.Id
                                    AND no IS NOT NULL )
        SELECT  a.Id ,
                a.Name ,
                a.Prod ,
                a.Date ,
                t.no ,
                t.tdate ,
                t.Amt
        FROM    table1 AS t
                JOIN #t2 AS s ON s.Id = t.Id
                JOIN table2 AS a ON ( a.Id = t.Id )
        WHERE   a.s = 'OPEN'
        ORDER BY a.Id ,
                t.tdate

SSRS Authentication

$
0
0

How can I expose SSRS to in a separate domain. I am using SSRS 2012 with SQL Server 2012 enterprise edition. I have an instance of reporting services running in a separate network outside of our local network. When I open report manager from within the network it is installed in it does not require a password but when I try to login from outside the network it does require me to authenticate.

Can someone please tell me how to do this so that it does not require me to authenticate.

Thanks,

dbsalve

SQL Server Reporting Service basics

$
0
0

Hi,

What is SQL Server Reporting Service?

Why is this used?

Can I login into it through SQL Server Management Studio like database engine service?

Do I need to create login for this?

Please let me know the basic things.

Header should remain visible while scrolling stopped working (VS 2005 table)

$
0
0

Hi, 

I have many SSRS reports which used to have their table header fixed while scrolling (by cheking this options on the table properties dialog). 

Lately I've seen this stopped working, although I see the table has <fixed header> true property in the code, the header does not remain visible while scrolling. This does not work by me anymore in Explorer 9 nor in Chrome.

(PS- I might have added something to some file long time ago in order for the reports to be seen on chrome too- can't find details and don't know if related at all).

I'm using using SSRS 2008 R2 with VS 2005.

How can this be fixed?

Thanks


Namnami

Zoom option in mozilla for sql server reporting services report viewer web

$
0
0

Hi All,

Is it possible to get zoom option enabled in Mozilla for SQL server reporting services report viewer?. We have tried   with Active X Plugin for Mozilla but it does not work.

Appreciate your Suggestions.

Thanks ,

Karthik



Drill Down Report on multiple columns

$
0
0

Hi,

I am designing a drill down report on multiple columns but the drill functionality is resulting a inconsistent result when drill to subreport.

My psuedo dataset generation query.

DROP TABLE #TempDataset

CREATE TABLE #TempDataset
(
    Id Int NULL,
    ProductCode NVARCHAR(50) NULL,
    SubCategory NVARCHAR(50) NULL,
    LinesIn BIT NULL,
    LinesOut BIT NULL,
    LinesUnknown BIT NULL
)

INSERT #TempDataset
VALUES
(1, 'Air', 'Com', 1,0,0),
(1, 'Air', 'Com', 1,0,0),
(1, 'Air', 'Com', 1,0,0),
(1, 'Air', 'Com', 0,1,0),
(1, 'Air', 'Com', 0,1,0),
(1, 'Air', 'Com', 1,0,1)

SELECT * FROM #TempDataset

o/p - Group on ProductCode and SubCategory 

Count of each column i.e. Total_LinesIn, Total_linesOut and Total_linesUnknow. The drill down needs to be available on each of these columns.

For creating a sub report (drill down) Textbox properties > Action > Go to report > select the subreport > Subreport parameters.

On my SSRS report I have created row groups on ProductCode and Subcategory. So my vertical partition on SSRS results me and output similar to this query.

SELECT ProductCode,
       SubCategory,
       COUNT(CASE WHEN LinesIn =1 THEN 1 ELSE NULL END) Total_LinesIn,
       COUNT(CASE WHEN LinesOut =1 THEN 1 ELSE NULL END) AS Total_LinesOut,
       COUNT(CASE WHEN LinesUnknown =1 THEN 1 ELSE NULL END) AS Total_LinesUnknown
FROM #TempDataset
GROUP BY ProductCode,
         SubCategory


Problem: Drilldown is inconsistent. When I click TotalLinesIn I get 2 rows on subreport while when I click TotalLinesOut I get 4 rows.

Any idea what is causing this cross over... Could it be because of RowGroups ?

Sample report for reference.

Summary Report

<?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="Tablix3"><TablixCorner><TablixCornerRows><TablixCornerRow><TablixCornerCell><CellContents><Textbox Name="Textbox12"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>Product Code</Value><Style><FontFamily>Century Gothic</FontFamily><Color>White</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>Textbox12</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><BackgroundColor>#0d48a2</BackgroundColor><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixCornerCell><TablixCornerCell><CellContents><Textbox Name="Textbox14"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>Sub Category</Value><Style><FontFamily>Century Gothic</FontFamily><Color>White</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>Textbox14</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><BackgroundColor>#0d48a2</BackgroundColor><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixCornerCell><TablixCornerCell><CellContents><Textbox Name="Textbox3"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>Lines In</Value><Style><FontFamily>Century Gothic</FontFamily><Color>White</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>Textbox3</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><BackgroundColor>#0d48a2</BackgroundColor><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixCornerCell></TablixCornerRow></TablixCornerRows></TablixCorner><TablixBody><TablixColumns><TablixColumn><Width>2.19505cm</Width></TablixColumn><TablixColumn><Width>2.5cm</Width></TablixColumn></TablixColumns><TablixRows><TablixRow><Height>0.67938cm</Height><TablixCells><TablixCell><CellContents><Textbox Name="LinesOut"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>=Sum(Fields!LinesOut.Value)</Value><Style><FontFamily>Century Gothic</FontFamily><TextDecoration>Underline</TextDecoration><Color>DimGray</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>LinesOut</rd:DefaultName><ActionInfo><Actions><Action><Drillthrough><ReportName>DetailExample</ReportName><Parameters><Parameter Name="ProductCode"><Value>=Fields!ProductCode.Value</Value></Parameter><Parameter Name="SubCategory"><Value>=Fields!SubCategory.Value</Value></Parameter><Parameter Name="LinesIn"><Value>=Fields!LinesIn.Value</Value></Parameter><Parameter Name="LinesOut"><Value>=Fields!LinesOut.Value</Value></Parameter><Parameter Name="LinesUnknown"><Value>=Fields!LinesUnknown.Value</Value></Parameter></Parameters></Drillthrough></Action></Actions></ActionInfo><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixCell><TablixCell><CellContents><Textbox Name="LinesUnknown"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>=Sum(Fields!LinesUnknown.Value)</Value><Style><FontFamily>Century Gothic</FontFamily><TextDecoration>Underline</TextDecoration><Color>DimGray</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>LinesUnknown</rd:DefaultName><ActionInfo><Actions><Action><Drillthrough><ReportName>DetailExample</ReportName><Parameters><Parameter Name="ProductCode"><Value>=Fields!ProductCode.Value</Value></Parameter><Parameter Name="SubCategory"><Value>=Fields!SubCategory.Value</Value></Parameter><Parameter Name="LinesIn"><Value>=Fields!LinesIn.Value</Value></Parameter><Parameter Name="LinesOut"><Value>=Fields!LinesOut.Value</Value></Parameter><Parameter Name="LinesUnknown"><Value>=Fields!LinesUnknown.Value</Value></Parameter></Parameters></Drillthrough></Action></Actions></ActionInfo><Style><Border><Color>LightGrey</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><TablixHeader><Size>0.99688cm</Size><CellContents><Textbox Name="Textbox4"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>Lines Out</Value><Style><FontFamily>Century Gothic</FontFamily><Color>White</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>Textbox4</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><BackgroundColor>#0d48a2</BackgroundColor><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixHeader><TablixMembers><TablixMember /></TablixMembers></TablixMember><TablixMember><TablixHeader><Size>0.99688cm</Size><CellContents><Textbox Name="Textbox5"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>Lines Unknown</Value><Style><FontFamily>Century Gothic</FontFamily><Color>White</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>Textbox5</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><BackgroundColor>#0d48a2</BackgroundColor><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixHeader></TablixMember></TablixMembers></TablixColumnHierarchy><TablixRowHierarchy><TablixMembers><TablixMember><Group Name="ProductCode"><GroupExpressions><GroupExpression>=Fields!ProductCode.Value</GroupExpression></GroupExpressions></Group><SortExpressions><SortExpression><Value>=Fields!ProductCode.Value</Value></SortExpression></SortExpressions><TablixHeader><Size>2.5cm</Size><CellContents><Textbox Name="ProductCode1"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>=Fields!ProductCode.Value</Value><Style><FontFamily>Century Gothic</FontFamily><TextDecoration>None</TextDecoration><Color>DimGray</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>ProductCode1</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixHeader><TablixMembers><TablixMember><Group Name="SubCategory"><GroupExpressions><GroupExpression>=Fields!SubCategory.Value</GroupExpression></GroupExpressions></Group><SortExpressions><SortExpression><Value>=Fields!SubCategory.Value</Value></SortExpression></SortExpressions><TablixHeader><Size>2.5cm</Size><CellContents><Textbox Name="SubCategory1"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>=Fields!SubCategory.Value</Value><Style><FontFamily>Century Gothic</FontFamily><TextDecoration>None</TextDecoration><Color>DimGray</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>SubCategory1</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixHeader><TablixMembers><TablixMember><TablixHeader><Size>1.60483cm</Size><CellContents><Textbox Name="LinesIn"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>=Sum(Fields!LinesIn.Value)</Value><Style><FontFamily>Century Gothic</FontFamily><TextDecoration>Underline</TextDecoration><Color>DimGray</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>LinesIn</rd:DefaultName><ActionInfo><Actions><Action><Drillthrough><ReportName>DetailExample</ReportName><Parameters><Parameter Name="ProductCode"><Value>=Fields!ProductCode.Value</Value></Parameter><Parameter Name="SubCategory"><Value>=Fields!SubCategory.Value</Value></Parameter><Parameter Name="LinesIn"><Value>=Fields!LinesIn.Value</Value></Parameter><Parameter Name="LinesOut"><Value>=Fields!LinesOut.Value</Value></Parameter><Parameter Name="LinesUnknown"><Value>=Fields!LinesUnknown.Value</Value></Parameter></Parameters></Drillthrough></Action></Actions></ActionInfo><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixHeader><TablixMembers><TablixMember /></TablixMembers></TablixMember></TablixMembers></TablixMember></TablixMembers></TablixMember></TablixMembers></TablixRowHierarchy><DataSetName>dsKitFillSummary</DataSetName><Top>1.57311cm</Top><Left>0.00001cm</Left><Height>1.67626cm</Height><Width>11.29988cm</Width><Style><Border><Style>None</Style></Border></Style></Tablix></ReportItems><Height>1.27928in</Height><Style /></Body><Width>4.44878in</Width><Page><PageHeight>29.7cm</PageHeight><PageWidth>21cm</PageWidth><LeftMargin>2cm</LeftMargin><RightMargin>2cm</RightMargin><TopMargin>2cm</TopMargin><BottomMargin>2cm</BottomMargin><ColumnSpacing>0.13cm</ColumnSpacing><Style /></Page><AutoRefresh>0</AutoRefresh><DataSources><DataSource Name="TestDataSource"><ConnectionProperties><DataProvider>SQL</DataProvider><ConnectString>Data Source=dc0345;Initial Catalog=Test_PartsManagement</ConnectString><IntegratedSecurity>true</IntegratedSecurity></ConnectionProperties><rd:SecurityType>Integrated</rd:SecurityType><rd:DataSourceID>1778fdae-4ae0-482e-89cc-a20bafc6ac96</rd:DataSourceID></DataSource></DataSources><DataSets><DataSet Name="dsKitFillSummary"><Query><DataSourceName>TestDataSource</DataSourceName><CommandText>SELECT ProductCode,
       SubCategory,
       LinesIn ,
       LinesOut,
       LinesUnknown
FROM TempDataset</CommandText></Query><Fields><Field Name="ProductCode"><DataField>ProductCode</DataField><rd:TypeName>System.String</rd:TypeName></Field><Field Name="SubCategory"><DataField>SubCategory</DataField><rd:TypeName>System.String</rd:TypeName></Field><Field Name="LinesIn"><DataField>LinesIn</DataField><rd:TypeName>System.Int32</rd:TypeName></Field><Field Name="LinesOut"><DataField>LinesOut</DataField><rd:TypeName>System.Int32</rd:TypeName></Field><Field Name="LinesUnknown"><DataField>LinesUnknown</DataField><rd:TypeName>System.Int32</rd:TypeName></Field></Fields></DataSet></DataSets><rd:ReportUnitType>Cm</rd:ReportUnitType><rd:ReportID>3e9039a1-6fcd-471b-bb8e-1f977713bd07</rd:ReportID></Report>

Detail report

<?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="Tablix3"><TablixCorner><TablixCornerRows><TablixCornerRow><TablixCornerCell><CellContents><Textbox Name="Textbox12"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>Product Code</Value><Style><FontFamily>Century Gothic</FontFamily><Color>White</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>Textbox12</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><BackgroundColor>#0d48a2</BackgroundColor><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixCornerCell><TablixCornerCell><CellContents><Textbox Name="Textbox14"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>Sub Category</Value><Style><FontFamily>Century Gothic</FontFamily><Color>White</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>Textbox14</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><BackgroundColor>#0d48a2</BackgroundColor><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixCornerCell><TablixCornerCell><CellContents><Textbox Name="Textbox3"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>Lines In</Value><Style><FontFamily>Century Gothic</FontFamily><Color>White</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>Textbox3</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><BackgroundColor>#0d48a2</BackgroundColor><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixCornerCell></TablixCornerRow></TablixCornerRows></TablixCorner><TablixBody><TablixColumns><TablixColumn><Width>2.19505cm</Width></TablixColumn><TablixColumn><Width>2.5cm</Width></TablixColumn></TablixColumns><TablixRows><TablixRow><Height>0.67938cm</Height><TablixCells><TablixCell><CellContents><Textbox Name="LinesOut"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>=(Fields!LinesOut.Value)</Value><Style><FontFamily>Century Gothic</FontFamily><Color>DimGray</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>LinesOut</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixCell><TablixCell><CellContents><Textbox Name="LinesUnknown"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>=(Fields!LinesUnknown.Value)</Value><Style><FontFamily>Century Gothic</FontFamily><Color>DimGray</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>LinesUnknown</rd:DefaultName><Style><Border><Color>LightGrey</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><TablixHeader><Size>0.99688cm</Size><CellContents><Textbox Name="Textbox4"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>Lines Out</Value><Style><FontFamily>Century Gothic</FontFamily><Color>White</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>Textbox4</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><BackgroundColor>#0d48a2</BackgroundColor><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixHeader><TablixMembers><TablixMember /></TablixMembers></TablixMember><TablixMember><TablixHeader><Size>0.99688cm</Size><CellContents><Textbox Name="Textbox5"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>Lines Unknown</Value><Style><FontFamily>Century Gothic</FontFamily><Color>White</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>Textbox5</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><BackgroundColor>#0d48a2</BackgroundColor><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixHeader></TablixMember></TablixMembers></TablixColumnHierarchy><TablixRowHierarchy><TablixMembers><TablixMember><Group Name="ProductCode"><GroupExpressions><GroupExpression>=Fields!ProductCode.Value</GroupExpression></GroupExpressions></Group><SortExpressions><SortExpression><Value>=Fields!ProductCode.Value</Value></SortExpression></SortExpressions><TablixHeader><Size>2.5cm</Size><CellContents><Textbox Name="ProductCode1"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>=Fields!ProductCode.Value</Value><Style><FontFamily>Century Gothic</FontFamily><TextDecoration>None</TextDecoration><Color>DimGray</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>ProductCode1</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixHeader><TablixMembers><TablixMember><Group Name="SubCategory"><GroupExpressions><GroupExpression>=Fields!SubCategory.Value</GroupExpression></GroupExpressions></Group><SortExpressions><SortExpression><Value>=Fields!SubCategory.Value</Value></SortExpression></SortExpressions><TablixHeader><Size>2.5cm</Size><CellContents><Textbox Name="SubCategory1"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>=Fields!SubCategory.Value</Value><Style><FontFamily>Century Gothic</FontFamily><TextDecoration>None</TextDecoration><Color>DimGray</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>SubCategory1</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixHeader><TablixMembers><TablixMember><TablixHeader><Size>1.60483cm</Size><CellContents><Textbox Name="LinesIn"><CanGrow>true</CanGrow><KeepTogether>true</KeepTogether><Paragraphs><Paragraph><TextRuns><TextRun><Value>=(Fields!LinesIn.Value)</Value><Style><FontFamily>Century Gothic</FontFamily><TextDecoration>None</TextDecoration><Color>DimGray</Color></Style></TextRun></TextRuns><Style /></Paragraph></Paragraphs><rd:DefaultName>LinesIn</rd:DefaultName><Style><Border><Color>LightGrey</Color><Style>Solid</Style></Border><PaddingLeft>2pt</PaddingLeft><PaddingRight>2pt</PaddingRight><PaddingTop>2pt</PaddingTop><PaddingBottom>2pt</PaddingBottom></Style></Textbox></CellContents></TablixHeader><TablixMembers><TablixMember /></TablixMembers></TablixMember></TablixMembers></TablixMember></TablixMembers></TablixMember></TablixMembers></TablixRowHierarchy><DataSetName>dsKitFillSummary</DataSetName><Top>1.57311cm</Top><Left>0.00001cm</Left><Height>1.67626cm</Height><Width>11.29988cm</Width><Style><Border><Style>None</Style></Border></Style></Tablix></ReportItems><Height>1.27928in</Height><Style /></Body><Width>4.44878in</Width><Page><PageHeight>29.7cm</PageHeight><PageWidth>21cm</PageWidth><LeftMargin>2cm</LeftMargin><RightMargin>2cm</RightMargin><TopMargin>2cm</TopMargin><BottomMargin>2cm</BottomMargin><ColumnSpacing>0.13cm</ColumnSpacing><Style /></Page><AutoRefresh>0</AutoRefresh><DataSources><DataSource Name="TestDataSource"><ConnectionProperties><DataProvider>SQL</DataProvider><ConnectString>Data Source=dc0345;Initial Catalog=Test_PartsManagement</ConnectString><IntegratedSecurity>true</IntegratedSecurity></ConnectionProperties><rd:SecurityType>Integrated</rd:SecurityType><rd:DataSourceID>1778fdae-4ae0-482e-89cc-a20bafc6ac96</rd:DataSourceID></DataSource></DataSources><DataSets><DataSet Name="dsKitFillSummary"><Query><DataSourceName>TestDataSource</DataSourceName><QueryParameters><QueryParameter Name="@ProductCode"><Value>=Parameters!ProductCode.Value</Value></QueryParameter><QueryParameter Name="@SubCategory"><Value>=Parameters!SubCategory.Value</Value></QueryParameter><QueryParameter Name="@LinesIn"><Value>=Parameters!LinesIn.Value</Value></QueryParameter><QueryParameter Name="@LinesOut"><Value>=Parameters!LinesOut.Value</Value></QueryParameter><QueryParameter Name="@LinesUnknown"><Value>=Parameters!LinesUnknown.Value</Value></QueryParameter></QueryParameters><CommandText>SELECT ProductCode,
       SubCategory,
       LinesIn,
       LinesOut,
       LinesUnknown
FROM TempDataset
WHERE ProductCode = @ProductCode
      AND SubCategory = @SubCategory
      AND LinesIn = @LinesIn
      AND LinesOut = @LinesOut
      AND LinesUnknown = @LinesUnknown;</CommandText></Query><Fields><Field Name="ProductCode"><DataField>ProductCode</DataField><rd:TypeName>System.String</rd:TypeName></Field><Field Name="SubCategory"><DataField>SubCategory</DataField><rd:TypeName>System.String</rd:TypeName></Field><Field Name="LinesIn"><DataField>LinesIn</DataField><rd:TypeName>System.Int32</rd:TypeName></Field><Field Name="LinesOut"><DataField>LinesOut</DataField><rd:TypeName>System.Int32</rd:TypeName></Field><Field Name="LinesUnknown"><DataField>LinesUnknown</DataField><rd:TypeName>System.Int32</rd:TypeName></Field></Fields></DataSet></DataSets><ReportParameters><ReportParameter Name="ProductCode"><DataType>String</DataType><Prompt>Product Code</Prompt></ReportParameter><ReportParameter Name="SubCategory"><DataType>String</DataType><Prompt>Sub Category</Prompt></ReportParameter><ReportParameter Name="LinesIn"><DataType>String</DataType><Prompt>Lines In</Prompt></ReportParameter><ReportParameter Name="LinesOut"><DataType>String</DataType><Prompt>Lines Out</Prompt></ReportParameter><ReportParameter Name="LinesUnknown"><DataType>String</DataType><Prompt>Lines Unknown</Prompt></ReportParameter></ReportParameters><rd:ReportUnitType>Cm</rd:ReportUnitType><rd:ReportID>3e9039a1-6fcd-471b-bb8e-1f977713bd07</rd:ReportID></Report>







sample output

ORA-01036 незаконное имя переменной / номер - SSRS 2008 R2 параметризованный отчет. Подключение Oracle к источнику данных.

$
0
0

Привет, Я новичок в Microsoft Visual Studio 2008. Отчеты
Я пытаюсь использовать запрос в Microsoft Reports Visual Studio 2008 для параметризованного отчета.
Мои ЗАПРОСЫ SQL работают и отображения данных.

У меня есть SQL - запрос, который показывает количество решенных запросов.
Каждый сотрудник является частью определенной группы.

Пример:
сотрудник, количество ожидающих запросов, относящихся к группе

employee1, 4, group1
employee2, 3, group1 
employee3, 5, group2
employee4, 1, group3


Я пытаюсь создать выпадающий список групп group1, group2, group3. 
При выборе ошибки отображается в выпадающем списке: ORA-01036: iligal переменной имя / номер.

SQL прикрепленный Пример - запроса для источника данных "работают" и запрос "тест" для параметров.




SSRS Date Restriction

$
0
0

I have created a report with 3 parameters. 2 parameters are From Date and To Date and the last one is TYPE which has drop-down as YES, NO.

what i want is,

when user select TYPE parameter to No, the user can enter any date of their choice which is pretty much easy to create.

but when user select TYPE parameter to Yes, i want to restrict the Date parameters to 1 year . i.e  To Date : 10-01-2017(today's date) From Date : 10-01-2016

Please let me know can this be done i SSRS.

Shared Dataset returns different values based on report

$
0
0

Hey all,

   I was getting this weird error. I had a shared dataset which I accessed on two different reports. The reports return different values and are not the same. I checked and made sure to remove any cache data there was making sure that wasn't the issue. I noticed that when I was using SQL profiler to found out that one report had the parameter which was populated by the shared dataset set completed replaced using the values of the parameter. Where as the other report just had the parameter set equal to the value. For example @parameter = 'a varchar value' , the other report replaced all instances of the @parameter with the 'a varchar value'. Although that happens I don't think it is the cause of the problem. In the end the two values are different even though it is taken from the same shared dataset. In other words, one report has the value of 'this' and the other report has the value of 'that'. Does anyone have any ideas why this might be the case?

An error has occurred during report processing. (rsProcessingAborted)

$
0
0

Hello  all,

I'm using Sqlserver 2008 R2 Developer edition and i've created the small report and it is working in my computer , when I'm browsing form another computer it is not working  for another user and I have  give full access.

  • An error has occurred during report processing. (rsProcessingAborted)
    • Cannot create a connection to data source 'MyDB_TEST'. (rsErrorOpeningConnection)

For more information about this error navigate to the report server on the local server machine, or enable remote errors


Regards, Vik

Why is Show Details gone and Hidden Items are shown as default in SSRS 2016???

$
0
0

This is just a general complaint.

Show Details was quite useful in the management of report items, allowing you to move and delete multiple reports at a time via check boxes.  As well, it doubled as the view or hide hidden items toggle switch.  Worked quite well.  No problems.

RS2016 comes along and and in Show Details' place is View > Show Hidden Items.   That's fine and dandy, nice to have that.  But inexplicably, they decide to default the switch to Show Hidden Items.  I just don't understand why this makes any sense.  So, there they are in plain view, but just grayed out.  Why have the Hide option there at all when it just defaults to Show?  Grrr.

As well, no more show details.  Where'd that go? 

So we lose a feature and the existing one that stayed behaves differently.  

So basically, I'd like to get Show Details back.  And if we are going to set defaults differently on Show or Hide items, at least give me the option to choose the default setting. 

Don't get me wrong, I like the new features, Mobile Reports, KPI's, Power BI Integration, custom parameter layouts, custom branding, etc.  I'm excited to get this rolled out for sure.  But there's a couple head scratchers in this one as well.

Okay, rant over.

Decimals not importing correctly for Mobile Report Publisher (SSRS 2016)

$
0
0

I have been creating reports via Mobile Report Publisher (SSRS 2016) using an Excel workbook at the data source.  For some reason when adding a worksheet that contains a specific decimal .07 (7%), it imports as 7.0000000000000007.... in the data model. I have verified that the data type for the column is a number and that there are no values in the column that have a mixed data type.  Has anyone seen this before?  Very odd!  I have put the same data file into Datazen to confirm it was not an issue in the old tool, which it was not.   Below is how the data renders in the Data View for some test values I tried:

Excel (Original Values)
.01
.02
.03
.04
.05
.06
.07
.08
.09
.1

Mobile Report Publisher (Data View after Import)

.01
.02
.03
.04
.05
.06
7.0000000000000007...
.08
.09
.1

Any assistance you can provide would be greatly appreciated!


SSRS shows diffrent number of rows every report

$
0
0

hi

i  have profiles built on SSRS the dataSource from a procedure SQL.

the issue is that the first page of the report show 1 row,
an another report shows 3 rows.
the the rest of the pages shows 10, 11 and its ok.
i cannot understand, why the first page shows 1 or 3 rows?


Return Corresponding Year in SSRS Expression

$
0
0
I have a start date and an end date in my report. Now when the report is run, we want to display if it's current year and if so, display "2016" else, using the end date as a guide, display the year judging by the end date.

Zionlite

SSRS reports on different workbooks

$
0
0

In my SSRS project I have 5 reports not related to each other in any way. I want these reports to be exported on different tabs of a single workbook. I heard that it can be done using pagename property. Can someone please explain how?

Thanks,

Deepak

register with powerbi error in reporting configuration tool of sql server 2016

$
0
0
I am not able to integrate with powerbi in reporting configuration tool of sql server 2016.getting error like register with power bi.

SSRS reporting totals with drilldown

$
0
0

ok, So i have created a report with drill down at company level. the next option over is company name and invoice ect. 

I have added the expression =Sum(Fields!Rem_Due.Value), and =Sum(Fields!Rem_Due.Value) for invoice total however when i preview and run it i am not able to get the total to display under the drill down, any suggestions i need the total to appear marked yellow, what am i missing? 


When i change the grouping to include other parent or child because i need the total for invoice number it comes out like below it basically removes my initial drill down from company>? and it displays all of the invoices which really defeats the purpose

Error with SQL Server 2012 RSWebParts.cab for SharePoint 2010

$
0
0

I have A) SharePoint 2010 and B) SQL Server 2012. ReportServer is installed on back-end server B.

I would like to install webparts to explore native reports, but I failed. Error came in 2 different environment with same software and topology.

When I did exactly same steps with RSWebParts.cab of SQL Server 2008R2, it was successful. Why deployment of RSWebParts.cab of SQL Server 2012 fails in SharePoint 2010?

Following article titled View and Explore Native Mode Reports Using SharePoint Web Parts (SSRS)
suggest that I should install RSWebParts.cab. http://msdn.microsoft.com/en-us/library/ms159772.aspx

I found the RSWebParts.cab from BI Server C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Reporting Services\SharePoint

And copied to the SharePoint 2010 Server(Server A).

However error came with following command:

PS C:\temp> Install-SPWebPartPack -LiteralPath "C:\Temp\RSWebParts.cab" -GlobalInstall

Confirm
Are you sure you want to perform this action?
Performing operation "Install-SPWebPartPack" on Target
"C:\Temp\RSWebParts.cab".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help
(default is "Y"):y
Install-SPWebPartPack : Failed to extract the cab file in the solution.
At line:1 char:22
+ Install-SPWebPartPack <<<<  -LiteralPath "C:\Temp\RSWebParts.cab" -GlobalInst
all
    + CategoryInfo          : InvalidData: (Microsoft.Share...tallWebPartPack:
   SPCmdletInstallWebPartPack) [Install-SPWebPartPack], SPException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletInstallW
   ebPartPack

-------------------------------------------------------------------------------------------------------

ERROS came as well as with stsadm command:

PS C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\bin>
stsadm.exe -o addwppack -filename "c:\temp\rswebparts.cab" -globalinstall

Failed to extract the cab file in the solution.

--------------------------------------------------------------------------------------------------------

Deployment was successful when I tried to deploy RSWebParts copied from SQL Server 2008R2 and install to very same SharePoint 2010 farmwith same command.

Viewing all 10045 articles
Browse latest View live


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