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

Is it possible to see the Drill down output in the expanded format by default in SSRS reports?

$
0
0

Hi Guys,

I have created a drill down report. If i preview my report , by default i can see the out put in the aggregated level and i have to drill  it to down levels if i want. My requirement is i want to see the data in the leaf level by default means report should be displayed in the expanded format to the leaf level, if i want i can drill up the report later. 

Is this possible in SSRS? Can some one help me out on this?

Thanks in advance.

Regards,

kiran


5 day calendar in ssrs

$
0
0

Hi Friends,

I have tried different techniques to design the report but no luck, Please help me.

1) design staff 5 days schedule as a calendar between two dates and 

2)each staff can have more than one schedule on the same day.

3)Only one staff per page.

4) week will start based on date  ex: for staff 2 calendar will start based on date.

Wednesday   Friday       Tuesday     Wednesday    Thursday 

01/01/14     3/01/14    7/01/14    8/01/14          9/01/14

Sample data:


expected format:

Staff1 (page 1)

Monday      Wednesday     Friday    Monday

13/10/14   15/10/14   17/10/14   20/10/14

Staff 2 (page 2)

Wednesday   Friday       Tuesday     Wednesday    Thursday 

01/01/14     3/01/14    7/01/14    8/01/14          9/01/14

(page 3)

Saturday      Wednesday   Thursday     Friday         Wednesday

11/01/14     15/01/14    16/01/14    17/01/14       22/01/14

and so on....

Please let me know if you require any other details.Looking forward for your great help.

Thanks,

Sam.


Two Matrices placed inside tablix

$
0
0

Hi,

We have a report in which we have placed two matrices side by side so on viewing it will not be seemed to be two different matrix but comes out of same matrix. We have this two matrices, because the data are completely different from different sources. 

Now, when we tried to place a title in the middle of two matrices, we failed. As the two matrices dynamically grow in column wise, the title place inside a text box is not growing dynamically as such. 

I tried to put in those two matrices inside a tablix inside two column cells, and merged the row above in order to have the title too will be placed in the middle in any scenario. But, placing the two matrices inside the same tablix is really challenging as i see many errors appears related to 'defining the field name within the dataset scope' 

Can you please say me if this is possible to have two matrices to be placed inside same tablix in adjacent cells? - Thank you!


--------------------------- Radhai Krish | Golden Age is no more far | --------------------------

Help building report layout

$
0
0

Hello, 

I have to alter a report layout on Reporting Services 2008 and after 2 and a half days trying I simply give up!

It's impossible to make this layout in RS2008. It simply does not accept what I need to do. See layout bellow:


Consumption Location X

MU A | PartNo x | Part Description | Qty

         | PartNo y | Part Description | Qty

MU B | PartNo q | Part Description | Qty

MU C | PartNo n | Part Description | Qty

         | PartNo z | Part Description | Qty

         | PartNo s | Part Description | Qty

--------------------Skip line-----------------

Consumption Location Z

MU G | PartNo t | Part Description | Qty

--------------------Skip line-----------------

This "Consumption Location" must be over the pieces of information and they are data from my query, so are the other columns. The 4 other columns must be grouped, so they can look as the first image, otherwise won't have the layout needed.

Now I ask you: How can I do such thing?!

I appreciate the help, and I'm sorry that I sounded mad. I'm really pissed off 'cause of this.

Tks!

My subscriptions - advice re monitoring please

$
0
0

Hello

I have now set up quite a few subscriptions.

The only way I can currently gauge whether they work or not is by ccing myself into whatever report is sent out. Clearly as subscriptions grow, this method is not going to be reliable and I may miss a report if it fails to run.

My question is, is there a simple report I can set up to show my subscriptions' status?

Any pointers welcome. Thanks.

Independent Interactive Filtering for 3 different columns of same table (SSRS Report)

$
0
0

Hello Guys,

