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

SSRS 2008 comparison in performance in different parameters

$
0
0

Hi everyone,

Recently I experienced a situation with my report which has 2 report parameters mapped to 2 query parameters.My DataSet is populated by a query which performs select statement with 3 union operators

select...

union

select

union

...

In the dataset query I reference the query parameters multiple times and eventually the performance degraded. Then I declared two variables in my dataset query and refenced the sql variables in my script instead of the query parameters and it worked several times faster:

DECLARE @var1

set @var1= @queryparam1

DECLARE @var2

set @var2= @queryparam2

Can someone please explain this behavior of the parameter values? Why a variable declared in my sql appears to work much faster then referencing a query parameter? Does this mean that my query is making multiple roundtrips when the query parameter is referenced multiple time?

Thanks in adavance,


calculate business day between two dates

$
0
0

Hi Guys

 

I need the count of business days between two  dates

Date1, Date2 i need the count only business day (exclude sartuday&sunday)

If date1 is null or nothing i need to pass 0

If date2 is null or nothing i need to pass 0

 

help on this

How to use a variable value set from custom dll in dataset

$
0
0

Hi,

I've inherited a SSRS report that I need to add some functionality to.  I'm setting a variable, ADAuthorizations, from a custom dll 

ADAuthorizations is a string of all AD groups a user is a member of and I need to use this as a filter in a dataset.  I've tried using this variable as shown in the query below but I'm getting an error "The expression used for the parameter 'Unit_Permissions" in the dataset "Unit_Permissions" includes a variable reference.  Variable values cannot be used in query parameter expressions."  Is there another way I should go about doing this?   

= "SELECT UnitCode, UnitName " &
  "FROM dbo.VW_Unit_Permissions " &
  "WHERE UserId in (" & Variables!ADAuthorizations.Value & ")" &
  "ORDER BY UnitName "

Thanks,

Robert

Changing a data set in SSRS

$
0
0

Am in SSRS- have a report similar to previous one, so used it as a base by copying it to a new rdl file and renaming it, then added existing new report fiel to project-

Problem:  I need to use a different data set.

Attempted: added new data set, and deleted old one

Results: no matter what i do, I get a 'Data Set XXX does not exist in this report' error when I try to click on the data field and change the field for it.  No kidding it doesnt exist, I deleted it and added the new one. 

Have tried for 2 days to get it to accept the new data set.  Current method is to have to recreate each report from scratch, instead of using an existing one and adjsting.  Over 230 reports - this will quadruple development time and in reality makes SSRS useless.

Is there a way to get it to recognize that yes, in fact i changed the data set, so it should be looking at the new one?

Thanks

gej61

How to display calculated matrix columns in a graph?

$
0
0

Hi, 

I am working in VisualStudio 2010 hitting SQL Server 2012 to build SSRS reports.

I have a need to graph year over year percentage growth as derived from two SSRS matrix columns.  Everything is working except that the chart displays only one value for each year series, rather than displaying the correct percentages for each audience for each of the two years.

The values in the chart series properties are called with the expression: =ReportItems!YoYGrowthPercent2014.Value (or =ReportItems!YoYGrowthPercent2014.Value, respectively), where "YoYGrowthPercent2014" is the name of the detail cell holding the expression to calculate the growth percentage at the audience level in the matrix.

It looks like it should work yet the results are incorrect.  I've read several hundred articles and posts at this point and do not have an answer.

Is there any way to do this? It seems like it should be so simple, and yet...

Thank you!

~Khrys.

2008R2 Report Manager in IE11 (run as admin mode + with site added in trusted sites) is throwing error access denied for my user who has admin rights

$
0
0

2008R2 Report Manager in IE11 (run as admin mode + with site added in trusted sites) is throwing error access denied for my user who has admin rights .

My system admin user name: 'Mudassar-PC\Mudassar'

User 'Mudassar-PC\Mudassar' does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed.

In report server configuration manager my reporting service is running using builtin account-Local system

