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

Removing Authentication--Report Service

$
0
0

Hai,

I don't wanna get prompted with a window asking for username and password. I am able to open Report service in my server machine. on click of the Reporting Web Service url in "Web Service Url" Tab
of Reporting services configuraiton , but I always  get prompted with a window asking for username and password.  

Please help me to resolve this problem.



Insert Image from Report Model.

$
0
0

Is it possible to insert image into SSRS 2208 R2 Report from SMDL model. When i try to add image column in report dataset, its coming up with below error message, SampleImage is the column with datatype Varbinary (Max) which has image data.

Error :

The Grouping Expression "SampleImage" returns the data type Binary. The Grouping Expression cannot return binary data.

Tricky Expression SSRS

$
0
0

Hi Experts,

I need bit for logic to calculate the variance. It was displaying minutes correctly but when I was getting negative hours then it is displaying wrong value. See below example 

Actually it has to display  like this 00:-29:00  but it was displaying like this -1:-29:00    ... this was happening when I was getting negative time.Can anyone have a look my expression please

=IIF(INT((26640-SUM(Fields!TaskStatusMinutesDuration_New.Value))/3600)>=0,"0"&INT((26640-SUM(Fields!TaskStatusMinutesDuration_New.Value))/3600),INT((26640-SUM(Fields!TaskStatusMinutesDuration_New.Value))/3600))&":"&
IIF((ROUND(((26640-SUM(Fields!TaskStatusMinutesDuration_New.Value)) MOD 3600)/60))<10 AND (ROUND(((26640-SUM(Fields!TaskStatusMinutesDuration_New.Value)) MOD 3600)/60))>=0
,"0"&(ROUND(((26640-SUM(Fields!TaskStatusMinutesDuration_New.Value)) MOD 3600)/60)),(ROUND(((26640-SUM(Fields!TaskStatusMinutesDuration_New.Value)) MOD 3600)/60)))
Thanks in advance


How to Create a Data Set which queries the all the files and folders in Sharepoint Document Library?

$
0
0

Hi,

1. I have a Sharepoint Document Library which contains nested folders, thus the files are present at root level and in all the sub folders within the form library.

2. I need to create a Data set in Report Builder 3.0, whcich queries all the files in folders and sub folders.

3. Generally i use "U2U CAML builder tool" to generate a CAML query or use the "Query Designer" option in Report Builder 3.0 to generate the appropriate query to fetch the data.

4. Now using U2U tool, in order to fetch all the files in folders and subfolders i have connected using "Sharepoint WebService" and then build the query using "GetListItems" options by right-clicking the desired document library. This fethces me all the files in folders and subfolders.

5. When i copy the query generated in step 4 and paste it in Report Builder 3.0 query desinger, it gives me error while saving the query as "The SharePoint List query is not valid. the XML element <Queryoptions> is not valid"

Also please find the query that i am using below

<RSSharePointList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ListName>FormLibrary</ListName>
<Query>
 <Where>
 <Eq>
  <FieldRef Name="Region" />
  <Value Type="Text">
  <Parameter Name="Region" />
  </Value>
 </Eq>
 </Where>
</Query>
<ViewFields>
<FieldRef Name="Region" />
<FieldRef Name="Country" />
</ViewFields>
<QueryOptions>
 <ViewAttributes Scope="Recursive" />
</QueryOptions>
</RSSharePointList>

Has any one faced this issue earlier or tried fetching the all the files in folders and subfolders in SSRS using Report Builder 3.0 tool.

Any suggestions/pointers on this would be higly appreciated.

Regards,

Ketan Gandhi


Regards, Ketan Gandhi

SSRS

$
0
0

I am using SSRS(Visual studio 2008) & Sql server 2008. Reports are working fine in Internet Explore but not in Firefox.

I have one report that contains some values which navigate to sub-report (Link to other reports)when I open that link it navigates to sub-report             And

when clicked on browser "Back" button (In Firefox) the selection criteria (drop downs) get's cleared.

In Internet explorer it's keeping the selection criteria working fine.

If anyone worked on this please tell me the solution.

Thanks!

Excel Power View on UDM?

$
0
0

Hi,

it's a great relief to see already the MS SQL Server 2012 with Power View for UDM CTP

However, I'm not able to connect with the embedded Power View from Excel 2013. I presume this CTP is only focused on Sharepoint Power View, although it is not stated as such.  I read in the past that perhaps a patch would be necessary for Excel as well. It would be very helpfull to me if anybody could confirm that this is indeed not working today, or perhaps give some insight if things are planned on short term or not?

Thanks for your response

Excel Power View on UDM?

$
0
0

Hi,

it's a great relief to see already the MS SQL Server 2012 with Power View for UDM CTP

However, I'm not able to connect with the embedded Power View from Excel 2013. I presume this CTP is only focused on Sharepoint Power View, although it is not stated as such.  I read in the past that perhaps a patch would be necessary for Excel as well. It would be very helpfull to me if anybody could confirm that this is indeed not working today, or perhaps give some insight if things are planned on short term or not?

