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

rsreportserver.config Report Configration file not found

$
0
0

Hello

I have installed Microsoft Visual Studio 2005 And Also SQL Sever 2005(Including Reporting Service), But i can't find
RS's RSPreviewPolicy.config file AND RS's RSReportDesigner.config file. How Can i find it ?

Plese help me for this Question


Parameter for ORDER BY in DAX query not respected

$
0
0

I have an SSRS table fed by a parameterized DAX query (utilizing the methods in thesearticles). I have all of my parameters working just fine except for those feeding my closing ORDER BY statement (I am offloading the sorting to the Tabular for several reasons, including a large tested performance gain over sorting in SSRS). I have defined the ORDER BY as follows:

ORDER BY @Order1, @Order2, @Order3, @Order4

I cannot get even the first parameter to work. I can pass arbitrary strings with no impact on the report returned, though if I hard code the ORDER BY in the query, the ordering is respected, so I know this is a problem with the parameter.

Running a Profiler trace on the server when I fire the SSRS report returns the following as the parameter value for @Order1:

<Parameter><Name>Order1</Name><Value xsi:type="xsd:string">Dimuser[UserID-Name]</Value>

This is exactly what I want to replace @Order1, and when I hard code that exact string into my query I get the behavior I want.

I have played with \ escaping the brackets to no avail.

Any insight is greatly appreciated.

Upgrade SSRS2008 to SSRS2012 without upgrading the Reportserver database?

$
0
0

Hi,

I have a SSRS 2008 setup.

2 SSRS servers in Scale out deployment and  Reportserver, ReportserverTempDB on a different server.

