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

Hiding Group Header with No Visible Rows in SSRS 2012 Report Builder

$
0
0

I have a report that groups data by Employee.

There is a visibility expression on the detail rows to only show rows based on parameter values.

This all works fine.

For example, an employee has these three rows.

When the report is run, the employee will enter a date range, like 5/1/16 to 6/30/16. In that case, the first row will not display.

However, there are some employees with no visible rows but they do have records. For example, I could run the report for 3/1/16 to 4/30/16. Nothing for this employee would display except his group header which is at a level higher than the detail row.

I'd like to hide the group headers for those employees.

How do you check for the number of visible rows?

Thanks


Charles Allen Managing Consultant BKD Technologies


ssrs 2008 expression question

$
0
0

in an ssrs 2008 report,      I have the following edit on a date field;

= IIF(Fields!r1RedWalletSentDate.Value= 0 or Fields!r1RedWalletSentDate.Value=" " or IsNothing(Fields!r1RedWalletSentDate.Value), " ", Fields!r1RedWalletSentDate.Value)

What I want to check for is if the value is 0, space, or is empty, display a space value. This works fine when there is a problem, but show #ERROR when the field contzins a real date.
Thus would you show me how to fix the expression, so that it will work correctly?


Deploy .rsmobile from Visual studio

$
0
0

I want to deploy .rsmobile file from visual studio to SSRS server.

When i deploy it always gets deployed as resource file and i can not run the file.

How to fix this issue.


~~ Mark it as Answer if you find it correct~~

SQL Server In-Place Upgrade

$
0
0

Hi,

I am trying to do an in-place upgrade (SQL 2012 - SQL 2014) for one of my production SQL Server. I am copying my current Reportserver information and the adivsor suggested fixes. Can someone help me on this please.

Current Server Version

Suggested fixes by the Advisor

Fixes

SSRS Snapshots Clean Up

$
0
0

Hi, we are trying to accomplish a cleanup in our SSRS data base. What we are looking is to delete all data related to certain snapshots we no longer need in our system. I wrote an script to perform this task but apparently i end up wiping out data that it shouldn't be deleted, rising rendering issues for some reports.

Just to give some background we use Snapshots for most of the reports inside our application. Each time a user request for a new report, we first save all the data that later is going to be used by the report’s data sets. Once this has been done our app requests for a new snapshot to SSRS using the CreateReportHistorySnapshot method of the web service sending the report path name and the requested parameters according the RDL definition. Once the SSRS finishes, we save the snapshot date and timestamp returned. If the user want to see the report later, we render it through the report viewer, sending the snapshot date and time stamp we get in the previous step.

So basically we keep track of each snapshot that has been requested through our application using the Snapshot date. So there is a relation between a document in our application that refers to a Report in our SSRS, and we made that relation using the Snapshot Date.

Inside our app it is possible to delete one of those documents, so when that happens a logical delete is performed. So the document got inactive.

And here is what we want to accomplish. We want to clean up those snapshots that points to documents inside our application domain, which have been set as inactive. Once the document is set as inactive inside our application is no longer available through the UI, so there is no need to keep that snapshot.

I wrote an script that takes all the inactive records from our application database and then using the Snapshot Date deletes the snapshot inside SSRS data base. But i end up having some issues later rendering certain reports. The tables being deleted by the script are:

  • Segment
  • ChunkSegmentMapping
  • SegmentedChun
  • SnapshotData
  • History

I would appreciate if you can give me some feedback on how a could perform something like this.

Thank you!


SSRS Parameter help. Using parameters on some charts but not others.

$
0
0

Hello: 

Could someone help me figure out how to use the weekday parameter result from one chart to create another chart based on that weekday but not using the parameter?

My report has 3 parameters based on dates: 1. Calendar Year (integer); 2. Month (integer); 3. Day (integer-calendar day in month number)