Thanks for your response

How to display 'growth year-1' in ssrs reports, data coming from ssas cube

$
0
0

Hi,

I'm a newbie on SSRS reports and was a bit surprised how difficult it is to create a simple report on SSAS.

It only accepts table-like datasets, so the totals are calculated on the fly in the report instead of using the SSAS data.

The example I try to create is very simple :

On row  : Customer Group

On columns : Year,Trimester and month

Detail : SalesAmount

This was easy and SSRS showed me the correct totals. I do think SSRS recalculates the totals because he uses Sum(SalesAmount.Value) as expression.

Next step would be to add a calculated measure that already exists in the SSAS cube, Comparison to same period previous year.

So on the month level it would show the growth compared to the same month in previous year, for example.

The measure is working just fine if I browse my cube or use it in Excel.

But if I add it in SSRS, it will also do a Sum(Growth.Value) and this gives errors offcourse.

Because the growth of my trimester is not the total of growth of my months.

Also the average does not give the correct result

The salesamount are as following.


20102011
Month 1981251-74,4139
Month 21358153813,25479
Month 32131399556,8075
2552318824,92163

With the average calculation, the monthly growth compared to previous year are correct.

But the for trimister 1 I get 164% which is offcourse the calculated average of the 3 months. The correct result is 24.9 %

This should be something easy to do so what am I missing here?

Regards,

Sven Peeters





I get an extra page using a Page Break on rectangles with a show/hide parameter 2008 R2

$
0
0

Hello,

I have a report with 8 rectangles in 2008R2.  Each rectangle has a tablix with a separate dataset associated with each tablix.  I have added a "page break after" to each rectangle except for the last rectangle.

Everything works fine if I am showing all 8 rectangle.  But I also have a hide/show parameter for each rectangle.  When the user hides a few of the rectangles, an empty page appears at the end.

I do not think its a margin issue.  For example, when I remove the "page break after" on retangle 7, I do not get the extra page. 

I tried using the "Disabled" property on the PageBreak.  Something similar to IIF(InStr(Join(Parameters!P_04.Value),"Rect2")=0,true,false).

This Disabled property does not seem to be working for me.  I would appreciate any help!!! Thanks, 

  

Is it possible to nest a subreport in itself in SSRS 2008?

$
0
0

I created a report in SSRS 2008R2 with the intent to deploy it in Report Manager 2008 (target server version was set to 2008). The report consists of 2 rdl files - the main report and a subreport. The main report calls the subreport, which in turn makes a call to itself. The visibility of the sub-subreport is controlled with parameteres that are passed to subreport #1.

This setup works fine when previewed in Visual Studio, but after having it deployed to Report Manager, an error message appears where the sub-subreport (subreport #2) should be: "Error. Subreport could not be shown."

I suspect SSRS2008 may not support nesting a subreport in itself. Could somebody please confirm this?

Single sign on for E-mail Report Subscriptions

$
0
0
We provide our customers with the ability to subscribe to e-mail subscriptions in SSRS 2008 R2.  One of our customers has asked if its possible for the link in the e-mail to automatically sign into SSRS, rather than them (senior manager types) having to logon/sign in to view the report. I'm assuming this would be possible with Windows integrated security, however our app is provided SaaS, so are there any options open to us here?

Reportviewer web control - how to reset parameters automatically after report has been run ?

$
0
0

We are using the report viewer web control on a page within our application to display a report with parameters.  Once the page is opened i can select parameters and run the report by clicking View Report, but once the report is loaded any cis I chage the parameters and click View Report nothing happens.

From what I've read i think i need to call Reset on the ReportViewer control, but i can't work out where to do this in our code.  We're showing the report in a popup window which takes the report name and userid as parameters

 protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {

                try
                {
                    if (Request.QueryString["r"] != null)
                    {
                        List<ReportParameter> RptParameters = new List<ReportParameter>();

                        foreach (string s in Request.QueryString.AllKeys)
                        {
                            if (s != "r" && s != "IsDlg")
                            {
                                string[] parameterValues = Request.QueryString[s].Split(',');

                                ReportParameter rp = new ReportParameter(s, parameterValues, false);
                                RptParameters.Add(rp);
                            }
                        }

                        // Set the processing mode for the ReportViewer to Remote
                        reportViewerControl.ProcessingMode = ProcessingMode.Remote;

                        ServerReport serverReport = reportViewerControl.ServerReport;
                        serverReport.ReportServerCredentials = new MyReportServerCredentials();

                        // Set the report server URL and report path
                        serverReport.ReportServerUrl =
                            new Uri(ConfigurationManager.AppSettings[AppSettingsConstants.REPORT_SERVER_PATH]);

                        string reportpath = "/";
                        string[] reportParams = Request.QueryString.GetValues("r");

                        //These paths come from the appliocation
                        if (reportParams.Length == 1)
                        {
                            reportpath += ConfigurationManager.AppSettings[AppSettingsConstants.REPORT_FOLDER];
                            reportpath += "/";
                        }

                        //These paths come from the SSRS view
                        for (int i = 0; i < reportParams.Length; i++)
                        {
                            reportpath += reportParams[i];
                            if (i < reportParams.Length - 1)
                            {
                                reportpath += "/";

                            }
                        }

                        serverReport.ReportPath = reportpath;

                        // Set the report parameters for the report
                        reportViewerControl.ServerReport.SetParameters(RptParameters);
                        // Set the timeout properties for the report
                        reportViewerControl.ServerReport.Timeout = 100000;


                    }
                }
                catch (Exception ex)
                {

                }
        }
    }