Report manager url:

http://localhost/Reports/Pages/Folder.aspx

Os:windows 7

Any idea even after launching IE 11 in admin mode and adding site to trusted sites my report manager is still giving error?/

I also don't see the 'site settings' on top-right corner as mentioned by so many people


Mudassar




Adding >= value to an existing "Count" query

$
0
0

I took this query from an existing 2012 report but need to modify it to only report software with a Count of 25 or more. Tried to add a HAVING statement but get an syntax error. Should I be using a HAVING statement or modify the WHERE clause?

SELECT DisplayName0, Count(*) AS 'Count', Publisher0, Version0, @CollID as CollectionID
FROM fn_rbac_Add_Remove_Programs(@UserSIDs)  arp
JOIN fn_rbac_FullCollectionMembership(@UserSIDs)  fcm on arp.ResourceID=fcm.ResourceID 
WHERE fcm.CollectionID = @CollID
GROUP BY DisplayName0, Publisher0, Version0 
ORDER BY Publisher0, Version0

How to add RGB values to a function using Report Builder 3.0

$
0
0

I have 3 status values of Unresolved, Resolved, and Open that I would like to match the color of the chart to the header sections in the data table. How do implement the RGB values into the following statement? 

=IIF(Fields!Inc_UserText6.Value = 1,"Unresolved",  IIF(Fields!Inc_Status.Value = "Completed" or Fields!Inc_Status.Value = "Closed", "Resolved", "Open"))     

I would like Unresolved to use R:231 G:65 B:8

Resolved to use R:74 G:142 B:247

Open to use: R:255 G:227 B:132

 




How to force all x asix label to display vertical but not horizontal no matter how many data set values in x

Barcode Fonts

$
0
0
I'm using SSRS 2005 and need to include a barcode onto a series of reports. Is there a default that I am missing that is included with SSRS or do you have a suggested package that I should download for creating the labels?
Chris

SSRS Use a formula for a line graph y = mX + b

$
0
0

Hi I want to show a line on a line chart using a formula in the form y = mX + b.   Can't seem to get this to work.   I inputted the formula into the "Value field" of the "Data field" but the line doesn't show up.