I wanted to Upgrade only SSRS servers to 2012 but leave database server in SQL 2008(Reportserver, ReportserverTempDB's server).

Is it a supported setup? 

Cannot "Add Total"

$
0
0

In my report I have a Debit and Credit column. Both are expressions based on a report field.

When I right click on the Debit or Credit field, the "Add Total" option is greyed out.

How do I create a total field for the two report columns?

Regards,

John

Conditional Sum Data based on sequence.

$
0
0

I need to do some conditional summing in my SSRS report.

As of right now, it just sums up the values by common CASEID per FINISH,

but I need it to conditionally sum while the IDs are consecutive,

once they are not, the sum is displayed and the next ID is counted.

Even if a previous ID comes back, it must start a new line and a new sum.

This is my raw data in SQL

RTYPE CASEID QTY BLOCK FINISH ---------------------------------- CASE 1058769 1 5001 4686 CASE 1023964 1 5001 4686 CASE 1058769 1 5001 4686 CASE 1043742 1 5001 4686 CASE 1043742 1 5001 4686 CASE 1043742 1 5001 4686 CASE 1058769 7 5001 4686 CASE 1043742 1 5001 4686 CASE 1043742 1 5001 4686 CASE 1043742 1 5001 4686 CASE 1043742 1 5001 4686 CASE 1043742 7 5001 4686

This is the data I'm getting in my SSRS report

RTYPE   CASEID  QTY BLOCK   FINISH
----------------------------------
CASE    1058769 9   5001    4686
CASE    1023964 1   5001    4686
CASE    1043742 14  5001    4686

But this is the data I am trying to display

RTYPE   CASEID  QTY BLOCK   FINISH
----------------------------------
CASE    1058769 1   5001    4686
CASE    1023964 1   5001    4686
CASE    1058769 1   5001    4686
CASE    1043742 3   5001    4686
CASE    1058769 7   5001    4686
CASE    1043742 11  5001    4686

I've truncated the code above to easier readability but our sql statement in SSRS (which pulls from two different views in Oracle) is a little more verbose, but it builds the report using this query:

SELECT RTYPE,
  min(SORTKEY1) sortkey1,
  COORDINATED_BLOCK,
  FINISH,
  case when (RTYPE = 'CASE' OR CASEID LIKE '%PULL%') THEN CASEID
 ELSE DWR_CONFIG || '-' || PULLTYPE END AS CASEID,
  sum(QTY) Qty
FROM
  (SELECT RTYPE,
    COORDINATED_BLOCK,
    CASEID,
    CASETYPE,
    DWR_CONFIG, PULLTYPE, 
    FINISH,
    MIN(ID)  AS SORTKEY1,
    SUM(QTY) AS QTY
  FROM CASE_FRONT_SUMMARY_TEST
  WHERE MATERIAL_DESCRIPTION NOT LIKE '%HANGER%'
  AND RTYPE = 'CASE'
  GROUP BY RTYPE,
    COORDINATED_BLOCK,
    CASEID,
    CASETYPE,
    DWR_CONFIG, PULLTYPE,
    FINISH
  ) XXX
  group by rtype, coordinated_block, finish, 
        case when (RTYPE = 'CASE' OR CASEID LIKE '%PULL%') THEN CASEID
 ELSE DWR_CONFIG || '-' || PULLTYPE END
order by 3, 2, 4, 5

Is something like this even possible in SSRS or SQL? We are stumped over here.



the .RDL extention is showing on the report name.

$
0
0

I am using SSRS (SQL Server 2012) and am having trouble finding where I need to go to remove the .rdl extention from my report name in the Globals!ReportName variable. Changing the RDL file name as described in previous posts does not help. Any ideas on how I can get that extention removed from the name?

Globals!ReportName = "Report Name.rdl"

Thanks!


Conversion failed in SSRS

$
0
0

working on SSRS, I am getting an error message

An error occured durring local report processing.

cannot read the next data row for the dataset "mydataset'

conversion failed when converting the varchar value '@myparameter' to data type int

'myparameter is an integer value and data type in database is int("work week numbers" from 1 to 53)

I wanted to pass workweek numbers as my parameter but keep on getting that above error

Please help me figure out this?

SSRS 2008 configuration Manager - "Invalid Class"

$
0
0
Reporting Services Configuration Manager is throwing an error when I try to "Find" the server. The manager starts up and takes me to the "Reporting Services Configuration Connection" window. I click on the "Find" button (leaving the default comptuer name as-is; the local machine)  and get the error message "Invalid Class" with the title "Reporting Services Configuration Manager".

I've been searching around the interner and only found one forum post with a similar problem to my own. It was on this forum and the advice seemed to be pointing towards a problem with WMI, but it seemed that the user never found a solution. I've downloaded and ran the WMI diagnostics program and the log does contain quite a few warnings, but I don't know how to go about solving most of them. I did run regsvr32 on some dll files though :)

I won't post any logs yet, as I have no idea where the problem may be based. Please advise and I will post the required information.


Displaying data from SQL to Sharepoint

$
0
0

Hello

I've been given a task to connect to SQL database, display data in SharePoint (100s of fields), add filters and searches and print reports - in Sharepoint. Users would need access to specific facility only, based on AD group. I know that I can display data easily in SharePoint, without designing web app, but not sure how to accomplish showing and printing reports.

I usually design windows applications in Visual Studio, but not web app. Should I look into creating web app in ASP.net or SharePoint project? Or just design a web part in ASP.net? Or is there a way to setup everything in SharePoint designer after setting up connection under external content types or data sources (not sure which way is better)? I'm working with SharePoint Designer 2010, SQL server 2012, Visual Studio 2012 

Any advice and references/links are welcome! Feeling overwhelmed with variety of options and trying to get an expert opinion on correct approach... Thank you!


Alla Sanders

Order by day name a tablix

$
0
0

Hi everybody!

I have a table that is ordered by day name.

select (CASE 
WHEN DATEPART(dw, TimeStart) = 1 THEN 'Domingo' 
WHEN DATEPART(dw, TimeStart) = 2 THEN 'Lunes' 
WHEN DATEPART(dw, TimeStart) = 3 THEN 'Martes' 
WHEN DATEPART(dw, TimeStart) = 4 THEN 'Miercoles' 
WHEN DATEPART(dw, TimeStart) = 5 THEN 'Jueves' 
WHEN DATEPART(dw, TimeStart) = 6 THEN 'Viernes' 
ELSE '7 Sabado' END) AS Dayname
from Logs
Order by (CASE 
WHEN DATEPART(dw, TimeStart) = 1 THEN 'Domingo' 
WHEN DATEPART(dw, TimeStart) = 2 THEN 'Lunes' 
WHEN DATEPART(dw, TimeStart) = 3 THEN 'Martes' 
WHEN DATEPART(dw, TimeStart) = 4 THEN 'Miercoles' 
WHEN DATEPART(dw, TimeStart) = 5 THEN 'Jueves' 
WHEN DATEPART(dw, TimeStart) = 6 THEN 'Viernes' 
ELSE '7 Sabado' END) 

In my report i have a column group "Dayname" and this one give me as result a header ordered (A-Z)

How can i get in my results : | Domingo | Lunes | Martes | Miercoles | Jueves | Viernes | Sabado |  ?

Is this posible through any report property or something like that?

Thanks!!

 


Retrieve data source connection string from reportserver.dbo.DataSource

$
0
0
I would like to retrieve the connection string (and credentials) for each of my data sources (without having to click on each individual item). The DataSource table has a column called ConnectionString, but the data type is image, which cannot be converted to varchar. Does anyone have any ideas of how to pull this information from the database?

I have tried converting to binary/varbinary, and then converting to varchar, but I get garbage back.

Note: I am currently using SSRS 2005

Thanks,
Marianne

Extract Multiple Rows from a Single Table into a Single Row in a New Table

$
0
0

I have a table in a database that contains contact data like name, address, phone number, etc.

The folks who designed the database and wrote the application wrote it so that all contact records are placed in that table, regardless of contact type. In fact, the contacts table does not even have a column for "type" even though there are many different types of contacts present in that table.

I am trying to write a mail merge style report in SRSS, that gets sent to a specific type of contact, based on criteria provided that must be obtained from another table, and that data is then used to get back to a specific set of contacts from the contacts table.

The attached file directly below describes my problem and all related information in an extremely detailed way.

SRSSMailMergeIssue.pdf

Unless there is a way to make a SRSS Tablix point to two different data sets in SRSS, it looks like I have to combine multiple rows from the same table into a new table.

If anyone can review the details in the attached pdf file and possibly point me in the direction I need to run to solve this probelm, I would greatly appreciate it.

I also included a document (below) that shows the tables I reference in the probelm description.

dbtables.pdf

what is bar chart and line chart?

$
0
0

Hi any body help?'

what is bar chart?

what is line hart?

every day i got diffrent type of data coming depending data i prepare any one charts?

i how to find what one suitable for me?

everytie i am asking my client?

why i used this charts?

please send me anyone clear information,i am not go every time with client

thanks

revathi

SSRS 2008 Conditional Column Visibility Whitespace Issue

$
0
0
Hi Everyone,

I am using IIF statements to show/hide tablix columns based upon a parameter value. These statements are used as expressions in the visibility properties for the columns.

If the parameter value is one that causes the column to be hidden, the coulmn does not appear on the report, but there is whitespace in its place.

I have used this functionality very frequently in SSRS 2005 without the whitespace issue. The 2005 report automagically closed this whitespace up by moving the column to the right of the hidden one to now be adjacent to the column to the left of the hidden one at rendering. This is what i need to happen now in 2008.

Has anyone else experienced this? If so, would you please share your solution? I am getting extremely frustrated by this...

Thanks!!

How to create SSRS repot using MDX

$
0
0

Hello, 

Can any body let me know how to create SSRS reports using MDX query


Subreport - displaying issues

$
0
0

I'm having issues displaying a sub-report.

I have set the properties to my sub-report to be size 8 font and no borders. See the sub-report screenshot properties. Then, on my main report, I have also set the sub-report properties to be size 8 font and no border. See the main report (sub-report) properties.

After I ran my main report, my sub-report results are displaying with borders (see screenshot) and it looks like there is some padding. 

How can I make my sub-report to display without borders and to make the padding the cell just big enough to display each row (is there some cell padding property) that I need to tweak?

Thanks,

Alan


-Alan


SSRS & SAS

$
0
0

We have a data warehouse built in base SAS. All of reporting is currently done in SAS and we are thinking of possibly moving to SSRS but will probably keep the data warehouse in SAS. Is there an easy way to connect SSRS to our SAS datasets?

Table Explaination for dbo.catalog table in ReportServer database

$
0
0

Hello,

 

I am trying to look for the explaination for the columns in dbo.catalog table. Is there any place i have explainations for these tables?

 

For instance there is a column 'Type' in dbo.catalog table. But not sure what information it has - it has values like 1,2,3,4 .. Wanted to know what these values are.. Any idea on this?

 

Thanks, Uma

SUM VALUES BASED ON IIF CONDITION in RDLC REPORT

$
0
0

HI,

I am trying to SUM values form pay column based on nature column in RDLC report

the database table are like:

    Nature                       pay

(nvarchar(50))         decimal(18, 2)

PERMANENT                  1000.00

PERMANENT                  1000.00

ADHOC                          500.00

ADHOC                         500.00

I Just want to SUM the values based on nature column

Like if i want the total of PERMANENT then it must show 2000.00

and it i want the total of ADHOC the it must show 1000.00

Firstly i tried this EXPRESSION

=IIF(First(Fields!nature.Value, "DataSet1") = "PERMANENT","",SUM(CINT(Fields!pay.Value)))

But it Summing up all the values.

Then i also tried this EXPRESSION

=Sum(CINT(IIF(Fields!nature.Value = "PERMANENT","",Fields!pay.Value)))

But its giving -    #Error

Any Expert can direct me in the right direction...............?




sharepoint scrolling issue with report builder.

$
0
0

I have built a report in Report builder and all works and looks fine.  The report has probably 50 columns on the rows for a matrix.  It has two measures.  It then has Year and month in columns with collapse and expend endabled.  Total have been turned off.  When in sharepoint and you run a report that shows a few years of data all looks great collapsed.  When you expand the years showing the months and do this for a few years we will find that these years/months are crossing our Row data and we can no longer see them in the data.  This is only an issue when displayed on sharepoint.

IN the attached images you can see in the first image all looks good.  I can scroll to the end and see the data.  Once I expand a year like say 2011 and then try to look at the months is where the issue happens.  You can see in image two I am looking at rows and yet my months are above the rows where they should not be.  In image 3 it is just the next possible touch of the scroll bar and I can see the months ok. I cannot however see Jan and Feb.  IF I try to scroll to left on image 3 I see what you see in image 2.  If I open multiple years same issue on any years.  If I export to excel all is fine.  What is going on in sharepoint?


Ken Craig

Viewing all 10045 articles
Browse latest View live


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