Quantcast
Viewing all 10045 articles
Browse latest View live

Drill Down is not working after exporting to excel

Hi,

I have created a drill down report in SSRS . Its working perfect. But when I export it to excel, it is showing only the expanded nodes. But I want the same functionality which gives user to expand or collapse the nodes in Excel as well. Can any one please help me with this?


how to dynamic set the X date series...

Hi,

I set the X axis date value interval 1 so it can show as a daily "date", however, the chart is good if the data point is within 24 records. However, when I draw 7 days data (around 168 records), the x axis date lable will be messed up and cannot view the actual date values.

Could you advise a formular to evaluate the returned data set, if it is bigger than a variable (e.g 168 or returned data set records is larger than 168 then it will set to auto) ??

Thanks

Image may be NSFW.
Clik here to view.

Subscriptions throw configuration error.

I have configured my report server in native mode.

I set up subscription on one of my reports and Delivery method i configured is 'File share Delivery'.I have not configured email delivery for SSRS. 

When i run the subscription i following get the error in - 

Failure writing file xxx : The report server has encountered a configuration error. 

When i check in ReportServer logs ,all i get is - 

Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: AuthzInitializeContextFromSid: Win32 error: 110, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error.

 I check in Even Viewer and get - 

The Report Server Email extension failed to read its configuration settings from the RSReportServer.config configuration file. The extension is not available to users.

Please help!!

I don't know what exactly i am missing.

Conversion from string "" to type date is not valid

Hi

From my ssas data source I have a datetime field which is in this format 2015-01-02 00:00:00. There are also nulls in this field.

I want to change the format to dd/MM/yyy

I am using this

FORMAT(CDATE(Fields!Oldest_Action_Date.Value),"dd/MM/yyy")

When I run the report I get the warning that it won't do the conversion and any field where it is NULL is now shown with a #Error.

How can I get around this?

Thanks

Parameters question

Hi,

I have 2 sets of Data parameters from my Stored Procedure

1. Start Date and End Date

2. FFY and QTR

I am using or statement .

How to use OR Statement in SSRS Parameters.

Thanks !

Naveen

IAuthenticationExtension and IDisposable

In looking at the SSRS2012 code, it appears that SSRS2012 does not honor IDisposable on custom IAuthenticationExtension implementations.

Has this changed in SSRS2014?  

thanks

scott

How to point PowerView tab to a SSAS cube data source?

Hello,

I already have a SSAS cube connection in my excel workbook, and I would like to create a Power View pointing to the same SSAS cube connection.  Is that possible?  If so, how do I link the PV to the existing data source

Your help is much appreciated!

Error loading custom extension assembly - "The parameter is incorrect"

SSRS2012 fails to load my custom authentication assembly.  I see this error in the logs:

extensionfactory!ReportServer_0-2!10d8!01/02/2015-23:34:49:: e ERROR: Exception caught instantiating Forms report server extension: System.IO.FileLoadException: Could not load file or assembly 'CT.Integrations.SSRS.Web.Impl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
File name: 'CT.Integrations.SSRS.Web.Impl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' ---> System.ArgumentException: Invalid directory on URL.

Note, the DLL is purposedly not strong named as this an unfortunate ripple affect causing all referenced assemblies to also be signed.

The rssrvpolicy.config does have the following entry to hopefully allow for this:

<CodeGroup
class="UnionCodeGroup"
version="1"
Name="SecurityExtensionCodeGroup"
Description="Code group for the sample security extension"
PermissionSetName="FullTrust">
<IMembershipCondition 
class="UrlMembershipCondition"
version="1"
Url="C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\bin\*.dll"/>
</CodeGroup>  

I have the DLL in both ReportManager\bin and ReportServer\bin folders.  What might cause this error?

Fusion logs show the dll loads successfully so not sure why SSRS is not happy.




Cannot Edit My Data Driven Subscription

"The value provided for the StartDateTime field is not valid for its type. It cannot be converted from a string value to the type that is required. (rsElementTypeMismatch) Get Online Help
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Home

I'm a noobie. Getting the above error message SS 2012. Here's what happened. About 20 minutes ago I created a data driven subscription which worked fine (I set it for every five minutes, it ran 3 times). Then I edited the schedule but made a typo generating the above error.  The report is still running every five minutes. I'm going to have to put a stop to SqlAgent.

When I click the Edit button I get the error message again, immediately  - I never get a chance to edit the subscription. I suppose I could delete it, but isn't there a way to edit it?



