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

not all labels displayed on x axis in range charts of ssrs 2008 r2 reports

$
0
0

Hi ,

I have a requirement of displaying almost 13 labels on x axis of the range charts in ssrs 2008 r2 reports but currently am able to display only 9 labels and the rest of the 3 labels are missing . I have set the interval to 1 but still am not able to display all the fields. Please let me know your Suggestions. Thanks In Advance,

Sheethal. K


sheethal.k


SQL Reporting Service Vs Crystal Report

$
0
0

Hello Guys,

i want to make a website.according to the requirements i have many simple as well as complex reports which may have more column to display sometimes. i haven't worked with the reporting in web.i want to know which is best from both of them according to my requirement.

How do I exclude or include a calculated box based on its value as the Total Box at the top?

$
0
0

Hi -

I am building a SSRS report and I have 3 boxes which may or may not have value based on my calculations for those boxes. I have a total box on top which I want to Include value from:-

IIF(Box 1) = 0, EXCLUDE,IIF(Box2) = 0, Exclude, IIF(Box 3) = 0, EXCLUDE, SUM(Box1) + Sum(Box2) + Sum(Box3)/100)

I want this to be dynamic and do not want to hard code the values for these boxes, If 1 of them is 0 then only include 2 of them, if 2 of them are 0 then only inlcude 1 of them, If all of them have value then include all 3 or if none of them have value then show 0?

Thanks for looking at this. I am dealing with both 0 and NULL values so I also need to account for that in the top box. The calculations for the 3 boxes below is perfect, works like a charm, I am struggling to roll it up dynamically!!! 

Amit

 


Amit Singh


SSRS 2008 Conditional Grouping

$
0
0

This is my first post. I'll try and be as detailed as possible. 

I have an SSRS 2008 report that displays project transactions with amounts, dates, names, and account categories. I want the details group of the report to group conditionally on the account when account = "Burden". In other words. I want every detail row report except those rows that have "burden" as the account. I still want the Burden displayed, I just want all the transactions combined into one row and summed when they meet the conditions.

I went in to table1_details_group properties and put in two group expressions that I want.

=iif(fields!acct.Value = "BURDEN", Fields!name.Value, "")   -- This should group all the BURDEN fields that have the same name

=iif(fields!acct.Value = "BURDEN", Fields!trans_date.Value, "") -- This should group all BURDEN fields that have the same date

When I run the report, it does SUM correctly, but it also groups ALL my other data with other account categories when I don't want it to.

Does this make sense?


How to Create Report Linking two Datasets

$
0
0

Hi,

I'm using Report Builder.


I have a Stock Table:

ItemStockDateQty
A01/01/2013    3
C02/01/2013    4
A02/01/2013    1
A02/01/2013    3
D02/01/2013    7


and Sales Table with the following fields:

ItemSalesDateQty
D01/12/2012    1
D02/12/2012    3
C02/12/2012    3
D02/12/2012    1
A02/12/2012    7


Now I want a report that links the 2 and shows the Stock Qty and Sales Qty by Item

Item    StockQty    SalesQty

Simple enough...but...I need parameters so that the user can restrict the stockqty and salesqty on receipt date and sales date.

So for each Item I want to show the StockQty with a StockDate between 01/01/2013 and 02/01/2013 but want to see theSalesQty for that Item that have a SaleDate 01/12/2012 and 02/12/2012!


Any ideas on how I do this?


Thanks for any help in advance!





Sum Min Values?

$
0
0

I have a report with one row group. In one of the fields I am displaying a Min value

In the totals row of my report is there a way I can Sum up all of the Min values?

Category Limit
X                3
Y                4
Z                2
Total          9  <<<This is what I cannot do

So something like: =Sum(Min(Fields!Limit.Value)) but this doesn't work

Thanks to any help in advance!

Time Calculation in the SSRS

$
0
0

Hi Experts,

I want to do small Calculation but I was getting wrong values. Could anyone check the expression please. 

I was calculating 'Not accounted for/Overtime' by using below expression but I was getting wrong values. Could anyone guide me where I was doing mistake please 

("0"& INT((7-SUM(Fields!TaskStatusMinutesDuration_New.Value)/3600))&":"&IIF((INT((SUM(Fields!TaskStatusMinutesDuration_New.Value) MOD 3600)/60))=0,"00",
(IIF((INT((SUM(Fields!TaskStatusMinutesDuration_New.Value) MOD 3600)/60))<10,"0"&INT((40-(SUM(Fields!TaskStatusMinutesDuration_New.Value) MOD 3600)/60)),
INT((SUM(Fields!TaskStatusMinutesDuration_New.Value) MOD 3600)/60))))&":"&"00")

