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

Include report output in body of report when calling from reportExecutionService.Render

$
0
0

I'm using reportExecutionService.Render to create a report, and the rendering works fine.  I can't figure out how to send an email with the report in the body -- MHTML is the right format to use, I would think, but I can't see how to get the report output into the email body.  I tried setting the MessageSourceType in the SendMail task to a FileConnection, and pointing it at the MHTML output of the report, but that didn't work.  Is it possible to render the report into a variable and have the mail pick that up?

I'm looking for the same sort of result that you get with a subscription, but for various reasons I can't use a straightforward SSRS subscription here but have to build it on the fly.

I'm fairly new to the SSRS development environment so apologies if the answer is obvious.

Thanks

Mike


SSRS 2005 | Getting Address bar URL

$
0
0
In SSRS 2005, how to get the address bar URL. Is there any built-in function?

Karthick

sync ssrs visual studio project with ssrs server - alm

$
0
0

Hello everybody.

To manage ssrs reports development i use tfs - it works nicely - deploy, checkin... - all the alm options.

But i want to remain the option for users to change the reports from report builder- so sometimes i need to sync ssrs server folder back to local vs workspace folder - is there a practice for something like that.

Thanks in advance.



Sergey Vdovin

Data Visualizations - Gauges, charts etc not rendering

$
0
0

Hi, We have recently migrated to SSRS2012 and since this time any report with a gauge or a chart within will not render. Upon researching even newly created reports will not render them. 

Has anyone had this issue and how do we resolve if so as I have found nothing online regarding this. 

Thanks in advance for the help. 

Cheers

Scott

Report Builder - Add report Processing time

$
0
0

Hi,

I was wondering if there was any way to add a value field to a report, with the time it took for the report to Process.

It would probably be a text field with an Expression, but don't know how that would go.
I know that in Expression there is a value for ExecutionTime (when report began to run), but nothing about when it ends.

Can this be done? and if yes, how?

Thanks

Report Builder chart

$
0
0

Hello,

I have a 2012 report builder chart that has two series (one area chart and one bar chart) combined into one chart.  The problem I'm having is the bar chart has much smaller numbers than the area chart and the scaling is messed up.

Is there any way to put the bar chart on the right axis and keep the area chart on the left axis?  My goal is to increase the size of the bar chart in relation to the area chart.

Also, is there any way to make the bar chart color red if the number is negative and green if it is positive?

Any information would be greatly appreciated.

Thanks,


x

"Sending" Parameter value to another Report, when Parameter is Multi-Values

$
0
0

Hi,

I have a report where I use a Parameter that can have Multiple Values.

I created a link within the report result that goes to another report (Action), and when it goes it needs to send a few values, including the Parameter.

How can I send the values I selected in that Multi-Values Parameter?

Right now, if I simply add the Parameter as a function it's added  "Parameters!<your param name>.Value(0)", meaning just the first.
I also tried using something like this in the Value I send -

=join(Parameters!<your param name>.Value,",")

But it doesn't recognize it. It needs the values to be separated by "New Row".

Hope I was clear enough :)
Any ideas?

Thanks

how to set custom variables in report builder 3.0

$
0
0

Hi,

i am using Microsoft Sql Server 2008 Report buider 3.0. and i generated report and that report how to use custom variables.

please suggest me..

Thanks & Regards,

Kotam Raju S

 


See Report-Level Variables in Report Builder 3.0

$
0
0

Is there a way to see Report-Level variables in Report Builder 3.0?  Also, just as a feedback, it would be really nice if there were a way to see and easily access all of the variables used in a report from one location instead of going to the dataset, the report, and then to the individual groups (if needed) to see the variables.  Also, it would be very helpful if Group-level variables can show up in the Expression Builder as well.

Thanks!

Report Layout Limitations

$
0
0

hi to all,

Have a great day.

i am using SQL SERVER 2008 R2 .