Set Parameter to pick up previous month and year unless first month of the year


Hi,<o:p></o:p>

I have a start and end date set to the same format (CCYYMM) and date.<o:p></o:p>

I am running a report each month using the below expression.<o:p></o:p>

=Year(Today()) * 100 + Month(Today().AddMonths(-1))<o:p></o:p>

This functions correctly except when the report is run in January where the date returned is 201512 instead of 201412.<o:p></o:p>

Can someone advise of how i can get this expression to show the correct month when i run this in January?


M Stoker

Using DateDiff to work as Excel Networkdays

Hi there, 

Happy New Year to all.

So I am trying to work out the difference between today's date (GETDATE()) and a Target Date in a specific table (targetdate)

When I use the DATEDIFF function it is including non working days in the calculation (weekends and bank holidays). Although our date calandar table provided to us from a third party supplier will tell you the weekends, it does not tell you the bank holidays.

Luckily there is another table in the database called - ih_non_work_days.

The format of the date is "2014-12-25 00:00:00.000" for example in that table.

How do I using my "targetdate" and today's date calculate in days the differance - excluding the dates that exist in the ih_non_work_days database?


So for now my basic script looks like - 
SELECT   com.comm_reference AS'Referance',com.current_task_target_date AS'TargetDate',DATEDIFF(D,com.current_task_target_date,GETDATE())AS'Incorrect Date Calculation'FROM[dbo].[em_communication]as com

SSRS string to Date

Hello,

Please consider the following expression is SSRS : MID("ID201312",3,6)

I am trying to get this to output Dec-2013.

Any ideas?

Thank you

Getting Chart Data To Show Correctly??????????????????

Please assist me to get the year, month, week to date to show like my example doeson the right below.  What changes I can make to my query to get it to show as I need it to below. 

DataSet:

  SELECT DATEPART(YY,c.loandate) as YearLoan, DATEPART(MM,c.loandate) AS MonthLoan, DATEPART(WW,c.loandate) AS WeekLoan,a.SSN,A.[Borrower Firstname],a.[Borrower Email], a.[Home Phone], a.[cell phone], a.[marital status], a.[Date of Birth], a.[Current Street Address], a.city,a.[state],a.zip,a.Yearsatthisaddress, a.sex,a.ethnicity,a.race,a.isactive,
b.MonthlyIncome,b.Bonuses,b.Commission,b.OtherIncome,b.[Rent or Own],b.Checking,b.Savings,b.RetirementFund,b.MutualFund,
c.[Purpose of Loan],c.LoanAmount,c.[Purchase Price],c.CreditCardAuthorization,c.[Number of Units],c.Refferal,c.[Co-Borrower SSN],c.loandate,
d.[Property Usage],d.[Property City],d.[Property State],d.[Property Zip],d.RealEstateAgentName,d.RealEstateAgentPhone,d.RealEstateAgentEmail
  FROMdim_borrower a 
  LEFT OUTER JOINFact_Financial b
  ONa.BorrowerID=b.borrowerid
  LEFT OUTER JOINDim_Loan c
  ONb.LoanID=c.Loan_ID
  LEFT OUTER JOINDim_Property d
  ONd.property_id=b.propertyid


whereDATEPART(YY,c.loandate) = DATEPART(YY,GETDATE())
ORDATEPART(MM,c.loandate) = DATEPART(MM,GETDATE())
ORDATEPART(WW,c.loandate) = DATEPART(WW,GETDATE())

Image may be NSFW.
Clik here to view.

Display Disclaimer message before opening SSRS report

Hello,

I have a requirement to display a disclaimer message before going to the content of a particular report.

The workflow would be:

  • go to report folder e.g. Reports/Pages/Folder.aspx?ItemPath=%2fMyFolder%2fReports&ViewMode=List
  • Click on Report x
  • Display Disclaimer
  • Press 'ok' on disclaimer
  • Continue to report

This is SSRS 2012 native.

I had contemplated injecting JavaScript into the report, but this appears virtually impossible to do i a simple manner.

I am stumped as best to how to proceed.

Regards,

MrHH

SSRS2012 forms authentication cookie domain is missing

Switched SSRS2012 to forms authentication:

C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\web.config

.

.

<authentication mode="Forms">
<forms loginUrl="notused.aspx" name="ssrs" timeout="60" domain=".acme.com" path="/"/>
</authentication>