For chart #1, I am using all 3 parameters to display the hourly totals for each day (specific date). For chart #2, I want to use the day of the week that comes from chart one, but show the hourly average for that day of the week. Ie. I want to use the year and month parameters, but not the day parameter. I want to compare the results from an actual date with the average that occurs for that weekday in that month.

Any suggestions would be greatly appreciated. Thanks!

View Report in BIDS very slow, same report runs fast in report manager

$
0
0
I have a report that has a lot of parameters, groups, calculations and expressions. This report takes a long time to run in BIDS. However, the report runs fast in Report Manager. What could be causing BIDS to run the report so slowly?

Parameters Refresh Issue SSRS 2016

$
0
0

Hi all!

I've created a dynamic Query in MDX that allows every user to choose 4 values (for example Year/Month/Region/State....) from a SSAS Cube, which populates a table with 4 columns. Then i've added 18 Parameters to filter the table data. There are no connection between the parameters.

The problem is that after i select a value from one of the 18 parameters, the Report refresh and it takes 20+ seconds from Report Builder (40+ from Web Portal), then i can select a second parameter . So the Report is unusable!

I've tried few things:

- "Never Refresh" flag but it doesen't work;

- OLEDB connection to my Tabular;

- Delete the LevelMember from the parameters Query: this allow me to select every parameter without any refresh but it takes 30+ second to run the Query, which takes only few seconds from SSMS;

- I've tried to write "manually" the parameters Query with the Chris Webb "method": 

 so for example Year Parameter: 

Query Designer Query

WITH

MEMBER [Measures].[ParameterCaption] AS [Date].[Year].CURRENTMEMBER.MEMBER_CAPTION

MEMBER [Measures].[ParameterValue] AS [Date].[Year].CURRENTMEMBER.UNIQUENAME

MEMBER [Measures].[ParameterLevel] AS [Date].[Year].CURRENTMEMBER.LEVEL.ORDINAL

SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS ,[Date].[Year].ALLMEMBERS ON ROWS

FROM [My_Cube]

OLEDB Query with DUMMY Measure

WITH
MEMBER MEASURES.DUMMY AS NULL
SELECT 
{MEASURES.DUMMY} 
ON COLUMNS 
, [Date].[Year].ALLMEMBERS 
DIMENSION PROPERTIES UNIQUE_NAME, MEMBER_CAPTION
ON ROWS  
FROM [My_Cube]
CELL PROPERTIES VALUE

 Then i've created two calculated fields that show the ALL Value and Caption. From the Profiler this second Query runs much  much faster than the original one, but after i've changed all the other Queries the Report runs much slower! 

Any suggestion?

Sorry for my bad english and thanks in advance!


SSRS Sharepoint Dataset, how to filter using a list.

$
0
0

Hi,

is anyone able to advise of the format of the list string when attempting to use the contains operator in a SharePoint dataset in SSRS?

I am using SQL Server 2008R2 and Visual Studio 2008 3.5.

I am currently separating the items to filter on using a comma but this causes no data to be returned.

If however I input a single value e.g. Cat, the dataset will return all Cat data.

Report Builder 3.0 for SQL Server 2012: Image resizing when exporting to Excel

$
0
0

Hello,

I am building a report that contains an image in the header.  The issue is that in Report Builder, the image is 3.0374 in by 0.9809 in but when I run the report and export it to Excel it is 3.02 by 0.97. The person I am creating this report is very adamant that it must be exactly the same size after exporting.  Is there a way to prevent the image from resizing?

Can we have page numbers in rectangles of 2 page report without having page footer? ssrs 2008 r2

$
0
0

Can we have page numbers in each rectangles of 2 page report without having page footer?

Page footer I dont want to have and would rather include that as part of the body as shown in the diagram.

I wonder if page numbers would work in rectangle containers .




Architecture mismatch error setting up dataset in Report Builder

