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

What does file I should deploy manually in a SSRS server?

$
0
0

Hi

I have the file Report1.rdl in the root of a SSRS project as the example when I use Visual Studio

But inside bin folder there is a debug folder with another: Report1.rdl

I want to copy manually my Report1.rdl in the server..

What does file I should deploy manually in a SSRS server?


Sum by a specific criteria or group SSRS/Report Builder

$
0
0

Hi!

i have to build a report for one of my coleague at work, but i ran into a deadlock

I have a matrix who drags data from a querry like this


Product A Product B Product CProduct DTotal
Unit A531520
Unit B151022
Unit C202052


the grand total  at the end at the row should be like this

=sum(Fields!SalesQty.Value)+IIF(sum(Fields!SalesQty.Value, "GroupbyProduct")>10,0,10-sum(Fields!SalesQty.Value, "GroupbyProduct"))

Meaning if the sum of SalesQty is les then 10, the difference between 10 and the sum(salesqty) sould lower the grand total

In this case on the first row the logic is like this : (5+3+15+20)+(10-5)+(10-3)+0+0

beeing a matrix - rows are grouped by unit and colums by product

i've tried formula like this

=sum(Fields!CantitateVanduta.Value,"unitate1")+IIF(sum(Fields!CantitateVanduta.Value,"GrupaProdus4")>10,0,10-sum(Fields!CantitateVanduta.Value,"GrupaProdus4"))

but  i get the error: 

The Value expression for the text box ‘Textbox436’ has a scope parameter that is not valid for an aggregate function.  The scope parameter must be set to a string constant that is equal to either the name of a containing group, the name of a containing data region, or the name of a dataset.
----------------------------

i've checked the group name and they are ok

thank you in advance!

B.H.


Display custom percentage for y-axis

$
0
0

Hi,

I have requirement, How to display the custom percentage for y-axis as below. 

Please advise.



Navigation between pages of a Tablix Report

$
0
0

Hi,

I have a tablix report with multiple pages. I want to create a text box which says "Go to the next page" with a hyperlink to go to the next page until the end of report is reached. Please suggest?

Regards

Dynamically name an emailed file with data driven subscription

$
0
0

Hi All,

I've read some posts on this matter but I still have doubts on it.

Is there a "standard" way to name a file that is send via email with a data driven subscription without implementin custom code (like report properties, subscription propertis etc...)?

if not what would be the custom that I need to implement?

Thanks,

Giovanni

Report that used to render in seconds in IE now hangs indefinitely, but runs fine in Chrome

$
0
0

A few months back, a simple SSRS report that had been working fine suddenly stopped working altogether in Report Manager.  When the report link is clicked, the "Loading..." icon appears... and, that's it.  The icon never goes away, and the report is never displayed.

I checked the ExecutionLog, and it report that everything is just fine.  Status shows "rsSuccess", and times for DataRetrieval, Processing, and Rendering are minimal. 

So, I tried the report in Chrome.  It rendered in seconds, if that.

Is IE hosing me?  Any ideas as to what is going on?  Thanks for your suggestions.

Dynamically Specify "No default value" or "Get values from a query" for a parameter

$
0
0

In SSRS's Parameter's "Default Values", is there a way to dynamically Specify "No default value" or "Get values from a query"?

Thanks in advance!


Column name in parameter

$
0
0

Hi All,

I am dynamically passing a column name in a parameter as a user input.

I want to use this parameter value which is actually a column name in my dataset query.

For example the parameter name is COLNAME and its value passed is lets say Rate1.

and the query is

select * from mytable where @COLNAME>=1.

which translates to

select * from mytable where Rate1>=1.

Now I tried setting the parameter datatype as Integer as well as text but it still gives me an error -

Conversion failed when converting the nvarchar value 'Rate1' to data type int.

when I try doing this - select * from mytable where Rate1>=cast(1 as char), I don't get an error but the resultset is not correct.

Please suggest

Regards,

Nigs

 

 

 

 


How to add scrollbar in SSRS Report or Subreports (SSDT 2012+ )

$
0
0

I have a report A with a sub report B. The sub report B contain a huge table (multiple fields).

I want to add a Horizontal scrollbar to help visualize all the fields.

I did a lot of research and can I find any good resource. Please help!

I am using SSDT 2017.

Thank you!

 

 

Mobile Report Publisher

$
0
0

 Hi,

I have designed a simple dashboard using SQL Server Mobile Report Publisher and then published it to SQL Server Reporting Service.

When designing it in Mobile Report Publisher, i have added titles to each tile.


But when it is published to SQL Server Reporting Services, the titles do not display.


I've opened SQL Server Reporting Services in IE 11, Edge & Chrome, but the text still does not appear.


Any suggestions?

Thanks,

Liam

How to user Report Viewer in Asp.net core Webapi

$
0
0

