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

How to fill the horizontal bar chart with different color

$
0
0

I want to display a bar chart like shown in the figure

Following are the values for my chart

a=100
Max value chart can show 200

When the value of category label a=100 the chart should fill till 100 and the remaining which it cant fill because a <> 200 it should show grey color.

Can we achieve this feature?




Adding table tag SSRS report placeholder

$
0
0

Hi All,

I have a table with a field data in html formatted.

This column is having data in text with HTML tags.

I added this field in tablix as a placeholder with Markup type as HTML interpret HTML tags as style.

I have a table with 3 rows and 3 column using <table> tag.

when i preview my data appears proper as formatted by HTML tags except Table tag.

Please help.

Thanks & Regards,

Vivek Singh

Can not change _TOP target on links in reports from SharePoint 2013 / SSRS ( GO TO URL )

$
0
0

We have SharePoint 2013 with Reporting Service add on.

We have ERP that can run SSRS reports in an IFRAME.

The ERP dns is ERP.OURDOMAIN.COM and SharePoint is SP.OURDOMAIN.COM

I have reports that has Go To URL Action to ERP.

Problem is that we need to open the link in a new window or into the IFRAME.

This would work with TARGET=_BLANK or eg. TARGET=_erpIFrame.

The problem is that for some reason SSRS adds TARGET="_TOP" to the Go To URL.

I tried to use javascript to open the link eg.

    javascript:void(window.open('http://erp.ourdomain.com/default.aspx?ProjectCode=12345','_blank'))

The link works fine when I run it directly from the SharePoint 2013 report library.

But when report runs inside IFRAME in ERP server the link does not work at all.

When I click on the link nothing happens.

I do not know if it is the IFRAME and domain names that causes some IE11 security blocking. Or the fact that the link in HTML source looks like :

<atabindex="1"class="A45592b6319f04852ae690abb779bfb4393a"href="javascript:void(window.open('http://erp.ourdomain.com/default.aspx?ProjectCode=12345','_blank'))"target="_top">12345</a>

Note that the last target="_top" is added by SSRS and I can not find any way to tell SSRS not to add it.

If I use a normal link http://erp.ourdomain.com/default.aspx?ProjectCode=12345 the link opens in _TOP and removes ERP navigation.

I also have tried adding target='_blank' in the report URL eg.

    http://sp.ourdomain.com/_layouts/ReportServer/RSViewerPage.aspx?rc:LinkTarget=_blank&rv:RelativeReportUrl=/Reports/report.rdl

Or

    http://sp.ourdomain.com/_layouts/ReportServer/RSViewerPage.aspx?rv:RelativeReportUrl=/Reports/report.rdl&rc:LinkTarget=_blank

But when I check the HTML source code on the report the link always has target="_top"

So the rc:LinkTarget has no effect.

Please help, is there no way to get this to work?

Cannot connect to Reporting Service

$
0
0

Hello,
I am not able to connect to Reporting Service on my local machine. Getting error as below


Cannot connect to localhost.

-----------------------------
ADDITIONAL INFORMATION:

The underlying connection was closed: An unexpected error occurred on a send. (System.Web.Services)

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

The handshake failed due to an unexpected packet format. (System)

I am using IIS7, SQL Server 2005 SP3, OS - Windows Vista


Please guide me to trouble shoot this.


Regards
Bhavik


-- Bhavik

SSRS 2008 Running Total Chart - Remove line after point

$
0
0

Hi All,

I imagine this one should be a quick win. Basically I am using running totals to create cumulative lines on SSRS. With full years data, this works wonderfully and I can compare years easily. However the issue comes when comparing a partial year to a full year. I would like for the current years data to only go as far as the current month, and for future months to not show on the chart. At the moment, obviously the running total breaks into a horizontal line for future months (I understand the logic of why this happens)

I've included a picture below of the problem as I see it.


Page name based on the Grouping or Page break

$
0
0

hi here is my expression for Grouping

= IIF(Fields!LoanStatusDescription.Value =

"Booked" ,"Closed Loans",

IIf(Fields!LoanStatusDescription.Value =

"Prospect"OR Fields!LoanStatusDescription.Value ="Pending"OR

Fields!LoanStatusDescription.Value =

"SFA"OR Fields!LoanStatusDescription.Value ="OnHold"

 

OR Fields!LoanStatusDescription.Value ="Approved"

,

"New Loans",IIF(Fields!LoanStatusDescription.Value ="Declined"OR Fields!LoanStatusDescription.Value

=

"Withdrawn"or Fields!LoanStatusDescription.Value ="Cancelled"

 

or Fields!LoanStatusDescription.Value ="PNW","LNW","Unknown")))

Now my whole data is in 4 groups New loans,ClosedLoans,LNW,Unknown and has a page break after each group

USing SSRS 2008 R2

How can i write an Page Name Expressions So that when i export to Excel it shows For tabs with this Different Groups on Each page...Like  New loans,ClosedLoans,LNW,Unknown

scale break on x scalar axis

$
0
0

I will develop a report with visual studio 2013