Datasource username and password

$
0
0

I have a subreport that connects to a different database then the main report. When I try to view the report in ie, I am prompted for a username and password. I have already set the username and password using the sa account, but it still prompts, even though I have told it to save the password. It does not do this in BI studio. If I type the username and password in, it does work. I do not understand why it is prompting me for a username and password. Any ideas on how to fix this issue?

Thanks,

David

Having an issue with SQl server 2008r2 reporting services for custom reports

$
0
0

I am getting the below error for my custom reports while i am trying to add a calculation with in the visual studio. Please give me the solution for it.

failed to load host assembly details could not load file or assembly 'Microsoft.reportingservices.processingCore,

version 10.0.0, culture=neutral,publickeytoken=89845cd8080cc91' or one of its dependencies.The parameter is

incorrect, culture=neutral,publickeytoken=89845cd8080cc91' or one of its dependencies.The parameter is incorrect

ssrs 2008 visibility column problem when export to excel

$
0
0

I have a column in my report that i want to hide it based on an expression

   =IIF((ReportItems!Textbox16.Value ="USD" OR Parameters!BinderID.Value=10263 OR Parameters!BinderID.Value=10536 OR Parameters!BinderID.Value=10718 OR Parameters!BinderID.Value=10248 OR Parameters!BinderID.Value=10535 OR Parameters!BinderID.Value=10960),True,False)

 when i run the report the hidden expression is working very well the column is hidden when it should be, however when i export to excel the column reappear while it shouldnt.

Thanks in advanced.


repeating subreport as header in rdlc

$
0
0

Hi ,

I have requirement to repeat subreport as header per each page.

my reports have

     MainReport  contain three subreports subreport1 ,subreport2 and subreport3 .

     subreport1 - header

     subreport2 -  details

     subreport3 - details

 let me know if any one find solution or suggestion 

Thanks,

Chinna  

  

 

Reporting Service authentication Issue

$
0
0

I am using sql 2012 as a database with windows server 2008 R2 for hosting my database, whereas my web applications are hosted on another server with windows server 2008 R2.
The issue is that I can access the reports hosted on the database server through the IE, by manually browsing into it. However, when trying to access the report using an asp.net application using report viewer I am facing the following error "System.Net.WebException: The request failed with HTTP status 401: Unauthorized"

I tried to install Kerberos authentication, but didn't succeed to make it work.

Please your help is highly appreciated as I am managing production servers.

trying to make a hyperlink with an id to open in a new window

$
0
0

Hi,

I have made a report where there are created hyperlinks to an internal website. The problem is that those links open in the same window, and I want to have them opened in an new window. I'm using this hyperlink ="http://server/iProject/Consultancy/projectdetail.aspx?id="&Fields!projectnumber.Value. I'm reading everywhere to use  Target"_blank" or rc:Linktarget=_blank, but I'm not succeeding in combining this with my link. Can anyone help me?

I tried this:
="javascript:void(window.open('"&"http://server/iProject/Consultancy/projectdetail.aspx?id="&Fields!projectnummer.Value&"','_blank')"
but I get this as error : The ActionInfo.Action.Hyperlink expression for the text box ‘projectnummer’ contains an error: [BC30277] Type character '&' does not match declared data type 'Object'.

SSRS in Sharepoint integration mode on a separate server

$
0
0

Hi guys,

Is it possible to publish reports from SSRS server in sharepoint integration mode that's not in a sharepoint farm?

Choose diagram with parmeter in ssrs report

$
0
0

Hi!

I have multiple diagrams in the same area of an SSRS report and i would like to choose which report to display with a Parameter. But i dont know how to fix that.

As an example i have four diagrams that i would like to choose from with a parameter i would like to do something like below but that is not working. Any Ideas how to solve this issue?

Best regards Arne Olsson

switch (Parameters!DiagramNamn.Value = "Diagram1", Diagram1,
		Parameters!DiagramNamn.Value = "Diagram2", Diagram2,
		Parameters!DiagramNamn.Value = "Diagram2", Diagram3,
		Parameters!DiagramNamn.Value = "Diagram2", Diagram4)


Arne Olsson

Viewing all 28687 articles
Browse latest View live


Latest Images

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