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

SSRS with SharePoint 2010 Managed Metadata or Lookup Values - Display

$
0
0

When creating an SSRS (SQL Server 2008 R2) report from SharePoint 2010 list/library data using BIDS:

  1. A Lookup field or Managed Metadata field displays in the format "1;#value" rather then just the "value".
  2. SharePoint columns that have Rich Text display HTML tags in the report field. 

What is the best way around these issues?

Is a Regular Expression the best way to parse out the value? If so does anyone have an example? Is there a BIDS/Dataset adjustment in the query that displays a "more user friendly values" from either Lookup/Managed Metadata or HTML tags?


Connecting SSRS to a linked server

$
0
0

Hello everyone

We have an Oracle server we need to get data from. We managed to configured it as a linked server in SSMS, so now under Server Objects\Linked Servers\, we have a server called Oracle and we can see our data in there.

Now, we need to do reporting with SSRS against that same Oracle server. When I go to my SSRS server, I click on New Data Source. 

Question - can I point this Data Source to the Linked Server from above, or directly to the Oracle server? What are my options, and what is the best practice?

Do I need any special software on the SSRS server, like Oracle Client? What data source should I use, and what is my connection string?

Any help would be appreciated!

Any ProperCase function in SSRS report

$
0
0

 

There used to be a ProperCase function in Crystal Reports, is there anything similiar in the new SSRS report?

 

Camel Case

$
0
0

I need to display text in camel case e.g. How Are You....Because of some deign limitation i can't make chnages in my SP. So i need to do it ar SSRS end....Pl let me know if y know the ans...Thanks

Change data source of report in SharePoint 2013

$
0
0

Hi there

Not sure if this should be in the SharePoint forum or here, but since moving from SharePoint 2010 to 2013, we're having trouble finding where to change the data source of an existing SSRS report when stored in a SP doc library. In SharePoint 2010 "Manage Data Sources" was available directly from the context menu as described in the MSDN documentation here. Unfortunately we're not able to find this option anywhere in 2013.

Any suggestions on where to find this?

Thanks!

COUNT and IIF not working?

$
0
0

=COUNT(IIF(Fields!AGING.Value<0))

I keep getting this error and the expression looks correct to me - Any help would be appreciated.

The Value expression for the textrun ‘Textbox20.Paragraphs[0].TextRuns[0]’ contains an error: [BC30455] Argument not specified for parameter 'FalsePart' of 'Public Function IIf(Expression As Boolean, TruePart As Object, FalsePart As Object) As Object'.

To display subreport page header when included in the main report

$
0
0

Hi, 

I am designing  a  report  using SSRS 2005.The main report has a few subreports.Each subreport has header which serve as page and table header for the report content.When the subreport is run individually there is no problem where header is getting displayed for each page  but when main report is executed only subreport body content is displayed.Can someone please suggest if there is any workaround for displaying sub report header

My subreport looks as shown in the image below.

SSRS report AVG calculation to exclude 'zero' values

$
0
0

Hi all,

Please assist with the below:

I have a report that contains a calculated field. I wish to find the average of a set of values, with the exception of0 values.

For example, in the below, I'd like the avarage to be 13.806 (13.60+13.99+12.99+14.95+13.50)/5, and not11.51 (shown below) (13.60+13.99+12.99+14.95+0.00+13.50)/6

Please assist,

Many thanks

Regards

Zimiso




The feature: "The edition of Reporting Services that you are using requires that you use local SQL Server relational databases for report data sources and the report server database." is not supported in this edition of Reporting Services.

$
0
0

Hello all,

I have SQL express 2014 advance edition installed ..

and i am connecting SQl server 2008 r2 instance which is in network 

while creating datasource in Reportserver which has Express installed ..

got this error ..

please help me how to connect to remote server


Dilip Patil..

To find the difference of the grouped value in other group

$
0
0

Hello,

I have a requirement to find the difference of the grouped values in SSRS MAtrix report. Can anyone help to understand how to implement the same.