I will display  some temperature( y axis) at different datetime ( x axis in scalar mode )  my data will be like this ( my real dataset will be  much larger ...) :

08:00 => 150°C

08:01 => 145°C

08:02 => 155°C

08:03 => 170°C

09:01 => 120°C

09:02 => 125°C

09:03 => 124°C

I want that the graph is not displaying gap between 8:03 and 9:01 or a small one , with no line connection between this two point  ( I can have more than one day between the two series)

My questions are :

Is it possible to put scale break on x axis ? ( I think no !! )

If my dataset have different series does the scale will be different for each series and will have the desired behavior ?

Is it possible to have this behavior with code inside the report ?

Thanks for your help !


Visual Studio Basic 2010 Shell

$
0
0

Hi

Could you please recommend free online courses I can do to learn Visual Studio 2010 Shell -- especially report building and using expressions and custom codes please ?

Thanking you in advance.


Passing multi-value parameter in stored procedure ssrs

$
0
0

I have  customer parameter which is a drop down list in my report and I have set it to "allow multiple values". This is an SSRS report.

How do I pass multiple values to my stored procedure?


RJ

SSRS Parameters

$
0
0

Hi

I need help on using Parameters in a report.  We have multiple date options in our dataset, how do I specify which one I use in a date parameter ?

Calculating a date by using today and parameters

$
0
0

I have defined some parameters in my report, @staDate - type Date/Time, default value an expression =DateAdd("d",0,ToDay), @Consdays - type=Integer, @Demanddays - type=Integer.

In my SQL I use them in a LEFT OUTER JOIN like this; demand.Porddate > DATEADD(dd, + @Demanddays, @staDate)

But it is not working. I wonder if the format of the date to the left is important, because if I instead of DATEADD use a string '2016-01-25' it works. Any idea ?

Inserting an image into a data driven subscription email body

$
0
0
Hi, my aim is to insert an image into a data driven subscription email body.  Currently I have HTML text into the comment field and this work successfully setting the font type, colour, size etc.  What I cannot figure out is how to insert an image into the email.  Any help?

error (rsAccessDenied) - 'NT AUTHORITY\NETWORK SERVICE' are insufficient

$
0
0

I have created a report using Microsoft Sql Server 2005 Reporting in my ASP.NET 2.0 Web application. It is succesfully running on the server itself on which I have created. But when I am trying to access it from my client machine by typing URL in the IE6 it gives me following error.

"The permissions granted to user 'NT AUTHORITY\NETWORK SERVICE' are insufficient for performing this operation. (rsAccessDenied) "

Dont know how to solve this problem.

Error rendering report to PDF with large data

$
0
0

ERROR:
Receiving error when trying to export single page report to PDF...

Site throws:
     "Server Error in '/Reports_SQL2008' Application
Event Log shows:
     Event Type:      Warning
     Event Source:      ASP.NET 2.0.50727.0
     Event code: 3005
     Event message: An unhandled exception has occurred.
RSLog shows:
     library!ReportServer_0-2!5170!07/12/2011-13:46:43:: i INFO: RenderFromSession('/Scorecard Reports/Scorecard By Channel or Branch')
reportrendering!ReportServer_0-2!5170!07/12/2011-13:46:43:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report., ;
 Info: Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.ReportingServices.OnDemandReportRendering.OnDemandPageEvaluation.Add(String textboxName, Object textboxValue)
   at Microsoft.ReportingServices.OnDemandReportRendering.Report.AddToCurrentPage(String textboxDefinitionName, Object textboxInstanceOriginalValue)
   at Microsoft.ReportingServices.Rendering.HPBProcessing.HiddenPageItem.RegisterTextBoxes(RPLWriter rplWriter, PageContext pageContext)
   at Microsoft.ReportingServices.Rendering.HPBProcessing.PageItem.AddToPage(RPLWriter rplWriter, PageContext pageContext, Double pageLeft, Double pageTop, Double pageRight, Double pageBottom, RepeatState repeatState)
   at Microsoft.ReportingServices.Rendering.HPBProcessing.PageItemContainer.AddToPage(RPLWriter rplWriter, PageContext pageContext, Double pageLeft, Double pageTop, Double pageRight, Double pageBottom, RepeatState repeatState)
   at Microsoft.ReportingServices.Rendering.HPBProcessing.PageItemContainer.AddToPage(RPLWriter rplWriter, PageContext pageContext, Double pageLeft, Double pageTop, Double pageRight, Double pageBottom, RepeatState repeatState)
   at Microsoft.ReportingServices.Rendering.HPBProcessing.PageItemContainer.AddToPage(RPLWriter rplWriter, PageContext pageContext, Double pageLeft, Double pageTop, Double pageRight, Double pageBottom, RepeatState repeatState)
   at Microsoft.ReportingServices.Rendering.HPBProcessing.Report.NextPage(RPLWriter rplWriter, Int32 page, Int32 totalPages)
   at Microsoft.ReportingServices.Rendering.HPBProcessing.HPBProcessing.GetNextPage(RPLReport& rplReport)
   at Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer.Render(Report report, NameValueCollection deviceInfo, Hashtable renderProperties, CreateAndRegisterStream createAndRegisterStream)
   at Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)
   --- End of inner exception stack trace ---
   at Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)
   at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderFromOdpSnapshot(IRenderingExtension newRenderer, String streamName, ProcessingContext pc, RenderingContext rc, GetResource getResourceCallback)
   --- End of inner exception stack trace ---