$
0
0
I have set up a new installation with Server 2012 and SQL Server 2016 Standard.  I have installed Reporting Services and have made an ODBC connection to my Progress database.  However, when I try to create a dataset, it gives me the dreaded 'architecture mismatch error'.  I know what this means but not sure why I'm getting it.  Everything is 64bit as far as I know.  Any thought on how I can create a dataset using a 64 Bit Progress ODBC driver on a 64 bit OS using the latest SQL Server 2016 Standard edition?  

Any replacement for the "Choose a style" page in New Table/Matrix wizard?

$
0
0

I just realized that the "Choose a style" page from the new Table/Matrix wizard in both Report Builder 2016 and Report Designer (SSDT for VS 2015) are missing that next to the last page of the wizard.

Although the color schemes weren't great, it was nice to NOT have to manually fix very TABLIX, text box, line, etc individually.  Although the mobile reports seem to have color palettes that you can easily change, there doesn't seem to be any options for paged reports other than 1) Doing every little piece manually  or suffering with the extremely boring and in my opinion hard to decipher shades of grey that is so popular in all parts of the SQL apps these days.

Please tell me I am wrong and show me a way to easily pick a different template for a paged report. 


Ann Weber

SSRS 2016 - Parameter Hidden Property

$
0
0

I have a SSRS 2016 report. There are 3 parameters.

When a parameter is hidden (Example - Test Param),  there is a blank space in SSRS 2016

It does not happen in SSRS upto 2014 versions. Any idea why that is


Fonts Added to Report when File Save As

$
0
0

It appears as though fonts are automatically added when exporting or saving an SSRS report as an MS Word document. I have Arial 8 throughout the SSRS RDL report. Yet when I file save the report as an MS Word document, Times New Roman at 10p appears in portions of the report that has been saved in various spots in the middle of the report.

How can I ensure that the entire document has Arial 8p throughout when saving as MSWord ?

Thank you,


John


Line chart query

$
0
0

Hi,

I am working on a dataset to create a line chart

Student ID, Registration Date, Enrollment Date , Graduation Date

1          07-06-2001                07-09-2001            07-07-2010

2          08-07-2001                09-09-2001            07-08-2010

3           07-07-2001                08-09-2001            07-09-2010

4           07-08-2001                08-10-2001            07-10-2010

5           07-08-2001                08-10-2001            07-11-2010

I want to create a line chart which should show the number of registrations, enrollments , graduations in a given month year 

In line chart what category should be used as I have 3 dates while I want to have month year on x-axis and y-axis - count  

There should be 3( lines/ series ) showing data for 3 series, registration, enrolment and graduation date


rsUnhandledHttpApplicationError in SSRS Form Authentication

$
0
0

Hi

I'm trying to follow the steps from MSDN custom or form authentication.

While running samples , I am having rsUnhandled HttpApplicationError / the file / logon.aspx doesn't existwhen I navigate to Web Service Url. And Http 500 when navigate the link in Report Manager URL.

Can direct me where did I do wrong?

Thanks


PowerSehll Command to Automate the Configuration

$
0
0

Hi

  We can configure the reporting services through reporting services configuration Manager manually. I am expecting a powershell command to automate the process of configuration.

  Could you please get me powershell script to configure SSRS native mode?

Thanks

Hari

 

  

SSRS 2016 - Report Manager Show\Hide details

$
0
0

How do we get to see the Show or Hide details button in SSRS 2016. It was very useful for me to sort the reports, get to see the the details of the report changed on a particular date etc. I am not seeing it in SSRS 2016.

--Nagasayana


SSRS Report: How to start report on row 1, and how to show grid lines ?

$
0
0

Our SSRS Report uses Generic table style (any style I select has the same issue).

1. The report header starts on row 2 of the table, and the data after that. How can I make the report header starts on row 1 ?

2. The report has no grid lines after the end of my data. Say I have data until row 8, the grid lines only show until row 8.
How can I show grid lines for all rows, even ones after the last row with data ? In Design mode, I had selected all cells and set BorderStyle = Solid and BorderColor = Black

Thank you.


Viewing all 20764 articles
Browse latest View live