I am new to SSRS Reports. I want to filter the fetched data table based on either Region or on First Name or on Last Name, but not all at once. I am using Fetchxml for this.
Please let me know if you people have any solution to my problem.

Thanks.

Issue while exporting report to excel

$
0
0

I have a report created using ssrs.

In that i have set the body background property to an image

And also set a header in the report

Now while exporting it to excel, I need to remove the body background  image and header

Need Help

Thanks


Abhinav

Logon failed. (rsLogonFailed)

$
0
0
Hi,

I am writing a web application in c# that is attempting to get the parameters from a report on a Reporting Services 2005 server.

I am using the following code:

SQLReportViewer.ServerReport.ReportServerCredentials = new
         ReportCredentials(UserName, UserPassword, UserDomain);
SQLReportViewer.ServerReport.ReportPath = Rpt.FileName;
SQLReportViewer.ServerReport.ReportServerUrl = new Uri(ServerUrl);

Parameters = SQLReportViewer.ServerReport.GetParameters();

The Getparameters Line causes the following exception:


Microsoft.Reporting.WebForms.ReportServerException was unhandled by user code
  Message="Logon failed. (rsLogonFailed)"
  Source="Microsoft.ReportViewer.WebForms"
  ErrorCode="rsLogonFailed"
  StackTrace:
       at Microsoft.Reporting.WebForms.ServerReport.get_Service()
       at Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo()
       at Microsoft.Reporting.WebForms.ServerReport.GetParameters()


The UserName, UserPassword and UserDomain variables are all populated with correct data, as is Rpt.FileName.
The ReportCredentials class is a very simple implementation of the ICredentials interface - Code shown here:


-->

public class ReportCredentials : IReportServerCredentials
{
  protected string _UserName, _Password, _Domain;

    public ReportCredentials(string UserName, string Password, string Domain)
    {
    _UserName = UserName;
    _Password = Password;
    _Domain = Domain;
    }

  //*****************************************************************
    
  public bool GetFormsCredentials (out System.Net.Cookie AuthCookie, out string UserName, out string Password, out string Authority)
  {
    UserName = _UserName;
    Password = _Password;
    Authority = _Domain;
    AuthCookie = null;
    return (true);
  }

  //*****************************************************************

    public System.Security.Principal.WindowsIdentity ImpersonationUser
    {
      get { return (null); }
    }
    
  //*****************************************************************