X = value for X axis (it's a date);  m and b are query fields (both type real)    The data is grouped on two fields that are specified in the "series field"

There are multiple values for X but only one value for M and B.

 

So for all dates (X) for each Group 1 AND Group 2 combo: chart this line.

 

Using: SSRS Visual Studio 2008

Column Visibility Issue in SSRS-2012

$
0
0

Hi All,

I am Hiren Parikh and My Greetings from India.

I am developing a SSRS report in SQL-2012.

I am facing issue in using column visibility property in SSRS for the tablix I have used in my report.

Following is the example of the data :-

When I use the property Column visibility for the above set of data.

The report is hiding the Product A & Product B columns. Ideally it should have hide only Product B column. But in my case Product A column is also getting hide.

I have tried all possibilities like IfNoting, IIF etc.

Please suggest.

Thanks in Advance.


Regards,

Hiren Parikh


Hiren Parikh

SQL Server Reporting Services - Access denied issue

$
0
0

Hi All,

My Environment : SCCM 2012 R2, SQL 2012 SP2 standard and Windows Server 2012 [VM box].

while configuring  reporting services get error the reporting service fails to start using the reporting service account.

when i start the service on the SCCM server “SQL Server Reporting Services (MSSQLSERVER)” does not start using the service account “Domain\SCCM-SQL-SRSSVC”.  kindly advice 

Parameter help

$
0
0

Hello,

I wanted to see if someone could help me with passing a parameter in a SSRS report. I’m using “action / go report” to move from report3 to report6.

The problem I’m running into is the textbox that I’m using is a grouped field.  If it wasn’t a grouped field I would simply use Name: AdvName, Value: [ADVISOR_NAME] in the Action parameter.

The name of the grouped field is ADVISOR_NAME1.

I tried passing the following custom expressions without any luck.

 ADVISOR_NAME1 .value

ReportItems!ADVISOR_NAME1.Value

Any help would be greatly appreciated.


x

Hide DataPoint Label if Zero in Chart in RDLC Report

$
0
0

Hello,

I want to hide the datapoint label if the value of my Y axis datapoint is zero.I am trying the below mentioned field expression in visibility of series label property.It does  not appear results as expected.

=IIf(Sum(Fields!RH_Col.Value,"DataSet2")=0, false, true)

I want to hide the datapoint label if the value of my datapoint is zero. Iam trying the following field expression in visibility of series label property. It does not appear results as expected.

=IIf(Sum(Fields!RH_Col.Value,"DataSet2")=0, false, tru

I want to hide the datapoint label if the value of my datapoint is zero. Iam trying the following field expression in visibility of series label property. It does not appear results as expected.

=IIf(Sum(Fields!RH_Col.Value,"DataSet2")=0, false, tru

RDLC report fails to build simple expression

$
0
0

Hi,

I have a very curious case. I've just downloaded a solution in VS2010 SP1. Everything builds fine except a single RDLC report which fails with a cryptic error:

Error 17 An unexpected error occurred while compiling expressions. Native compiler return value: ‘-1073741515’.

Looking at report definition I deleted all report items except a textbox with below definition

<TextRuns><TextRun><Value>=Parameters!ReportTitle.Value</Value><Style><FontSize>16pt</FontSize><FontWeight>Bold</FontWeight><Color>Navy</Color></Style></TextRun></TextRuns>

If I simply replace "=Parameters!ReportTitle.Value" for "abc" the project builds fine.

The mentioned parameter has a default value.

Any clue why my VS2010 Ultimate SP1 doesn't like to build this simple expression, other devs can build it fine.

Thanks,

Lucas

What does "Scale out deployment (Web Farms)" mean for SP2013 and SQL 2012 SSRS?

$
0
0

Dear community,

in the Feature List of Reporting Services 2012, it's written that "Scale out deployment (Web farms)" is not possible for SQL 2012 Standard edition. However, does this relate as well to SSRS in SP-integrated mode, or only to native mode?

In other words: is it possible to deploy SSRS using SQL 2012 STANDARD on more than one server in a SP2013 farm?

And just to be sure: am I right to assume that in both cases, you can create multiple SSRS Svc Applications (be they all running on the same server) and assign them to different web applications (through their proxy groups)?

Cheers,

C

Report Manager could not detect .NET Framework 3.5

$
0
0
Hi.

I am running VS2008 enterprise evalution version on XP SP3 with reporting and analysis services running fine.

The problem I am facing is when I click the Report Builder Option from Report Manage . I get the error message stating "To use the report builder you must install .NET framework 3.5"

I have .NET framework 3.5 installed on my system and running as implied from the below test

This machine has the correct version of the .NET Framework 3.5.

This machine's userAgent string is: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SIMBAR={9A33F5AB-FB0B-4036-9CED-E5E16D795253}; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022).

Please let me know what I am missing.

Also, I am running IE 8.0.6001

thanks
vineet

Error Message: The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version. The request failed with HTTP status 404: Not Found.

$
0
0

I have a web page that contains a ReportViewer control.  I am trying to display a report, which is an .rdl file located on the SSRS server, in this ReportViewer control.  I have set the ReportPath and ReportServerUrl correctly.  I am getting an error message.

Am I suppose to use an .rdlc file rather than a .rdl file?  Does the web server configuration need to use a certain account?

 I am getting the following error message:

  • The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.
    • The request failed with HTTP status 404: Not Found.

how to dynamic assign text value to a textbox

$
0
0

Hi

As titled, I cannot find the Textbox.text property so I can put in expression or where can put it.. ?!

It is a title textbox under a TABLIX ...

Thanks

Viewing all 10045 articles
Browse latest View live


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