1.) i have a requirement of ssrs report get spool into ppt so i tried aspose trail edition but enterprise edition is too cost , so can you please suggest me some other secuired tool for SSRS Reports get render into PPT

2.) then i want to create larger report of nearly 40 matrix in one single rdl, that too each matrix contains minimum 15 rows maximum 50 rows , and 16 columns , so whether its possible in 2008 r2.

what is limitation of reports size

3.) in that reports each matrix should fall in separate page of ppt that can be possible by page break but if the matrix is extend with more rows (example 150 rows) that particular matrix should split into 2 or 3 pages based on readability.


GVRSPK VENI

Parsing a Blank in SSRS Expression

$
0
0
I have parameters like so
     @P1 NVARCHAR(15) = ''
   , @P2 NVARCHAR(10) = Null
   , @P3 CHAR(1)

Now I want to dynamically set the report name base on parameters selected.

  • If @P3 = A and @P1 <> "" then ReportName1
  • If @P3 = B and @P1 = "" & @P2 <> Null then ReportName
  • if @P3 = C and @P2 = Null and @P1 = "" then ReportName

I got number three to work but not list one and two. How do I make this work?

Thank you


Zionlite

SUBSCRIPTION ERRORs : Failure sending mail: The user or group name 'CB_OFFICE\XXXX' is not recognized.

$
0
0

I am getting this errors on subscriptions on RM 2005

What is that this error means?

 

thanks

Gok

 

Failure sending mail: The user or group name 'CB_OFFICE\XXX' is not recognized.

 

What is suggested alternative to deprecated Report Models

$
0
0
Hello,


MSDN advises that SSRS 2014 is the last version that will allow using existing report models so they suggest to "consider updating your reports to remove their dependency on report models."

What could be the options here considering that the users need to create their own reports and we as developers cannot predict which tables they may use (so SPs or views are unlikely to be very helpful).

Thank



SSIS question

SSRS Matrix Only Showing First Row In Group

$
0
0

Hi

I am new to matrixes and I have created a dataset which I would like to populate into an expanding / collapsing matrix.

The purpose of the report is to show a list of pallets and their respective stock adjustments. I have laid the matrix out as follows...

I have spent the entire afternoon playing around with this and searching Google, but as yet, I have been unable to get the matrix to display more than 1 record per pallet. Each of the pallets below have multiple adjustment records, yet the report will only display the first one...

 

If I assign the dataset to a table, it displays as expected. Clearly, I am doing something wrong. Could anyone point me in the right direction here?

Thanks

Steve

SSRS: How to extract multi value parameter which is taking from cube in a report to pass the parameter values to "go to action" of a normal ssrs report

$
0
0

Hi All,

I have a report called "PersonsList" which is using sql server as data source. I have another report called "EmpTypes" which is using cube as data source. I need to run EmpTypes report first then if I click on a particular field in a table then it should redirect to PersonsList report. I have some multi value parameters in both reports. I need to pass parametrs from the main report to the sub report by using "go to report" option in the Action. The multi value parameters in the sub report has available values and default values. when we pass values from main report, the parameter values are passing like[Dimension].
[Attribute]. [Member] format. How can I resolve this issue. I have not developed the cube. I just got the cube report to activate the go to report in the action menu. So, how can I resolve the issue?

Regards,

Julie


An unexpected error occurred while compiling expressions. Native compiler return value: [BC30179] class 'textbox2_TextBoxExprHost' .....

$
0
0
Hi All

I have custom code in my report.
All references are fine, I have used code in my reports since forever!

I placed a textbox above the table with the expression: Code.Update_Alloc().
When I try to run the report I get the error:
An unexpected error occurred while compiling expressions. Native compiler return value: [BC30179] class 'textbox2_TextBoxExprHost' and class 'Textbox2_TextBoxExprHost' conflict in class 'ReportExprHostImpl'.

However if I place the expression inside a column in a table, it works fine.
But that is not where i want the VB code called, it has nothing to do with the report data!