    public ICredentials NetworkCredentials
    {
      get{ return (new NetworkCredential(_UserName, _Password, _Domain)); }
    }

<--

I can use the same credentials to retrieve a list of reports from the report server (the report I am trying to access is in that list) and to log on directly by going to the URL of Reporting Services.

This is made more frustrating by the complete lack of detail in the error message, as it does not say why the logon failed, or give me a single clue about what is going on.

Has anyone seen this before and can tell me how to fix it, or is there something stupid in my code?

Thankyou.

Paul


Multiple chart areas in SSRS 2008 R2

$
0
0

Can anybody help me figure out how to use multiple chart areas in a single chart in 2008 R2 chart?

I have a column chart and right click menu options I can see three options Add new title, add new legend and add new chart area. After clicking add new chart area it places new chart area below the default one but I couldn't found the way to display data in that new chart area.

Thanks in advance....

 

_ Format chart % value from 20 decimal places to no decimal places

$
0
0

Hello

I have created a line graph to show monthly % data on the y-axis.

Can I format the value shown to show as a %? At the moment I'm seeing figures like 0.9335180054409484 - not much use.

This value is showing from an expression:

=Sum(Fields!Under20minutes.Value / Count(Fields!xno.Value) - which gives me the correct number - it's just I want it formatted as a %.

Any help much appreciated, thanks.

how to pass a multivalue string parameter separated by comma in SSRS

$
0
0
i m using a parameter @paraBatchid which is a String (eg:test-3,test-4,test-5)
when i pass only one value it works fine .eg(test-3)
Now i have to use the values from Excel which will be copy pasted by the user concatenating the values with , and pasted in the textbox for batch Id.
i have used the join but it does not work for multivalue paramaters for some reason eg: Join(Parameters!paraBATCHID.Value,"','")


SELECT     RT.INVENTBATCHID, RT.ITEMID, RT.DATAAREAID, RT.GROSSWT, RT.NETMETALWT, RT.NETSTONEWT, RT.NETACCESSORIESWT, RT.DATE,
                      RT.QTY AS BatchQty, II.FILEPATH, CASE ITS.ITEMTYPE WHEN 3 THEN 'Accessories' ELSE RLSUBT.ITEMSUBTYPE END AS ITEMSUBTYPE,
                      RLSUBT.QTY, RLSUBT.QTYPERBATCHQTY, RLSUBT.DUALQTY, RLSUBT.DUALQTYPERBATCHQTY, RLSUBT.UNITID, RLSUBT.DUALUNITID,
                      ITS.DATAAREAID AS Expr1
FROM         ITEMIMAGES AS II RIGHT OUTER JOIN
                      REGISTRATIONTABLE AS RT INNER JOIN
                      REGISTRATIONLINESUBTYPE AS RLSUBT ON RT.INVENTBATCHID = RLSUBT.INVENTBATCHID AND
                      RT.DATAAREAID = RLSUBT.DATAAREAID RIGHT OUTER JOIN
                      ITEMTYPESETUP AS ITS ON RLSUBT.ITEMSUBTYPE = ITS.ITEMSUBTYPE ON II.ITEMID = RT.ITEMID AND II.MAINIMAGE = 1
WHERE     (RT.DATAAREAID = @paradataareaid) AND (RT.INVENTBATCHID IN (@parabatchid)) AND (ITS.DATAAREAID = 'vri')

NOW
WHERE     (RT.DATAAREAID = @paradataareaid) AND (RT.INVENTBATCHID IN ('test-3','test-4','test-5')) AND (ITS.DATAAREAID = 'vri')
the above Query Works fine in ..SQL but when these values is given to the parameter textbox in SSRS it does not work..Sad





Reports Builder 3.0: SharePoint List datasource - How to retrieve items from sub-folders?

$
0
0

I am able to create an SSRS Report using Report Builder 3.0 using a SharePoint List datasource . However it only retrieves the items in the root folder of the library that I have specified. Does anyone know how to make it get the items in the sub-folders?

In Report Builder's Query Designer window I can see the xml text of the query and it looks somewhat like a CAML query. I tried adding <ViewAttributes Scope=\"Recursive\" /> to it in various places but it did not like that.

Does anyone know how to do this? Thanks!

Nick

Cannot resize or move report objects

$
0
0

Whether I open my report as a Visual Studio project, or open individual RDL files in report builder, I cannot resize or move text-boxes, rectangles, anything.  I can edit text, add or remove items, change colors, etc.  Has anyone experienced this problem?

Thanks in advance for any help.

Query Execution Failed for Dataset (Beginner)

$
0
0

I got this Error, Query Execution for Dataset 'Source'.

 

When i try to run a report that is actually a drillthrough from another report. It runs fine in Report Designer, and when i deploy to my Local server. But when i deploy it to my virtual Report Server, I get this error messege. Why is it doing this? and where can i see errors for this type of stuff, so i can figure this out. This uses the same Datasource as the report linked from it. That report works fine, why wont this one? any ideas?

Calculated field question

$
0
0
Hello

I have tried to create a calculated field that will show the number of customer transactions processed within 15 minutes.

I have added the expression:

=count(fields!wait.Value<15)

However, when I run the query I'm getting the error message, 'expression used for the calculated field includes an aggregate RowNumber...'

Can you advise please on how to create a calculated field so I can capture the value I want?

With many thanks.

Go to Bookmark target is hidden. Is it possible to show when the action is triggered?

$
0
0

Hi all,

Per the Title, I have an SSRS report with a summary tablix at the top. The body cell has the Action: Go to BookMark.

The target is a second tablix set up with drilldown. The groups are hidden by default.

When the action occurs, the report jumps to the drilldown tablix rather than the bookmark. If the groups are manually shown, then the action now jumps to the correct part of the drilldown tablix.

What I would like is for the action to open any hidden groups in which the bookmark target has as a parent context.

Can anyone help?


Showing an accurate % in a chart

$
0
0
Hello

I currently run a report and show, in a table, the % of calls answered within 15 seconds. I do this via an expression:

=count(fields!callno.Value)/ReportItems!Textbox10.Value*1)

This works fine in a table. However, when I insert a chart (I would like to show this % over the last 3 months), and add this expression to values, the number returned on the chart does not reflect the % figure that appears in the table, e.g. the calculation in the table will say 67%, in the chart the number '1' appears.

So clarly I'm doing something wrong. My first question is can I just copy an expression over from a table and put it in a chart, or do I need a separate expression for the chart? Any pointers towards this would be hugely appreciated.

Hopefully this is enough detail but can add more if needed.

Many thanks.

401.2 Error Accessing Report Manager

$
0
0

I concede defeat on this one.  I've gone through every configuration option I can think of in order to get this working so I am bowing to those who know more than I do!

I've got a native installation of SSRS 2008 R2 running on W2K8 R2.  Straightforward installation and configuration with the service running under Network Service.  Local DB Engine which has the ReportServer and ReportServerTempDB deployed on to. But when when I try and run Report Manager to add users as system admins I keep hitting the401.2: Unauthorized: Logon failed due to server configuration.  To try and overcome this I have done the following:

