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

Exporting to Excel - How to control Column Heading?

$
0
0

I'm working in SSRS 2012.  I have one tablix in the report body.  The tablix has both Row and Column Groups.

When rendering in the web browser the report page breaks on a row group.  The Repeat Column Headers property is set to "True" so it shows the column headings from page to page.

When rendering in Excel, I want one worksheet and not separate worksheets so the page break is disabled via the Page Break->Disabled property expression "=IIf(Globals!RenderFormat.Name="EXCELOPENXML", True, False)".

This is all good but the Column Headings only show up once at the very top in the excel worksheet. 

Is it possible to make the Column Headings repeat with each tablix data region as it is rendered vertically down the worksheet?

OR is there a way from SSRS to set the Excel property "Rows to Repeat at top" to include Column Heading; by default the SSRS Report's header is repeated in Excel, but can the number of rows be changed to include the Column Heading?

OR is there some other work around?

Thanks for your help.
Mark


Subscriptions: Can day range include final days of the Month?

$
0
0

Hello,

When I established a Data-Driven Subscription for the report to run during the Month for the days: 24-30,

I gain this error:

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)

I can establish the Subscription, if I select a day range of 1-5.

I need this report to run at the end of each month. The day range is the final two business days of the month.

Is the error explaining that not all months include a 30th day? Therefore, cannot be established?

If this is the case, is there a workaround to help?

Thank you!


Mark

Different datasets in one Tablix

$
0
0

Hi Friends,

I have one requirement where i have to display company logo and name in SSRS page header/footer/body  (dataset 1) and Employee details(dataset 2) in the same report Tablix body.

I have tried to use the shared datasets with Lookup but i don't have common fields to join my Dataset1 and Dataset2.

Please help me to resolve this issue.

Thanks,

Sam

Having problem while taking multiple values on Filters

$
0
0

Hi ,

I had a daily summary table and I am trying to generate a report on it.

Initially  i took date as query parameter to get values from database and it worked fine.

Later i added 3  filters(report filters) to the report which will allow multiple values.

Then onward I am facing the problem when i select  'select all'/multiple values on any of the filters i am not getting data in reports.

But if i select a single values in filters i am able to see data in reports. 

Thanks in advance

 

Alternating colors with drilldown groups not showing in the primary group.

$
0
0

Hi all,

Not sure if it is possible in SSRS but... My alternating colors work in my row groups of the drilldown group, but I also want the primary group (in my screenshot category) to be colored as well. Is this possible at all when my structure is like below?

add drop down list to report which created by Report Builder

$
0
0

i am using ssrs report builder 2.0 to create reports.

and i know i can add parameter to the report and bind it to a dataset,then when running the report,there will display a drop down list of the parameter.

but i do not know how to do this: i have a table to display data in report body,and i want to display drop down list on the table header(normal just display static label),so user can filter table data by use this drop down list after running the report.

can you help me ?

thank you very much!

Combine multiple rows of same column into one with a comma separation

$
0
0

Hi Friends,

I have one requirement where

1) Students can  have one staff or multiple staff

Database values :

Class Code      Staff Name

A                       Steve

A                       David

if count(staff)=1 then  

staff1

else 

staff1 & "," & staff2 & "," & staff 3

I have tried to use Join & Lookup but ended up with same staff value is adding like

staff1 & "," & staff1  

Please help me in solving this issue.

Thanks,

Sam


deploying/creating linked reports with script or command line

$
0
0

Hi,

Working with SSRS 2012.

I have a couple of report folders with reports in it. Now I want to create linked reports of some of them in an existing reportfolder. I know how to do that manually, but it there a way to do that with for exampleRS.exe(or an other script solution).



power pivot can we restrict some parameters by default?

$
0
0

Hi

I designed power pivot in excel 2010 through  SSAS cube and deployed to sharepoint. There is multivalue option   in filter e.g Bill type--all-C-M-O-R where user can select all or any of them or NONE OF THEM. I need to design in such a way the end user can not  do non select at any time.....

Any trick? 

How do you keep an email subscription from sending if there is no data?

$
0
0
I have a report where a subscription is made to send an email with the report every monday.  How do you keep it from sending if there is no data?  Do you use IF EXIST within the query?

SSRS 2012 CHARTS STOPPED RENDERING AFTER SQL SERVER SERVICES RESTART

$
0
0

