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

How to get custom file name in manually generated SSRS report

$
0
0

Hi,

I am creating a SSRS report which would be executed by User manually through ReportServer URL.User would be generating the SSRS report for different Customer ID based on ad-hoc basis.

I am passing CustomerID as input parameter to the report. Is there any way to get the manually generated SSRS report name as 'Report_CustomerID_TodayDate.xls'. Please let me know.

E.g.If User is generating report for Customer ID 123 today then report name should be 'Report_123_07092013.xls'

Thanks for your help in advance.

Thanks,

Abhiyanta


SSRS 2014 with SharePoint 2013 - Integrated Mode vs Native Mode Questions

$
0
0

Hi,

We are using SharePoint 2013 and SQL Server 2014.

We are building a number of SSRS Reports that pull data from SQL Databases. (Pl note, we are not pulling any data from SharePoint Lists) 

We have to make a choice between running the Reports in Native Mode or SharePoint Integrated Mode.

We saw this link: https://technet.microsoft.com/en-us/library/bb326290(v=sql.105).aspx - but it has no updated version for SQL 2014. 

We have questions on which one to choose - based on what criteria, based on performance (which will be faster), other benefits, pros and cons and also on things that work only on SharePoint Integrated Mode and things that work only on Native Mode.

Would appreciate guidance on the above.

Thanks


Karthick S


Karthick S

Display a Friendly message if sub-report is empty

$
0
0

Hello,

 is there a way to display a friendly message if a sub-report does not have content ex "No additional products available"

Adding lines across a graph to indicate acceptable limits.

$
0
0

I've successfully created a column bar graph that shows the availability (0-100%) for a given site for each month YTD. I would like to have fixed lines added to the graph across all the columns at the 99.0 and 99.99% marks to show where we've reached and surpassed these key service levels.

I can't seem to find any examples on how to do this. The line drawing tool doesn't always line up with the graph correctly when it's displayed so I was looking for a data point at those levels.

Can anyone help or point me in the right direction?

Thanks for your help!

Nicholas Willi

Nordson Corporation

HOw to fix No of Rows per page in SSRS

$
0
0

HI,

I have 400 records in my report , i  want display 20 records per page , how can i do the same in ssrs.

Thanks in Advance.

Copy Subscription Settings From One Report To Another

$
0
0

I have three SSRS reports that I modified. The original reports had several subscriptions associated with them. When I deployed the new reports, I placed the old reports into a folder called Archive and renamed them. Now I have these new reports with the original names of the first versions of the reports.

My question is is it possible to somehow replicate the schedules of the original reports to the new reports? There are about 30 subscriptions with between 5-10 recipients, and it would be a real pain to have to manually recreate those subscriptions.

Thanks!!!


A. M. Robinson

Heatmap - SSRS 2008 r2

$
0
0

Hi - i need to create a 32 tile Heatmap in SSRS 2008 R2, does anyone know how to achive such a feat - I only started using it 2 days ago, so any help is much appreciated, I am not too concerned with adjusting colours by values, I just need to get the 32 tiles in place in the report initially, then extend it with more functionality later on. Please help me get started - I know this can be done using ascalar geospatial report.

 

 

Excel Formulas in SSRS 2008

$
0
0

Hello,

I need to have a report that will have formulas in excel. I understand that the limited support for exporting excel formulas has been dropped in SSRS 2008. Is there any way to work around this and still output formulas?

obvioulsy the way to do it in previous versions of SSRS are not working (using report items). I tried to add my formulas in my dataset (I can know which excel cells I need in the formulas) but they end up being displayed as text. I then have to get in the excel file and enter and exit each cell so that it "becomes" a formula.

 

thanks a lot!

 

Simon


Export Excel formula

$
0
0
Hi,

We have a requirement as below. In SQL server Reporting service we need to export excel formula for summing column values. scenario : After generating report we are exporting report to excel file using report viewer.when user will modify a column value we need to calculate(update) automatically sum of the column values.Basically we are setting excel formula. Please provide your suggestion if this scenario is already implemented in any project or any idea to implement this.

Any help would be appreciated.

Thanks,
Nagasayana

BookMarks Visibilty not enabled by default on exporting an SSRS report to PDF

$
0
0

Most of our reports need to be rendered directly to PDF. And since we have multi paged reports, we have implemented document map to have navigation. while exporting to the PDF, Users want the Bookmarks to be visible by default.