Report Manager and the Internet

$
0
0

Assuming SQL Server 2012 Standard with the latest service packs and updates.

What's wrong with just taking the Report Manager, slapping an SSL cert on it using the Reporting Configure Tool and then publishing it out to the Internet?  Can that be done?

Note:  All reports will require a Windows Logon.  Anonymous access is not allowed.

JamesNT


"If you have to ask about various operating system limits, you're probably doing something wrong." -Raymond Chen


Expression Help using lookup

$
0
0

We are using SyteLine ERP which displays reports through SSRS pulling stored procedures. Rather than alter the stored procedures to include form fields on reports, I am using the lookup command with the following expression

=lookup(Fields!source.Value,Fields!destination.Value,Fields!result.Value, "dataset")

I was able to get the field I needed on the report. However, this is a decimal field with an initial value of 0.00000 and I only want to report this value if it is greater than 0. So my question is how I can nest the "result" field into an if statment. Do I essentially use the lookup statement as the value of the field? Create a parameter?

I'm not very familiar with VB or SSRS and I am basically trying to get a few reports customized to our need. In this case, show break quantities and prices on a customer quote, without showing a bunch of breaks with 0 quantity and 0.00 cost.

No View Report Button in Parameterized SQL Reports

$
0
0

 Hello All,

As per my project requirement I'm publishing reports in SharePoint 2010 library. Basically my report has 2 parameters that I need provide before generating report. When i ran my report in report server and BIDS, I'm good and i can pass two integer parameters before initiating report( i meant after clicking report.rdl file)and i'm able clickView Report button to generate report.

When it comes to SharePoint I was not able to pass parameters like report server. I'm getting message like" Specify parameter values.....Report Parameter values must specified before the report can be displayed. choose parameter values in parameters area and click APPLY button"

I passed default values to display report with out above message. I'm wondering why there is no"view report" button when it comes to SharePoint?. I see onlyApply Button. In report server I can pass parameters at report server header location.( i meant from top left corner to right)

But in SharePoint why I see parameters option at right side of the screen along with Apply button? Is there any approach to over come this issue?

Appreciate experts inputs on this issue.

Thanks,

KpVuppala

I have tried to upload image, Unfortunately I don't have permission to do that as my account is still unverified.




Is single value any of the multi values?

$
0
0

I have multi-value parameter of integers.

I want to know if "1" is ANY of the values, does not matter the position.

The following does not work:

=Parameters!ids.Value = 1

... and of course using Value(1) works, but that's dependent on the 1 being in that position.  I need if 1 appears as ANY value in the list.

Thanks!

edit:  If the value isn't in the list, I want to hide a textbox, using a visibility expression.

Right data type

$
0
0

I have table like below

Sale rent
11 Null
22 0
33 33

Data type for Sales and rent is varchar

My query is:

Select

Cast(Sale AS Bigint) AS Sales 

Cast(rent AS Bigint) AS Rents

From Table

Where Cast(Sale AS Bigint)  <> Cast(rent AS Bigint)

For some reason I am not getting table like below( I already tried to change bigint to int)

Sale rent
11 Null
22 0


simam

SSRS 2008 Conditional Formatting Issue - ok in dev but not when deployed

$
0
0

I have a matrix report with some conditionally formatted columns for both visibility and borders (border are Solid or None depending on whether certain columns are visible or not).  It runs and looks fine in the development studio but when I export it to Excel (or deploy to the report server and run from there) the borders are being displayed erroneously.  

The conditional formatting does work on Export within the body of the report, just not on the headers or footers.  

=iif(sum(Abs(Fields!DeemedAmount.Value), "ColumnGroup") <> 0, "None", "Solid")

Any advice is greatly appreciated.

Tony

SSRS 2008R2 : Not able to use Previous aggregrate function in matrix columns cell

$
0
0

Hi Expert,

I have used a matrix tablix in my report. It is working fine. But when I am trying to use Previous aggregrate in one matrix column cell I get the below error:

The use of previous aggregrate function ia a tablix cell with in 'Tablix1' is not supported.

Please help me regarding that.

Thanks Rana

Subscriptions not being recreated after SSRS DB Migration

$
0
0

Hi,

I have migrated the SSRS Database using the Backup/Restore method to another server (VM). Everything went fine and the SSRS instance is running successfully on the new database, except for Subscriptions which are not being recreated on the new server.