We have reports that have been working just fine for many months in 2012 SQL Server Reporting. Over the weekend, we restarted SQL Server Services and Reporting Services and now no charts render. We get a broken image link. These reports were working just fine until the restart. Is a reboot really necessary to bring them back? Is there something else causing this? The cache was refreshed after statistics were updated also. But this should not affect charts in reports...

please, any help would be great.

thank you

Can't get around this error after adding second dataset...A scope is required for all aggregates used outside of a data region unless the report contains exactly one dataset

$
0
0

I added a dataset to an existing report and broke an aggregation.  In the old (i.e. single dataset) report, this expression below worked fine.  I wanted to get a distinct count of the vst_ext_id field when my educated field was like "VTE1*"

= CountDistinct(IIF(Fields!educated.Value like "VTE1*", Fields!vst_ext_id.Value, Nothing))

After adding a new dataset, this no longer works and I get the error " A scope is required for all aggregates used outside of a data region unless the report contains exactly one dataset".  Having done some research online, I found that I needed to specify my dataset explicitly and I thought this new expression might work, but still no success...

= CountDistinct(IIF(Fields!educated.Value,"DataSet1" like "VTE12*", Fields!vst_ext_id.Value,"DataSet1", Nothing))

Am I missing something?  Based on online responses, this explicit dataset naming convention seems to help most people, but it isn't working for me. 

Thanks in advance!

Brian


#Error in SSRS Expression

$
0
0

Hi In Total I am having formula like this

=IIF(IsNothing(Fields!TotalCharges.Value) or Fields!TotalCharges.Value <=0 , 0,Sum(Fields!Payments.Value) / Sum(Fields!TotalCharges.Value))

But still it is giving me error.Can you help me for the same.

Report Subscription fails, shows 'success', specific scenario

$
0
0

I have a report that will run successfully except for one very specific scenario.  Any help or suggestions tracking down this issue would be helpful.

The report is named ProjectsWeeklyReport.rdl and takes a single parameter of a specific user's login account "DOMAIN\username"

  • The report runs successfully in the web regardless of the parameter  (works for all users, including john.doe)
  • The report runs successfully in Report Builder regardless of the parameter (works for all users, including john.doe)
  • The report runs successfully as a subscription with the report included as aMHTML file and a statically-selected parameter EXCEPT for john.doe.  The same report works for all other users selected as the parameter
  • The report runs successfully as a subscription with the report included as aExcel file (instead of an MHTML file) regardless of the statically-selected parameter (works for all users, including john.doe)

To summarize, in order for the report subscription email to fail, these conditions have to be met (otherwise the result is success):
 - Report must have the parameter "DOMAIN\john.doe"
 - Report must NOT be MHTML format in the email

I can see the subscribed report worked according to the ReportExecutionLog in MS SQL.  Is there any reason why the MHTML version of the report subscription would fail to email?  Any reason why it would fail as MHTML but be fine in other formats (PDF & Excel both tested success)

For example, this one was never emailed:

InstanceName:  APPSERVER\@Sharepoint 
ItemPath:  /{73419db6-f0e2-4096-a710-c630e8a26295}/Reports/ProjectsWeeklyReport.rdl 
Username:  DOMAIN\p_sps_app_pool_porta   (App pool account)
Execution ID:  rkciwraxt5cmoi55niw3wx45
RequestType:  Subscription 
Format:  MHTML 
Parameters:   Engineer=DOMAIN%5Cjohn.doe
ItemAction:  Render 
TimeStart:  7/22/2014 4:27:05 PM
TimeEnd:   7/22/2014 4:27:12 PM
TimeDataRetrieval:  1200
TimeProcessing:  75
TimeRendering:   5667
Source:  Live 
Status:  rsSuccess 
ByteCount:  277050 
RowCount:  431 

NOTES:

  • There are no logs in Exchange message tracking of this email ever reaching our servers
  • The Manage Subscriptions page shows the report emailed successfully  "Email sent to.." with the correct timestamp of 7/22 at 4:27 PM

And compare to this one that was successfully emailed:

InstanceName:  APPSERVER\@Sharepoint 
ItemPath:  /{73419db6-f0e2-4096-a710-c630e8a26295}/Reports/ProjectsWeeklyReport.rdl 
Username:  DOMAIN\p_sps_app_pool_porta   (App pool account)
Execution ID:  1yycmuiwc4hzymzuyj1zbc45
RequestType:  Subscription 
Format:  EXCELOPENXML
Parameters:   Engineer=DOMAIN%5Cjohn.doe
ItemAction:  Render 
TimeStart:  7/22/2014 4:21:10 PM
TimeEnd:   7/22/2014 4:21:18 PM
TimeDataRetrieval:  1574 
TimeProcessing:  73 
TimeRendering:   5912
Source:  Live 
Status:  rsSuccess 
ByteCount:  34180
RowCount:  431 