However, this is not the case. The bookmarks tab in the Navigation tools of Acrobat is not expanded rather we need to manually click on it to see the bookmarks.

This behavior is different from Crystal Reports XIr2 where the bookmarks are defaulted to be visible when opening a PDF exported by crystal.

Is there any way to replicate this behavior in SSRS too?

Overlay content does not render completely when exporting to pdf

$
0
0

Hi, I have a report with an overlay image & textboxes. This is a goverment form. The report render well in html. But, when exporting it to PDF the first 17 pages rendered well and the subsequent pages (the report is a 155 pages long) didn't. From page 18+, a blank page appears until the end.

Please, any advice?

Thanks,

Armando

HTML table are not rendering in SSRS

$
0
0

I have some HTML stored in a SQL Server table that I want to render in Reporting Services 2008,

HTML data contain HTML table. While generating report, SSRS not able to render it properly as table.

Can anybody help me out how we can display the HTML data as it is in SSRS 2008?

jQuery DatePicker UI not binding correctly by dates fetched from database

$
0
0

Code :

  protected void Page_Load(object sender, EventArgs e)
    {
        Session["ID"] = "2";
        string strConnString = ConfigurationManager.ConnectionStrings["BSDConnectionString"].ConnectionString;
        var con = new SqlConnection(strConnString);

        using (var sda = new SqlDataAdapter())
        {
            SqlCommand cmd = new SqlCommand();
            cmd.CommandText = "SELECT CONVERT(DATE,proj_start_date),CONVERT(DATE,proj_end_date) FROM [BSD].[dbo].[d_project_p] WHERE proj_id = " + Session["ID"] + " ";
            con.Open();
            cmd.Connection = con;
            sda.SelectCommand = cmd;
            using (var dt = new DataTable())
            {
                sda.Fill(dt);
                con.Close();
                List<string> arr = new List<string>();
                arr.Add(dt.Rows[0][0].ToString());
                arr.Add(dt.Rows[0][1].ToString());

                Response.Write(arr[0] + " <br/>" + arr[1] ); ;
            }
        }
    }

    [WebMethod]
    public static List<string> GetDates()
    {
        string strConnString = ConfigurationManager.ConnectionStrings["BSDConnectionString"].ConnectionString;
        var con = new SqlConnection(strConnString);

        using (var sda = new SqlDataAdapter())
        {
            SqlCommand cmd = new SqlCommand();
            cmd.CommandText = "SELECT CONVERT(DATE,proj_start_date) AS S,CONVERT(DATE,proj_end_date) AS E FROM [BSD].[dbo].[d_project_p] WHERE proj_id = " + HttpContext.Current.Session["ID"] + "";

            using (var dt = new DataTable())
            {
                con.Open();
                cmd.Connection = con;
                sda.SelectCommand = cmd;
                sda.Fill(dt);
                List<string> arr = new List<string>();
                foreach (DataRow row in dt.Rows )
                {
                    arr.Add(row["S"].ToString());
                    arr.Add(row["E"].ToString());
                }

                con.Close();
                con.Dispose();
                return arr;
            }
        }

        //List<string> arr = new List<string>();
        //arr.Add("2014-07-01");
        //arr.Add("2015-02-05");

        //return arr;
    }


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BindDates_TESTING.aspx.cs"
         Inherits="BindDates_TESTING" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.js" type="text/javascript"></script><script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/jquery-ui.js" type="text/javascript"></script><link href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/themes/redmond/jquery-ui.css"
              rel="stylesheet" type="text/css" /><script type="text/javascript">
            $(function() {
                $.ajax({
                    type: "POST",
                    contentType: "application/json",
                    data: "{}",
                    url: "BindDates_TESTING.aspx/GetDates",
                    dataType: "json",
                    success: function(data) {
                        $('#TextBox1').datepicker({
                            defaultDate: new Date(data.d[0]),
                            minDate: new Date(data.d[0]),
                            maxDate: new Date(data.d[1]),
                            hideIfNoPrevNext: true,
                            showAnim: "fold",

                            changeMonth: true,
                            changeYear: true,
                        });
                    },
                    error: function(XMLHttpRequest, textStatus, errorThrown) {
                        console.log(textStatus + ' ' + errorThrown);
                        debugger;
                    }
                });
            });</script></head><body><form id="form1" runat="server"><div><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></div></form></body></html>

That was my code , now lets see what my problem is :