Is there a way to instigate the regeneration of SSRS subscription on the new server?, documentation says it should be picked up and recreated automatically, but that doesn't seem to be happening (after 20 hours now). Should I store msdb on the new server too so the Job Agent jobs are become available?


Any help is really appreciated, SSRS log doesn't seem to show any errors specific to subscription regeneration. am running SQL 2012

Cheers

/>L


Add row border at the end of parent row group

$
0
0

Hi Expert,

I want to add row border at the end of each row group as per below:

P.S. I am using the Matrix.

can any one help me regarding that?

Thanks,

Rana



Background color expression - bids design mode

$
0
0

I have a report in SSRS 2008 R2 where the heading needs to have varying background colors depending on some criteria. The expression I have for the background color is =Iif(Sum(Fields!Column.Value)>0, "IndianRed", "#6e9eca"). This works fine and my report looks the way I expect it to when its run. 

The "problem" I'm having is in BIDS...the cells that have this expression for the background color are all white in design mode, and the text is also white (bg-colors are dark) so it appears that the cells are completely blank! Not a huge problem but still quite annoying. Is there any way to fix this?


Lumbago
www.thefirstsql.com

Error while passing multiple values to single parameter in Mysql

$
0
0

Hi,

     I am using Mysql and while writing the below query I get an error

="select * from Table1 whereParameter in "+"('"+Join(Parameters!Parameter1.Value, "','") + "')"+" "

and the error is

An error has occurred during report processing.
Cannot set the command text for data set 'dataset1'.
Error during processing of the CommandText expression of dataset
'dataset1'.

I have used the same query in other reports it is working fine there.What could be the reason?

Trim from specific Character SSRS

$
0
0

Hi All.

I have a time measure which is displaying like this hh:mm:ss     06:52:46

so in my report I don't wanna display seconds just I wanna display  hh:mm for this I thought to write Left(field.value,5) 

but this is not right way of doing because some times we may get 120:52 (hh:mm) in this Case that Left function should't work.

Can anyone guide me how to amend my code?

Thanks in advance

rrRenderingError after upgrading to SQL Server 2008 R2

$
0
0

Hi you all,

 

We upgraded from SQL Server 2008 to SQL Server 2008 R2, we exported and imported our reports and most of them worked but some of them don't.

 

The problem occurs when we provide multiple values for a parameter (We want to view values of more then 1 Machine), we then get the error: 

The value '4' is invalid.  Valid values are between '0' and '1'. ---> Microsoft.ReportingServices.Diagnostics.Utilities.RSException: The value '4' is invalid.  Valid values are between '0' and '1'. 

(--> from the log file)

 

The weird thing is that when only 1 machine is selected, the report works correctly. 

I hope somebody can help me because I'm searching for the cause for almost a day now.

 

Kind Regards,

Lennart

 

If you have any further questions, don't hesitate to ask!

 

Additional Information:

- When more then 1 machine is selected, 1 page per machine and per day is shown

- Stacktrace below the error: (from logfile of Reporting Services)

   at Microsoft.ReportingServices.OnDemandReportRendering.InternalTablixMemberCollection.get_Item(Int32 index)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.Tablix.GetTablixMembersInstanceIndex(TablixMemberCollection rowMembers, Int32 level, List`1 instanceState)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.Tablix.GetTablixMembersInstanceIndex()

   at Microsoft.ReportingServices.Rendering.SPBProcessing.Tablix.WritePaginationInfo(BinaryWriter reportPageInfo)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.PageItemContainer.WritePaginationInfoProperties(BinaryWriter reportPageInfo)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.ReportBody.WritePaginationInfo(BinaryWriter reportPageInfo)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.ReportSection.WritePaginationInfo(BinaryWriter reportPageInfo)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.Report.UpdatePagination()

   at Microsoft.ReportingServices.Rendering.SPBProcessing.SPBProcessing.PaginateReport(Int32 startPage, Int32 endPage)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.SPBProcessing.InitializeForInteractiveRenderer(Report report, CreateAndRegisterStream createAndRegisterStream, Boolean registerEvents, Hashtable& renderProperties)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.SPBProcessing..ctor(Report report, CreateAndRegisterStream createAndRegisterStream, Boolean registerEvents, String rplVersion, Hashtable& renderProperties)

   at Microsoft.ReportingServices.Rendering.RPLRendering.RPLRenderer.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)

   --- End of inner exception stack trace ---

Viewing all 10045 articles
Browse latest View live


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