Suggestions of where to look for errors? Troubleshooting ideas?  Anything would be helpful!  Thanks in advance.

Alternative to Bookmarks for "In Report" Navigation?

$
0
0

Using SSRS 2008 (R2) and Report Builder 3.0

We have a lot of reports that currently use bookmarks for internal navigation. They work fine except that our Nav Bar is located in the page header. Because the bookmarks are below the header the header is often not visible when a page opens.

Is there anyway to force the page to open above the page header? Are there any alternatives to bookmarks that would work?

Our Nav Bar has to be located in the header so that we can stop it from being exported to individual spreadsheets in Excel.

Thanks for you help!


How export a report in Excel where show Page Header in one sheet and the Body in other sheet?

$
0
0

Hi,

I need help!, because I need export a report in Excel where the Page Header shows in one sheet and the Body in other sheet. I have SQL 2008 R2, is it possible?

Thanks a lot for your answers.

Sukey Nakasima


Sukey Nakasima

Radar Charts SSRS

$
0
0

Hi All,

I have requirement to develop a report like below image.

Is to possible to develop this kind of reports in SQL Server Reporting services 2008 r2.

I have tried with one example but the major grid lines shows only circle it is not changing to below image shape. Please provide your thoughts.

Why SSRS is looking for "Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config"

$
0
0

I am using BIDS 2012.

I am getting this error:

Unable to load assembly U2.Data.Client, Version=2.1.0.0, Culture=neutral , PublicKeyToken=9ab9148678f4f448, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error.  ---> System.IO.FileNotFoundException: Could not load file or assembly 'U2.Data.Client, Version=2.1.0.0, Culture=neutral, PublicKeyToken=9ab9148678f4f448' or one of its dependencies. The system cannot find the file specified.

When I see the log file, it shows

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\web.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config.
LOG: Post-policy reference: U2.Data.Client, Version=2.1.0.0, Culture=neutral, PublicKeyToken=9ab9148678f4f448

I am expecting

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config

how can I force SSRS to use "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config".

Regards,

Rajan Kumar


Rajan

Service Clients failing with "The request failed with HTTP status 401: Unauthorized"

$
0
0

Hello,

We have implemented a solution using the SSRS web service clients as produced by the WSDLs.  We have deployed the application on one server, and via the code we are calling the SSRS on another server (i.e., not using ReportViewer, etc.).  We do know that the user signed in has permissions since from the same staging server the Report Manager and Reports can both be accessed and viewed.  However, it's only when we run the application and attempt to execute a report on the remote SSRS server that we get the following error:

The request failed with HTTP status 401: Unauthorized. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at AMC.AssetTracker.Reporting.ReportExecution.ReportExecutionService.LoadReport(String Report, String HistoryID) at AMC.AssetTracker.Reporting.Report.GetReportByteArray() at AMC.AssetTracker.Reporting.Report.get_ReportStream() at AMC.AssetTracker.Reporting.Report.get_GetWebUIDisplay() at AMC.AssetTracker.UserControls.AssetTrackerMain.btnGenerate_Click(Object sender, EventArgs e)

The credentials we have tried are the DefaultCredentials.  One question I have is how do you use custom credentials if neither the DefaultCredentials or the DefaultNetworkCredentials work?  Also, this service call does have to go through an ISA server before reaching the SSRS server.

Any ideas?

Thanks.

Start Date and End Date--MDX Query

$
0
0

Hi guys,

 I have a date attribute from my OLAP cube. As per the requirement, I have to add a calendar "from date" to "to date"so I added a date parameter in data set designmode and selected range(inclusive) filter which gives me from date and to date. After that, I changed the parameter values as follows

="[SalesDetails].[Date].&[" + Format(Parameters!FromSalesDetailsDate.Value, "yyyy-MM-dd") + "]"

 but it is giving an error while executing the report.

 The 'xxxx' string cannot be converted to the date type.

 Any help would appreciated.

 Thanks

 Tarakq

Viewing all 10045 articles
Browse latest View live