I even created a simple Function that returns zero, same thing happens!!!!

Any help appreciated.

Thanks.

SSRS 2008 r2 - how do I create a single vertical Stripline at a specific date value along the x-axis?

$
0
0

I'm struggling with trying to display a single vertical stripline at a date value along my x-axis. 

I'm using the following non-default settings within the stripline editor:

bordercolor = tomato

borderstyle = solid

borderwidth  = 1pt

intervaloffset = Fields!uidate.Value.ToOADate()

where uidate is a calculated field in my dataset that always has the value of 05/29/2012  (using formatdatetime("05/29/2012",dateformat.ShortDate))

Everything else is set to Auto, with stripwidth=0

I'm trying to display a single vertical line at the x-axis value of 05/29/2012

I have previously tried setting the intervaloffset to "05/29/2012" but that didn't work. I've also tried setting the value of a hidden text box on the report to "05/29/2012" and setting the intervaloffset to the value of that text box, but that gave me a "text box not declared" error.

Does anyone know how I can simply display a vertical stripline on my line graph at the x-axis value of 05/29/2012 ?

Many thanks!!

#Error in SSRS Report

$
0
0

Hi all,

sum(iif(Fields!yr.Value=Parameters!yr.Value,0,Fields!qty.Value)) 

Above expression in my report showing #Error.

can anyone help me please!!!

Add two different custom calculated fields from two different datasets in matrix

$
0
0

Hi

I am not sure if this is possible or not, we have two datasets and each one has an additional calculated field which breaks the value JobBilledExVAT into three years.

So it reports for example how much we billed in May 2015, 2014 and 2013.

I have got the table to display this when reporting on one dataset by grouping by year

The datasets both look similar to this 

SELECT
  Practice.ibvSalesByJob.JobBilledExVAT
  ,Practice.ibvSalesByJob.[Year]
FROM
  Practice.ibvSalesByJob
  INNER JOIN Practice.idvJobType
    ON Practice.ibvSalesByJob.JobType = Practice.idvJobType.VisibleId
WHERE
  Practice.idvJobType.VisibleId IN (@ABSJobs)
  AND Practice.ibvSalesByJob.ClientCategory1 = N'NC'
  AND Practice.ibvSalesByJob.Period = @Period
  AND Practice.ibvSalesByJob.[Year] >= @Pre2Year

The calculated field is 

=Switch(Fields!Year.Value = Parameters!Year.Value ,"15", Fields!Year.Value = Parameters!Pre1Year.Value ,"14", Fields!Year.Value = Parameters!Pre2Year.Value ,"13")

The field I am looking to add together is below

=Sum(Fields!JobBilledExVAT.Value)

If I do the below on the dataset associated with the matrix it displays the sum for each year correctly, I would however like to add the Sum(Fields!JobBilledExVAT.Value) from a different dataset (ABS1M) for the relevant year.

I tried this

=Sum(Fields!JobBilledExVAT.Value) + Sum(Fields!JobBilledExVAT.Value, "ABS1M")

However this adds 2015, 14 and 13 from ABS1M and doesn't add them individually if that makes sense?

With the calculated field it only shows Year under the main dataset heading not 15, 14 and 13 separately.

I was think of using LOOKUP however I don't know how this would work as 15, 14 and 13 are not displayed under the dataset.

Does anybody know of a way around this?  Any advice appreciated.

Cheers


Cheers Chris

toggle on image in SSRS

$
0
0

Hi Friends,

I have a requirement where i have to display some data which is coming from a sub report when i click on an image.

i have two problems here,

1) if i provide toggle on image text box it is displaying + symbol which i don't want

2) If i provide image properties -> action -> go to report -> it is displaying the values in a different page but my requirement is to display in the same page

conclusion is : when i click on the image(without + symbolo) i have to display sub report values in the same page

did any one come across the same kind of scenario or any ideas would be appreciated.

Thanks,

Sam

Viewing all 10045 articles
Browse latest View live


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