Below the query for dataset.


SELECT 'June-2013' period, 'SM' Rank, 1 GUI, 'F' Gender

UNION ALL

SELECT 'June-2013' period, 'ALUMNI' Rank, 1 GUI, 'M' Gender
UNION ALL
SELECT 'June-2013' period, 'ALUMNI' Rank, 1 GUI, 'M' Gender
UNION ALL
SELECT 'June-2013' period, 'SM' Rank, 1 GUI, 'F' Gender

UNION ALL

SELECT 'July-2013' period, 'SM' Rank, 1 GUI, 'F' Gender
UNION ALL
SELECT 'July-2013' period, 'M' Rank, 1 GUI, 'F' Gender
UNION ALL
SELECT 'Aug-2013' period, 'ALUMNI' Rank, 1 GUI, 'M' Gender
UNION ALL
SELECT 'Aug-2013' period, 'ALUMNI' Rank, 1 GUI, 'M' Gender
UNION ALL
SELECT 'June-2013' period, 'SM' Rank, 1 GUI, 'F' Gender

UNION ALL

SELECT 'June-2013' period, 'SM' Rank, 1 GUI, 'M' Gender


UNION ALL

SELECT 'July-2013' period, 'SM' Rank, 1 GUI, 'F' Gender
UNION ALL
SELECT 'July-2013' period, 'M' Rank, 1 GUI, 'M' Gender

UNION ALL
SELECT 'Aug-2013' period, 'ALUMNI' Rank, 1 GUI, 'F' Gender
UNION ALL
SELECT 'Aug-2013' period, 'ALUMNI' Rank, 1 GUI, 'F' Gender

SSRS chart - expressions don't work on axis labels

$
0
0

Hi, I've noticed that expression don't work on axis properties like color and font weight. Is this also applied to series labels? I'm trying to create an if expression and doesn't change anything.

Thank you

Bar Chart labels are occupying more than the needed space

$
0
0

Hi,

I'm using a bar chart to display percentages. X axis is for 0 to 100% and Y-Axis is for categories. Labels on Y-Axis are aligned to the axis line, and it leaves some blank space on the left of the label, that could used by the chart area. Is it possible to control this?

Thank you

System.IO.File.Exists - Not working

$
0
0
I Hide/Show an image based on the existence or not of that image. If the image exists, then I show the image the report has to show. If the image does not exist, then I show a default image. Think of it as an eCommerce web site which shows a catalogue of products. If we do have a picture for that product, then we show the product's picture. If we do not have a picture for that product, then we show a default images that says image not available.

To achieve this, I tried to use System.IO.File.Exists("image path") in the Hidden property of the image field but it does not work.

I thought it could be the due to the location of the image but I also moved the image to my local machine where I am designing this report and it still fails.

I created a very simple console project just to see if the library works and it does, when I run the code on a console application, it perfectly works, it returns True.

I also modified rssrvpolicy.config changing all PermissionSetName to FullTrust and still nothing.

I will really appreciate any possible solution, links, ideas, comments...

Thanks in advance for your help.

Miguel Gonzalez.

Calculating Exact Month Difference in SSRS

$
0
0

Hi I need to calculate exact month number difference between two dates .

Currently I am using this function to see if the two dates differ by a month

DateDiff(

"m",Fields!PreviousDueDate.Value,Fields!CurrentDueDate.Value)

How do I write a function which gives an out put as 1 , If the PreviousDueDate =03/31/2015 and CurrentDueDate =04/01/2015.

Thanks InAdvance


SG


How to make a report public on SSRS manager

$
0
0

I have built a report and have deployed it on my machine .Now this machine is part of a network of computers.

Can this report be made public to anyone on the network without access issues ? 

All I want is anyone in the network  to click the report url link and launch the report without going through access authentication as this just for testing purpose.

My ssrs is 2012 version and sql server is also 2012 .

I had installed this on the machine and my network AD login was the account which I configured intially  say "company\testabc'