The cookie name is correct in the actual cookie but the domain is empty / not set for some reason.  The empty cookie domain causes a subsequent error in ReportingServiceProxy when trying to add the auth cookie to the request.CookieContainer.

protected override WebRequest GetWebRequest(Uri uri)

{ HttpWebRequest request; request = (HttpWebRequest)HttpWebRequest.Create(uri); // Create a cookie jar to hold the request cookie CookieContainer cookieJar = new CookieContainer(); request.CookieContainer = cookieJar; Cookie authCookie = AuthCookie; // if the client already has an SSRS auth cookie // place it in the request's cookie container if (authCookie != null) { request.CookieContainer.Add(authCookie); //Exception thrown here because of empty cookie domain } request.Timeout = -1;


Why is the forms auth / ssrs cookie domain empty?  How do you resolve this?

thanks

scott



SSRS 2012: Subtract multiple column values from one

Hi All, 

Scenario:

Col1Col2 Col3 Col4 Col5

5020 2010(To calculate)

In my report, I have 5 columns, first 4 have numeric values (BIGINT to be precise).

What I need:
Col5=Col1-Col2-Col3-Col4 (Ideally Col5 will be 0 always but I just need find the difference)

How do I subtract multiple columns from Col1?? 

Any help is highly appreciated!!

Thanks in advance,
Regards,
Mandar

problem in activating SQL Server Report Integration feature after upgrade

Hi,

I have a SharePoint 2013 farm recently patched up to October 2014 CU. Before the upgrade, I had installed and configured SSRS 2012 SP 1  (RS in SharePoint integrated mode) to the farm and it was in SP1 + May 2014 CU. After patching, I notice the site collection feature "SQL Server Report Integration feature" stops working. On new site collection, even it said feature activated, the SQL Server Reporting content type is missing. 

Anyone experienced this behavior after patching?

PowerView using a Cube with Mining structures ISSUE

Hello, I have a SSAS 2012 cube which has Mining structure. I've tried to create a PowerView report on top of this cube not because I want to use the mining structure but because I want to use the cube itself. When I tried this I got the below error:

Image may be NSFW.
Clik here to view.

As you can  see the issue looks like related to the "TheBIS time series Cluster" which is Mining structure, you can see it from the screenshot below:

Image may be NSFW.
Clik here to view.

Now my next test was to remove all the Mining Structures to be sure that the structures was the issue and I was  right, as soon as I removed all the structures I was able to create a report on top of the Cube.

Base on this looks like Power Views doesn't work with a SSAS cube that contain Mining structure.

Anyone has this issue already? any fix or workaround?

Regards,

Sebastian


Duplex printing in reporting services

I have been working on this problem for days. I have a report that is grouped
and will be printed duplex (front and back). There is a page break after each
group. I want to ensure that the start of a new group does not end up printed
on the back side of an old group. For example:

Page 1 (printed on front side of paper): group 1
Page 2 (printed on back side of paper): more group 1
Page 3 (printed on front side of paper): more group 1
Page 4 (printed on on back side of paper): group 2  <--- This is a problem

I need:

Page 1 (front side): group 1
Page 2 (back side): more group 1
Page 3 (front side): more group 1
Page 4 (back side): <This Page Intentionally Left Blank>
Page 5 (front side): group 2

Issues that I've run into include the fact that SSRS renders the entire body
first, before rendering the header/footer. This prevents the body of the
report from knowing which page it will end up on when it is rendered (and is
also why you cannot reference Globals!PageNumber from the body).

The restriction above also prevents using a variable in custom code to know
when to generate a page break. If you set this variable in the header/footer
then the body will never see it as the entire body is rendered first and will
therefore only see the initial state of the variable.

 

I have seen this issue posted in a number of places,
but no one ever has a solution to this (except switching back to
Crystal Reports).  Have any MVPs ever addressed this issue? I am
really hoping someone can offer a good solution or work-around.


 

 

SSRS boolean parameter Yes and NO instead of True and False in prompt area

Hi everyone,

I am using SSRS 2008
As i want to have the Yes or No     instead of       True or false in Radio button  Boolean parameter in prompt area.

Can any one please suggest me what i need to do i n order have YES or NO in the Radio button  In Prompt area .

And there is no place where i can write the expression. Please help me.

Thanks in advance to everyone.



Affu
SSRSWORLD
Viewing all 10045 articles
Browse latest View live


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