I have a requirement to access SSRS report from asp.net core webapi.
I am using below code it is working in normal webapplication but it is not working in asp.net core Webapi.

I have installed nuget package for "microsoft report viewer". 
But iam getting error at reportviewer object creation.
"An unhandled exception occurred while processing the request.
TypeLoadException: Could not load type 'System.Web.UI.WebControls.CompositeControl' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'."

And iam getting error at below line :Microsoft.Reporting.WebForms.ReportViewer rview = new Microsoft.Reporting.WebForms.ReportViewer();

Is there any Reportviewer available to access ssrs report in asp.net core webapi?


Calculations using multiple expressions

$
0
0

I have to cells in a report calculating the following:

Total Rent (in Textbox191):

=Sum(IIF(Fields!Fulco_Status.Value = "Landlord",  Fields!Annual_Rent.Value, Nothing))

Airport Rent (In Textbox181):

=Sum(IIF(Fields!Fulco_Status.Value = "Landlord" AND Fields!Agency.Value = "Airport",  Fields!Annual_Rent.Value, Nothing))

I would like to calculate Net Rent (Total Rent - Airport Rent) but I do not want to string these 2 expressions together.

I have seen the use of ReportItems, but have not had success using that, if it is even applicable.

I tried the following among other things:

=(CInt(ReportItems!Textbox191.Value) - CInt(ReportItems!Textbox181.Value))

Appreciate it !


Field NAME displays in tablix textbox instead of field VALUE

$
0
0

This one has me stumped...

This tablix textbox is bound to a date field, but it's displaying the field NAME instead of the VALUE. This is the only field in the tablix that's doing this.

Any ideas?


Darrell H Burns

How to disable KPI from the New tab in SSRS report manager portal

$
0
0
We are using SSRS 2016 native mode and do not want to use the KPI and Mobile Report options in the portal New Tab.
How to configure portal manual to remove these selections?  Thanks!

How to mimic a web application with SSRS

$
0
0

I'm trying to port over a web application to SSRS. I want to mimic some functionality the users are familiar with.

Below I started the design. I just added 2 columns but there are several more. 

On the web app, on certain columns, if there is an image on a particular row, you can click on it and a pop-up would come out to give more information. I want to be able to do the same (not necessarily a pop-up) and would want to know my options to do so.

Any outside the box ideas welcome.

TIA



Columns appear twice when exporting to CSV

$
0
0

I have a fairly simple SSRS report with a single tablix with a header, detail and 1 group row. The detail row is set to hidden so I just get the header and the group row. The report looks fine when the results display but when I export the data in CSV format I get two sets of columns, the first set with the names from the hidden detail row, followed by  a second set with names from the group row.

SO_NUM    SO_REL_NUM    SHIP_CUST_NUM    SO_NUM1    SO_REL_NUM1    SHIP_CUST_NUM1

How do I save the data in CSV format without this happening?

Selected text color on drilldown

$
0
0

When clicking on the on a field that has a link associated with it the field has a blue box that shows around the text.  Is there a way to change that color or make it brighter.  I am working with visual studio 15.9.3.



SSRS Dynamic Grouping

$
0
0

I'm trying to dynamically group on 3 column in SSRS report based on drop down parameter values. Three columns are PrtfName, BranchName, OfficerName. Expression that I'm using in group Properties is:  

=Switch( Parameters!GroupBy.Value= "PrtfName", fields!PrtfName.Value 
   ,Parameters!GroupBy.Value="BranchName",Fields!BranchName.Value 
  ,Parameters!GroupBy.Value="OfficerName",Fields!OfficerName.Value)

My Parameter drop down has 4 values 

None,PrtfName, BranchName, OfficerName 

When the value selected is None there should be no grouping.

Need help this expression doesn't seem to work.

Thanks.

Long text increases column width

$
0
0

SSRS 2014:  I have a report where text in the far right column/cell increases the width of the column rather than either being cut off or wrapping.  Here's a screenshot in design view:

and here's a screenshot at runtime:


The green is part of a sub report inside of the grid row below the row with the long text.  As you can see, the text

" … INVESTMENTS II" forced the cell (column) width to increase rather than wrap.  How can I prevent the width from changing?

Thank you.

SSRS - Dynamically replacing content in email

$
0
0

Hi,

I'm using SQL Server 2014 and SSRS.

As part of my susbcription I send out report as and when a task is completed. Email template is same for every email that I send out. But there are certain elements in the template that I want to change dynamically.

for e.g. If I was send out an email for a movie released today then the IMDB rating would be 4.5 but I send out an email tomorrow then the rating would update to 4.6... like wise movie name can also change. So how do I update themovie name and ratingsdynamically.

My email template:

"

Hi,

We are a new movie released "Save the planet"

IMDB rating: 4.5

Thanks

SSRS team."

Any help is highly appreciated.

Viewing all 20764 articles
Browse latest View live


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