When I created the report the datasource I set it as windows authentication which will take my login and execute the query on the sql server db table 'test' to get data for my report.

What are the things I need to do inorder to achieve this functionality?



Mudassar



Passing Parameters

$
0
0

I have two reports and want to pass the parameters from one to the other.

ReportB has two parameters Division and Department; both parameters read from shared datasets, dsDivision and dsDept respectively.

ReportB has the same two parameters and reads the values from the same shared datasets.

The problem:

1. I select the parameter values on ReportA, all works correctly

2. There is a text box on ReportA which has an Action to "Go to Report"; the parameters are mapped from ReportA to ReportB

3. When I click on the text box ReportB opens and the parameter values are passed along as expected

4. When I try to change the parameter values in ReportB and click on "View Report" the parameter values are reset back to the values that were passed from ReportA

What I am trying to do is allow the user the ability to change the parameter values on ReportB without having to go back to ReportA.

I hope this makes sense!

Thanks

Adding subreport in drillthrough report

$
0
0

 

How can I add a sub report in a drill through report.

 

Thanks in advance

 

How to add subreport to main report dynamically and export it to report server?

$
0
0

Hi,

I'm trying to create custom reporting solution where the user would be able to choose from different separate reports (chart based mostly) to insert into the main report.

I'm trying to create a fully dynamic report which would keep on adding subreports based on user selection.

All subreports are in my report server. So I need to fetch individual subreports from the report server and embed them in main report.

Also at the end the custom designed report should get deployed into the report server.

Could you advise me how to go forward. I had a look into the LocalReport.LoadSubReportDefinition but its not working as expected.


Note : I'm using SRRS on SQL Server 2008 R2.

Thanks

Subham

VbCrLf in expressions cause loss of data on export to Excel

$
0
0

I have a report where it is necessary to embed 3 text boxes in a rectangle, which then lives in a Tablix cell:

Within the highlighted cell lives an expression.  It was necessary in this case to use commas to separate the values and then manipulate these in Excel to put them on new lines.  VbCrLf, VbLf, VbCr were all tried to no avail.  There can be 4 of these but only the first 2 would display.  The point of the post is to engage discussion really.  This is the work around in this case.

What's funny is all other instances of using rectangles to house text boxes works.  And of course, it's not string length because there are other parts of the report that work.

Was not able to rapidly find this on Google so got with a consultant here where I work.  It has something to do with the ASCII values returned by VbCrLf, VbCr or VbLf that cause truncation to happen in some cases.

It was hard for me to find so I'm passing the knowledge along.  Having a handy consultant saved a lot of spinning wheels on dead-end google searches.

"Fed Phase(s): "

+ IIF(Microsoft.VisualBasic.Strings.Trim(Fields!ENV.Value) =

"","", Fields!ENV.Value +" , ")

+ IIF(Microsoft.VisualBasic.Strings.Trim(Fields!DTL.Value) =

"","", Fields!DTL.Value +" , ")

+ IIF(Microsoft.VisualBasic.Strings.Trim(Fields!ACQ.Value) =

"","", Fields!ACQ.Value +" , ")

+ IIF(Microsoft.VisualBasic.Strings.Trim(Fields!CO.Value) =

"","", Fields!CO.Value)


Michael Durthaler

SSRS 2008 R2: Why does page footer show up in Visual Studio Preview but not in HTML?

$
0
0

Does anyone know under what circumstances a page footer would show in Visual Studio Preview but not in HTML?

It works perfect when I view it in the Previewer but when I run in HTML in IE the page footer does not show up at all on any page.

I have plenty of reports where page footers are working fine (200+)

This particular report is different than all my other ones in that in the designer it is one very large page with a large number of rectangles (35 or so) that all have page breaks so that each rectangle (and content) show up on their own page.  The report size is 10.5x7.5.  The footer is 0.25 in height.  The paging all works great but no page footers show up.

Viewing all 10045 articles
Browse latest View live


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