NOTE:
Running on server...
SQL Server Reporting Services 2008 v10.0.1600.22 (Native)
SQL Server Analysis Serives 2008 v10.0.1600.60

Developing reports with...
Microsoft Visual Studio Team System 2008 Development Edition V9.0.30729.1 SP
 with  
Microsoft SQL Server Analysis Services Designer V10.0.1600.22
Microsoft SQL Server Integration Services Designer v10.0.1600.22
Microsoft SQL Server Reporting Services Designers v10.0.1600.22

BACKGROUND:
Reports previously exporting successfully to PDF.  No changes to machine other than lost connection with database server.  Report runs successfully with filtered data, but not when including all data.

Investigation so far included:
1)  Connection synchronization issue
     - restarted Reporting Services on machine
2)  Memory / space issue as report processes a large amount of data
     - recycled machine to clear cache
3)  KeepTogether property on tables/matrix set to default "false"
     - all tables/matrices updated to "true"

NOTE:
Investigation so far describes updating the install to SP1.  However, this report was working previously.  As well, due to the number of different reports/applications running on this machine; updating would be last resort.

ANY HELP IN THIS MATTER WOULD BE GREATLY APPRECIATED.

How can I hide toolbar & parameter screen from SSRS report link?

$
0
0

Hi All,

I am using Sql 2012 and SSRS 2012 on report manager(native mode) and IE version 11

I have a report link which I dont want to show toolbar and parameters

I tried to use  

http://zzzserver/Reports/Pages/Report.aspx?ItemPath=%2fEmg%2fSuper+Track+%2fCurrent+Super+Track+without+Rooms&rs:Command=Render&rc:Toolbar=true&rc:parameters=false&rc:stylesheet=hideToolBar

http://zzzserver/Reports/Pages/Report.aspx?ItemPath=%2fEmg%2fSuper+Track+%2fCurrent+Super+Track+without+Rooms&rs:ClearSession=True&rc:Parameters=false&rc:Toolbar=false&rc:Section=0

just extended the link with some true/false section

But it still doesnt work

any idea why?

Thanks.

Gok



Enable CORS on SSRS

$
0
0

Hello. 

I would like to display reporting services in the confines of my web app. The idea is to access reports, but not to have to leave the application. The solution, well, kind of a solution, is to host the reporting services inside of the iframe element. All works fine until you request some xls files to be downloaded, which get blocked by CORS. 

My question, is it possible, and how, to enable CORS for reporting services so I can host them in this fashion? My web app and SQL services are on different servers (obviously).

The other solution would be to fetch data from the reporting services through the controller action, and parse the recieved data, and then serve data in a way that substitutes all the links with the link to that action, and some additional attributes or other manipulation where would the original link be stored.

Thank you.

Subscription error - windows file share.

$
0
0

AFternoon all

I've set up a sbscription and I'm trying to save a report as excel in a folder on the network. I get the following error:

"Failure writing file Stats_PPI.mhtml : An impersonation error occurred using the security context of the current user."

I have access to the folder but when I use my credetials to run the subscription the above error occurs.

Any help would be much appreciated

Martyn

SSRS Reports Rendering into CSV with Wildcard characters in Column

$
0
0

I am using "#", "$" in my SQL Stored Procedure.

When SSRS outputs the columns headers it changes all the wildcard characters to a "_" i.e. CreditScore# as "CreditScore_" and Currency$ as "Currency_".

This only happens when I outputting the report as a CSV file. The wildcard characters remains same in other output formats like

Is there any way to display the wildcard characters correctly in CSV file.

Thanks in advance


SSRS SP Integrated Using Trusted Authentication Mode but Data Souce Using Windows Integrated

$
0
0

I configured our Reporting Service Integration in Central Admin to use the Trusted authentication mode.  From what I understand, this mode allows a data source to run using stored credentials.  I also thought that while configured to use Trusted authentication, integrated security is not an option. Well in my case it is the opposite plus an additional problem.  I am not only able to use integrated security, I must.  If I try to store credentials in the data source I am shown the error: "The given key was not present in the dictionary".

At this point I assumed my understanding of Trusted authentication mode was backwards so I switched it to Windows Authentication but there was no change.  Can someone help me understand what I get by choosing one of these authentication modes or the other? 

Report Viewer DateTime picker exchange MONTH and DAY after selection...

$
0
0

Hi,

I honestly don't know where to look to solve this problem.  when I preview my report, I have a DateTime parameter for which I click the icon to bring the calendar and select the date 2016-03-04

When I hit VIEW REPORT, the Textbox changes for 2016-04-03 making the result invalid






Viewing all 10045 articles
Browse latest View live


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