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

Parameter Issues in Drillthrough (Link) Report

$
0
0

Hi!

I have a main report and a drillthrough(child) reports. Both work very well. But there is an issue with passing parameters.

prodID and @Date. On the main report you would click on the prodID to provide the prodID for the child and that is good. Now, the issue is passing the second parameter(@Date) to filter the result set returned but it happened that there is no matching column to match the @Date parameter to when setting up the Action dialog box because there's no such a column as a datetime data type in the child report except in the where clause. Before now we would have to supply the @Date value manually. How do I modify my query or work around this so the @Date parameter is passed on to the child report as well at run time?

Thanks for the help


Zionlite



Wrong Width in IE in Report Server

$
0
0

Goal:
To make the width of the repot to be similiar for Internet Explorer and Firefox in the website in report server (http://myserver/reportserver).


Problem:
Displaying the report in IE, the width is too short and wrong compare to the original size in Firefox.

What webdevelopment code in IE do I need to change to make it similar for Firefox and IE?

Information:
*The report is located in a server and the customer use their client computer to get access to the reports. The user use their own IE browser and type in the URL address that is the server's ipnumber with "reportserver" (http://myserver01/reportserver)

*The server's web reader is IE 10. No firefox in the server.

parameter

$
0
0

Hello All 

im new to ssrs so please bear with me 

i have a report that shows me 5 fields 

JobNo   company    jobtype      placedid 

j1234TEST           Perm      112345 (placed)

j1567test1           perm      76543   (placed)

J9876      test2                      perm                            (not placed no id)

i have tried to add a parameter which lets me select all placed (i.e all with a placeid) all not placed(no id) and all jobs which will contain both i have managed to get a Boolean selection that lets me select either all or placed but not not placed

i was hoping to set this as below

parameter 

as an integer with available fields

Label                    value

Placed                  >1

not placed           <1

all null 

but not sure how i can do this as you cant use the >< integer 

any ideas please!!! 

much appreciated 

 

RunningCount of ROWS based on row grouping

$
0
0

Hello,

could somebody provide assistance in creating, I would call it RUNNING COUNT of the rows within every of the groups but, displayed only on the LAST page of every group?

Additional info: I have implemented row grouping by using GLOBALS variable and implemented it in the page header. Now, do not know how to create e.g., count of all rows within each group to be displayed/printed only on every LAST page of every group? If added e.g., text box at the end (beneath) of tablix, it appears only at the report last page?

How to proceed?

Line chart - series by date plots out of order

$
0
0


I have a drillthrough chart that uses dates on the x-axis.  Depending upon the time range, the major gridlines are either going to be days, weeks, or months.  That logic is all working.  If the user clicks on any of the values, it will drill through the data, and replot the details for that entry.

When the plot is weeks or months, everything is tabulated and plotted properly.  It looks like this.

If one then clicks on one of the values, it re-evaluates the data comprising that value and plots it with days on the x-axis.  The problem is that it doesn't do the plot sequentially.  (See below.)  Having tried this with different ranges, there doesn't seem to be a pattern to the order in which it is plotted.

If you look carefully, you can see it actually started with 10/7, then 10/6, 10/12, 10/8, ...  It really makes no sense and I haven't been able to figure out why it is doing it or how to fix it.

I would greatly appreciate any suggestions.

How to match text regardless of case

$
0
0

This seems like there should be an easy answer to this, but I've been searching the net and cannot find a solution.

In SQL 2008 Reporting Services, I have the following expression:

=Iif((Fields!Country.Value = "mycountry" or Fields!Country.Value = "country"), Nothing, Fields!Country.Value)

How do I make this expression case insensitive? I want to match "country", "mycountry", "MyCountry", "COUNTRY", etc. Is there a function such as the following to do this?

=Iif(IgnoreCase(Fields! Country.Value =....

Or is there a regular expression that can be used for the purpose?

Thanks!

Calculating Percentage from Table Matrix below Row

$
0
0

I have  a table Matrix as follows:

Row Group = Segment2

Column Group = Year, Month_Int

On the row Groups I've used the filter option to restrict the returned records to only show for certain values in segment2.  The results look as follows:

I'm trying to calculate the PVE per Shift as: (Number of 4.5 Shifts/Total Patient Visits)

My row group filter looks like this: =IIf(InStr(Fields!Segment2.Value, "9060") > 0
    , "Include"
    , "Exclude")

and...

=IIf(InStr(Fields!Segment2.Value, "9030") > 0
    , "Include"
    , "Exclude")

The value in the column is also an expression as follows: =Sum(Fields!Debit_Amount.Value)-Sum(Fields!Credit_Amount.Value)

When I tried this as my formula it simply sums all the values returned in the Matrix and does not consider the value '9060': =IIf(InStr(Fields!Segment2.Value, "9060"),0, Sum(Fields!Credit_Amount.Value) - Sum(Fields!Debit_Amount.Value))/=IIf(InStr(Fields!Segment2.Value,"9030"),0, Sum(Fields!Credit_Amount.Value) - Sum(Fields!Debit_Amount.Value))

I'm doing this on SQL 2008R2, any help is greatly appreciated.

Only Aggregate Visible Fields in Report

$
0
0

Hi,

I have a dataset in which I'm am using the "Visibility"group property to hide any Field that has 0 Quantity. I want to only aggregate the Profit & Loss if the Quantity is not zero. However, SSRS is aggregating the P&L columns even if the Quantity is zero. To illustrate, my dataset looks like this:

Security NameQuantityP&L
AAA10050
BBB200100
CCC0125

I would like it look like:

Security NameQuantityP&L
AAA10050
BBB200100
Subtotal300150


But it looks like:

Security NameQuantityP&L
AAA10050
BBB200100
Subtotal300275

Notice how it's aggregating the P&L for Security "CCC" in the Subtotal even though it's not on the report. How can I fix this issue?



Column chart in SQL BI

$
0
0

Hi,

I have this table:

Product (char)

AtStation1 (datetime)

AtStation2 (datetime)

AtStation3 (datetime)

I created column charts for each station showing how many total (count) products at AtStation1 , 2 and 3 ant any given time.  One axis is the count of products and the other is time.  I though since the axis are the same I should be able to show (superimpose) all these 3 column charts in to one.

How do I achive this.

Thanks.


AE

How to insert a row in Tablix dynamically based on runtime values?

$
0
0

Hi All:

I'm new to ReportViewer and Tablix and need some help. It is a Visual Studio 2010 ASP.Net web report project. I have a tablix/ReportVeiwer with , say, two columns--High School Name, Total Students; Group by: City of a given state. And I got it working with sub total for each city.

Now the question: if I want to add a new sub total row ONLY for two cities X and Y, how can I do that?

Thanks a lot in advance.


Is it possible to export only the current page or page range specified in SSRS instead of exporting all the pages?

$
0
0
Iam currenly working on SSRS 2008. In ssrs we have the export functionality. when i select the format from the dropdown and click on export, the entire report is exported to the selected format. But my requirement is to export only the current page or It should export only those pages (For example: 1,3,5-12.) which I entered. Is there any way i can do this?

report rendering very slow on varchar(max) column

$
0
0

Hi, I have a very simple report which displays just a single row each time of a varchar(max) data in a table(tablix).  The varchar(max) data can be as long as 280KB.  The report is so slow, and it may take 20 minutes or more to come up. What's the solution to speed up the report?  I'm using SQL2008R2 SP2 SSRS.   Please help ASAP.

Thanks. Ed


HTML Export - image resizing issue

$
0
0

 

Hello.

In order to execute reports’ rendering into the HTML 4.0 format I use the ReportExecutionService class (http://msdn.microsoft.com/en-us/library/ms164418(v=SQL.90).aspx)

In order to get exported report as a stream I use the following code:

 

var ms = new MemoryStream(connection.Render(format, dev_info, out ext, out mime_type, out encoding, out warnings, out streamIds));

 

The issue is: when I display the received stream in a browser, the images with the “Fit proportional” property display incorrectly.

In the original SSRS reportViewer the images display as in the picture below:

In our reportViewer  the images display as follows:

Image properties in the Designer:

 

What configuration settings should I set so that I am able to display exported report with images from my application as in the original SSRS reportViewer?

Horizontal order for a list in SSRS 2012

$
0
0

I have implemented a list with two textbox (Year and Aggregate) like this:

[Year]

[Aggregate]

The list is shown like this:

2010

45

2011

35

But I want them to be shown like this:

20102011

  45      35

How can I achieve that? I appreciate any help.


Luis Carlos


SSRS label series icon above label

$
0
0

Hi,

I have a line chart with 2 series with name A and B.

In the label i have the line icon for A followed by the A serie's label. Is it possible to have them below one another?

Icon A

Name A

instead of

icon A name A

Thank you


Reporting Services - Local Reports

$
0
0

I am programming in RDLC, local reports. Are local report capable of the same things as RDL?

(I use classic windows forms and Visual Basic or C# to display my reports)

Can I use Report builder 3.0 to design local reports?


Certified Geek


ssrs 2008 r2 show or hide paramter area

$
0
0
In an existing SSRS 2008 r2 application, there is an up or down area that appears sometimes in the paramneter area of the SSRS report. When I hover over the up or down arrow, the tooltip calls this the 'show or hide parameter area'. I do not know how to control this arrow. Thus can you tell me and/or point me to a reference that tells me how to control when this arrow appears when the ssrs report is running?

sstrs 2008 r2 column headers on each page

$
0
0

In an SSRS 2008 r2 report, my user wants to be able to keep column and report headers on the top of each page when the report is exported to excel or PDF?
Thus can you tell me and/or point me to a reference that will show me how to accomplish this goal for both excel and PDF?

ssrs 2008 r2 able to detect missing software

$
0
0
In an SSRS 2008 r2 report, I am going to be adding PDF and word documents to each ssrs report for the users to access. If the user does not have software to open the pdf or word document from their workstation, is there logic in ssrs 2008 r2 to be able to tell the user they need this software installed on their workstation? If this capability exists for SSRS 2008 r2, can you tell me how to access this feature on an ssrs 2208 r2 report?

Should be easy: what's the new name of the Excel render format in SSRS 2012?

$
0
0

The following code for a Hidden property is never True in SSRS 2012 when I'm exporting to Excle but I'm having trouble finding a listing of the new render format names. (I want to export to the xlsx format.) What should the Name property be, please?

=(Globals!RenderFormat.Name = "EXCEL")


HomeCookN

Viewing all 10045 articles
Browse latest View live


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