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

Group layout issue

$
0
0

Hi, I am using SQL Server 2008 R2. I am grouping on City, MonthYear, County. For instance

City         MonthYear          County

Renton    January - 2013   Kings

.

.

.

Renton   January - 2013   Washington

.

.

I would like to report this data as below: 

City      MonthYear         County

Renton January - 2013  Kings

.

.

.

                                      Washington

.

.

Not repeating City & MonthYear if the city has many Counties to report on for that month.

Thanks...............


SSRS 2005 Can't Create or Edit a Named Query Against a SQL 2008 R2 Database (This server version is not supported. You must have SQL Server 2005 Beta 2 or later)

$
0
0

The situation involves SSRS 2005 on the front end and SQL 2008 R2 databases on the backend. For a number of years we had SSRS 2005 on the front end and SQL 2005 on the backend, but the backend database platform has been upgraded recently to SQL 2008 R2. As a result, we can no longer add or edit Named Queries within the SSRS 2005 Data Source Views. A dialogue comes up now with the following error- "This server version is not supported. You must have SQL Server 2005 Beta 2 or later".

It obviously can't deal with the newer SQL Server 2008 R2 databases gracefully, so is there a work around for this?  We're planning to upgrade/migrate the front end to SSRS 2008 R2 (or SSRS 2012) later this year, but we still need to work with what we have in the meantime. Thanks in advance.


Bill Thacker

Getting error when create PowerView Reports: The versions of the Reporting Services SharePoint Add-In and the Reporting Services service application are incompatible or don’t support this functionality

$
0
0

I am setting up Power View in SharePoint - I installed SharePoint Server 2010 SP 1 (version 14.0.6029.1000) and SQL Server 2012 RS Add-in for SharePoint (version 11.0.2100.60), which was downloaded fromhttp://www.microsoft.com/en-us/download/details.aspx?id=29068&WT.mc_id=rss_alldownloads_all , then created a Reporting Services service application.

When I tried to create a PowerView report out of PowerPivot workbook, I got the following error:

"The versions of the Reporting Services SharePoint Add-In and the Reporting Services service application are incompatible or don’t support this functionality. ---> Microsoft.ReportingServices.Diagnostics.Utilities.RSAddinVersionMismatchException: The versions of the Reporting Services SharePoint Add-In and the Reporting Services service application are incompatible or don’t support this functionality."

SQL Server 2012 SP 1 is installed on the server (version 11.1.3000.0). Does anyone know what the problem could be?

Thanks,

May


Subreport hidden expression.

$
0
0

Hi,

 I have a multivalued parameter in SSRS report. That parameter will have the values in between 1 to 10 which are populated from Dataset.

So in the subreport hidden expression i am checking for a parameter value for 7 and i have written below express.

=iif(Parameters!P_Chart_Type.Value = 7, true,false)

it is giving an error saying

" The Hidden expression for the subreport contains an error: Operator'=' is not defined for type object() and type integer."

Currently my data set is retriving 1,2,3,4,5,6,10 values and populating to paramerter.

can anyone help me with the issue.

Chart Help needed

$
0
0

Hi Everyone!!

May be you guys can point me in the right direction..  I need to create a chart for Top 10 Incident which can change dynamically through out the day.

My Report dataset is simple its off a view

Select Incident,GroupArea,AgentName,count(refnumber),ticketnumber,Openeddate,closeddate from Vw_All_Logs

where closeddate between @Begindate and @Enddate

Group by 

Incident,GroupArea,AgentName,count(refnumber),ticketnumber,Openeddate,closeddate