  • Run IE as administrator
  • Disabled UAC
  • Checked, double-checked and triple-checked Windows authentication configuration for report server.  RSreportserver.config authentication is configured for RSWindowsNTLM, and the web.config files for Report Server and Report Manager authentication is set to Windows.
  • The server URL (i.e. http://<servername>) is added to the list of Trusted Sites in IE.

I'm just looking to use NTLM for authentication purposes.  I have configured SSRS countless times without issue, but this one has got me stumped and it seems whatever I do I can't get around this 401.2 error.  Looking in Event Viewer, an ASP.NET 2.0.50727.0 error is logged whenever I'm running the webpage with the following details:

  • Event code: 4007
  • Event message: URL authorization failed for the request

...

  • Request URL: http://<my server>/Reports/folders/pages.aspx
  • Request path: /Reports/folders/pages.aspx
  • User host address: ::1
  • User: <My network account>
  • Is authenticated: True
  • Authentication: NTLM
  • Thread account name: <My network account>

Any thoughts?

weighted average handling zeroes

$
0
0

I have 2 parent groups - Vendor Group and Vendor and details SKU. I want to calculated weighted average for the cost as

Sum(Qty x Cost)/Sum(Qty)  but in Sum(Qty)  denominator I want to exclude SKUs with $ Cost

                                                           Qty       Weighted AVG Cost,$

Vendor Group: EXPORT                                      #Error

    Vendor  : ABC                                               #Error

         SKU001                                       4            $5

         SKU002                                      5            $0

          SKU003                                      6            $0.5

Here is my formula, but it does not deal with $0 Cost on both parent groups - if child  details has one SKU with $0 cost , then the group total will #Error:

= sum(iif(Fields! Cost.Value <> 0,Fields! Qty.Value*Fields!AVG_Cost.Value,0))/sum(iif(Fields! Cost.Value <> 0, Fields!Qty.Value, 1))

Please help!




ssrs

$
0
0

how to add 2 rows in matrix in ssrs reports.

i have name,type,count these 3 are columns

but i need name and type are 2 rows and count are columns in matrix.any one help me how can i do this

Viewing all 10045 articles
Browse latest View live


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