I am getting only two dates in a single row from sql to my asp.net webform and then bindng those dates in jQuery UI Datepicker. Now if i set session to 1 then date picker works well but if i put session = 2 , it shows the end date till 2020 which is wrong.

Below are the dates which are fetched from database and i have copied here for your ease.

When Session["ID"] = "1";

Start Date : 01/07/2014 00:00:00

End Date :   05/02/2015 00:00:00   

When Session["ID"] = "2";

Start Date : 07/04/2015 00:00:00

End Date :   27/08/2016 00:00:00      

I have set my mindate to startdate and maxdate to end date. please check and see where the error is happening.

Also point of interest is that if i don't fetch values from database and use only List<string> in my web method then every thing works well. like this :

[WebMethod]
    public static List<string> GetDates()
    {
        List<string> arr = new List<string>();
        arr.Add("2014-07-01");
        arr.Add("2015-02-05");
        return arr;
    }


Web Developer / Web Designer / Software Developer / UI Designer

Minor formatting problem in an SSRS Doughnut chart

$
0
0

I have a pair of charts in similar circumstances.  Each is in a tablix in a row group I've defined.  The table group is also the Category Group of the chart.   One chart is a 100% Stacked column.  The other is a Doughnut.   Everything is working fine except for one detail.   

The Stacked column chart's legend displays the series name alone.  

The Doughnut chart's legend displays the Category Group name plus the Series name.  I don't need that.  I have no idea why it's concatenating.

So far I can't find any settings that I've overlooked.

Suggestions?

Passing parameters to SSRS that is using a web service as a data source

$
0
0
Hello
I am building a webapp that calls an SSRS instance to display a report based on another servers web service.
I can make a call from the ssrs server using this in the RDL:

<Query>

<Method Namespace="http://machine/webservices" Name="HelloUser">

                <Parameters>

                                <Parameter Name="user">

                                <DefaultValue>Craig</DefaultValue>

                                </Parameter>

                </Parameters>

</Method>

<ElementPath IgnoreNamespaces="true">*</ElementPath>

</Query>

This works no problem.  but.. I want to have the user parameter "Craig" be a parameter passed in from the web app.  If it were a regular SQL data source you would put @user in the query.  How do you do it with XML text queries?


remove timestamp

$
0
0

How do I remove the timestamp from this?

, DATEADD(MI,DATEDIFF(mi,GETUTCDATE(),GETDATE()),IR.CreatedDate)       

SSRS 2012 behind an F5 load balancer

$
0
0

I have been trolling the web all day and finding ridiculous amounts of articles that make absolutely no sense to me, but I am not a SQL DBA.  I dont have any help on this so I sure hope someone else does!!

Here is the setup

We have the Report database setup on a cluster (SQL cluster on top of a Windows cluster)

I have 2 servers that I want to load balance.  I had the networking team configure the F5 friendly name as reporting.domain.com and assign in the address.

I want the 2 SSRS web service servers to be load balanced, they will both connect to the same database. 

I am installing an enterprise app and when I get the screen where it asks for the SSRS web server I can put report.domain.com in and it sees the report server, but then comes back with http://node1.domain.com instead of report.domain.com.  

I know this has to do with scale-out deployment and I am really hoping that someone can help me with this.  User must be able to go to http://report.domain.com/Reports and not have to type in a server name and be load balanced.

Thank you in advance for ANY help with this.  I have been to every KB article out there 

EFD

EDIT:  Thought a pic would help.  Its crude, but the point is there




Warm Fuzzies!


ReportViewer 2012 Scroll Bars

$
0
0

I am using ReportViewer 2012 to display reports from a report server.

If the report is larger than the display window scroll bars appear however in Internet Explorer 11 they are in the wrong place as they are sized to the whole of the iframe. As a result the vertical scroll bar includes the parameter tool bar and the horizontal Scroll bar does not appear until you scroll the bottom of the report into view.

If I run the app using Chrome the scroll bars are shown correctly.

How can I fix this so the scroll bars appear in the correct place in IE 11?

Report server intermittent Terradata errors

$
0
0

Hi all,

 

I've build a few reports in visual studio, they work and they don't work, in a minute I can run them next minute I can't and I get this errors in event viewer every time they can't be run:

Report Server (MSSQLSERVER) cannot load the SQLPDW extension.

Report Server (MSSQLSERVER) cannot load the TERADATA extension.

Any idea qhat I need to do to avoid this?


Thanks in advance


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!

Viewing all 10045 articles
Browse latest View live


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