I`m grouping my data in report by Agentname and I can get number of tickets each agent has closed... Now For the chart dep[ending on each Agent who closed the max tickets I would need to show that by Group area... So Chart would show which Group had most number of tickets in an Ascending order.. 

How can i get tit ?


FM

SSRS Authentication

$
0
0

Hi,

I have SQL Server DB Engine and Analysis Services in machine A while Reporting Services in on machine B. When I try to enter a reportserver URL for the first time it the windows authentication window pops up (i guess to delegate credentials from B to A).

How can I make this process transparent without having to insert user credentials?

Thank you!

Report Builder 3 SQL 2008R2

$
0
0

I have a report that looks at business activity in the previous calendar month.

The report has a subscription to run on the 1st day of the month.

Can someone assist in advising the scripting for select records with a date in the last calendar month, eg, parameter, filter etc.

Many thanks

How can I summarize the result of Lookup values in SSRS 2008?

$
0
0

I've a SSRS Report where one column is a result of Lookup from another dataset. I need to show the total of this column.

When I create a total for a group the column is doesn't include in my total, I think this is because is a result of the lookup data from another dataset?

For each row I'm using the following expression: =Lookup(Fields!InstallerID.Value, Fields!InstallerID.Value, Fields!RoutedPoints.Value, "Lookupdataset"), the return value is correct

And for a total row I'm using: =Sum(Lookup(Fields!InstallerID.Value, Fields!InstallerID.Value, Fields!RoutedPoints.Value, "Lookupdataset"), "Maindataset")

But the value is wrong.

How can I get the sum of this column?

I tried to use my own code but it's work for the first total only, becuase how it's not part of the group this is not clear !!!

Thanks in advance

Eliana


Windows 8 and IE 10 crashed after printing from Report Manager SQL server 2008 / 2008 R2

$
0
0

We have a problem with Windows 8 in combination with IE 10 and printing reports.
When we print a report from the Report Manager 'http://<servername>/reports' the browser crashed after a print.
Sometimes before printing and somthimes after printing or when you close the browser.
Al other operating systems like XP, Vista, Windows 7 with different IE versions have no problem.
I tried the report manager from SQL Server 2008 and SQL Server 2008 R2.

The same error occured when printing from our Internet application and the reportviewer.
(ASP application written in Visual Studio 2010 and reportviewer version 10.)

The event log shows two different messages.

Faulting application name: IEXPLORE.EXE, version: 10.0.9200.16453, time stamp: 0x509b0dfb
Faulting module name: ntdll.dll, version: 6.2.9200.16420, time stamp: 0x505aaa82
Exception code: 0xc0000005
Fault offset: 0x00061252
Faulting process id: 0x780
Faulting application start time: 0x01ce03a294f7d1d5
Faulting application path: C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: d4a72486-6f96-11e2-be6e-10604b6a74ed
Faulting package full name:
Faulting package-relative application ID:

Faulting application name: IEXPLORE.EXE, version: 10.0.9200.16384, time stamp: 0x50107ee0
Faulting module name: rsclientprint.dll, version: 2009.100.1600.1, time stamp: 0x4bb67a74
Exception code: 0xc0000005
Fault offset: 0x00017e7a
Faulting process id: 0x9c8
Faulting application start time: 0x01ce02f35c70ab85
Faulting application path: C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE
Faulting module path: C:\Windows\Downloaded Program Files\rsclientprint.dll
Report Id: a13fccc6-6ee6-11e2-be67-10604b6a74ed
Faulting package full name:
Faulting package-relative application ID:

Is there a fix for this problem?

URL Parameter double using Jump to URL option

$
0
0

Hello,

I designed a report and used "jump to URL" to jump to an external site. The url get a parameter and look likehttp://mysite.com/my.aspx?ID=1

This work fine if I test the report in the report builder.

Now i take the .rdl and put it on a report server to get access over web.

The report is generated but the url parameter looks like http://mysite.com/my.aspx?ID=1&ID=1

I don´t know where the second "ID" is coming from.

I tried an other parameter like http://mysite.com/my.aspx?test=mytest and the result is http://mysite.com/my.aspx?test=mytest&test=mytest

If I don´t set an url parameter the url works fine.

Any hints?


SSRS, Reduce resolution of image?

$
0
0

I can find lots of posts about wanting to increase or improve the resolution of an image in SSRS. I am looking for the opposite: how to reduce the resolution in order to create a smaller Excel file size when users export to Excel.

Users run the report, export to Excel, and email the file to external users and customers. The report can sometimes have up to 100 images so the file size can be 15MB. The desire is to reduce the size of the Excel file. The users want to keep the image size as is (3in x 3in) if possible so perhaps reducing the resolution will decrease the size? Of course, then they will complain about the image quality :-/

My report pulls the image from SQL. The images are taken with digital cameras and usually range from 1 to 2 MB each. The image properties are:

Size: 3in x 3in

Sizing: Fit

MIME type: png

Running SQL and SSRS 2008 (not R2).

Is there an SSRS option for this? Ideally it would be report specific, not a server wide setting. Maybe a SSRS code function or even SQL code to reduce the size as it comes from the database?

Thanks.

SSDT-SSRS project. On preview of report getting error prevented the view from loading

$
0
0

OK, I have installed SSDT on my laptop and was able to create and deploy a database project successfully to our server.  I was also able to create a SSIS project successfully and now I'm testing a SSRS project. 

I'm able to build a report successfully but when I click on the preview tab.  I get the following error: 

Error prevented the view from loading.

Additional Information:

An error occured while attempting to start the report preview worker process.

However, in the solution explorer I can right click on the report, select Run and the report will popup in a new window and load successfully.

Subtotals from group header, and parent groups

$
0
0

I've searched and experimented with this but still cannot get what I need.

This was dirt simple in Crystal, which I'm now porting to SSRS.

Here's an example data set:

Client | DeliveryId |DeliveryDate | DeliveryTotal | Item
Bob    | 1000       | Jan 01      | 50.00         | Socks
Bob    | 1000       | Jan 01      | 50.00         | Ties
Bob    | 2003       | Jan 03      | 14.00         | Socks
Tim    | 4500       | Jan 05      | 76.00         | Cufflinks

Here's the grouping structure:

Client
    DeliveryId (shows DeliveryTotal, DeliveryDate in group header)
        DeliveryDetail (shows Item, not DeliveryTotal since it is repeated in each record)


I need to show a client subtotal which sums all of the distinct DeliveryTotals for that client.

Here's an example showing the grouping and data:

Bob
    DeliveryID: 1000
    DeliveryTotal: $50.00
    DeliveryDate: Jan 01
        Socks
        Ties

    DeliveryId: 2003
    DeliveryTotal: $14.00
        Socks

Client Total: $64.00
(sum of the 2 DeliveryTotals, not the DeliveryTotal in each record since it is duplicated)


I've tried variations on Sum, Inscope, grouping contexts etc but no luck.  Using any form of Sum multiplies the total by the number of records which is incorrect.  If I could nest aggregates I'd be fine.  If I could sum on ReportItems I'd be fine (I think).  But it doesn't matter since SSRS doesn't allow either.

I've put some thought into using custom code, but then I'd be having to manually code grouping, sums, totals and resets on group change.  That sounds ridiculous to me.

Can I somehow sum by group name, and DeliveryId?  That would effectively create a sum at the right scoping level, and be a distinct sum for the entire Delivery record, not each detail row.

Again this was dirt simple in Crystal version 7... over 10 years ago.

Any suggestions?



KB2716436

$
0
0

On Tuesday (10/09/2012) SP 3 was installed for SQL Server 2008 R2 (KB2716436) by Windows Update.  My installation of SQL Server includes Report Services - so now when someone tries to print it wants to redownload the DLL's - I logged in as administrator and removed the old DLL's and download the new ones and it printed fine.  But once you do that - the system keeps prompting you to install the DLL's - now none of my end-users can print due to this issue.  I looked at the server and the DLL's are the same version there as to what is install on the client - v2007.100.5500.0 RSClientPrint.dll

Are there any other solutions I should try?

Print always hangs from VS2008 report Preview window

$
0
0
I am creating a report in VS2008 that displays with no problem in the Preview window, but whenever I click the Print button from the Preview window while in VS2008, the print window (Printing page 1 of ..) appears but never gets past page 1 and never prints.  If I deploy this report to a SQL 2008 Report Server and run it from Report Manager, I can print from there.  Unfortunately, when it hangs in VS2008, the only way I found to fix it is to kill VS2008 from Task Manager.  I have tried printing to 2 different printers, I tried running small one page reports, it does not seem to matter how small or simple the report is.  I have been using VS2008 for reports off and on for about 4 months, and while I think I have printed from here before, I really cannot say 100% that I have been able to print from the Preview window in the past 4 months.  I cannot find a post anywhere about printing from VS2008 creating problems.  Any ideas of where the problem might be will appreciated.

Printing in Reporting Services hangs

Client Printing Hangs

SSRS charts : two series on the same chart

$
0
0

Hello,

I have very specific question about customizing charts using SSRS BIDS 2008.

Here is the problem: I have chart that shows series of different counted items per current and last 3 quarters. I need to add another bar to each series that would show average of count items for the same quarters. Essentially, I need to merge two different series on the same chart. I would prefer counts and average as bars on the chart and not as a running average line.

Is it possible to do it? How this can be achieved?

Thanks.

How to create an optional parameter in ssrs report

$
0
0
I have a report where I want to give the report user the option of entering a phone number as a filter if they want to pull data only for a particular phone number or  pull the report without entering a phone number as a parameter, thus disregarding the use of the filter.     I have parameter for the phone number that shows as a text box where the report user can enter the number then click to run the report.  A filter on the data set that uses the phone number parameter as the value.   It works fine when I enter a phone number (it returns the row associated with the phone number entered.  However when I do not enter a phone number, no rows are returned.    How can I get all rows to be retuned when I do not enter a value for the parameter?

M Collier

Since upgrading to SQL Server 2008 R2 have blocking issue with caused by xp_sqlagent_enum_jobs waiting for PREEMPTIVE_OS_GETPROCADDRESS

$
0
0

After moving around half of the scheduled reports that I had running without issue on a SQL 2008 SSRS server to a SQL 2008 R2 SSRS server,  I started getting the following blocking errors during admittly more busy schedule times.    Can I get some suggestions on what to try?  This issue is if the xp_sqlagent_enum call cause the report service job to timeout the report schedule doesn't run. 

The Following Processes are Blocking other Processes:(BLOCKER)
SPID: 54
STATUS: running
CMD: EXECUTE
DB: master
LAST_BATCH_TIME: 31 Jan 2013 22:00:22
wAIT rESOURCE:
last_wait_type: PREEMPTIVE_OS_GETPROCADDRESS
SQL Statement: xp_sqlagent_enum_jobs

The Following Processes are Waiting for Resources:(BEING BLOCKED)
SPID: 60
CMD: SELECT
DB: ReportServer
WAITTIME: 11
BLOCKED BY: 54
wAIT rESOURCE: KEY: 6:72057594043957248 (6f9082f4553a)
last_wait_type: LCK_M_X
SQL Statement: select S.[ScheduleID], S.[Name], S.[StartDate], S.[Flags], S.[NextRunTime], S.[LastRunTime], S.[EndDate], S.[RecurrenceType], S.[MinutesInterval], S.[DaysInterval], S.[WeeksInterval], S.[DaysOfWeek], S.[DaysOfMonth], S.[Month], S.[MonthlyWeek], S.[State], S.[LastRunStatus], S.[ScheduledRunTimeout], S.[EventType], S.[EventData], S.[Type], S.[Path], SUSER_SNAME(Owner.[Sid]), Owner

Viewing all 10045 articles
Browse latest View live


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