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

DRILL-THROUGHT FUNCTIONALITY IN SSRS MOBILE REPORT BASEN ON MDX DATASET

$
0
0

Hi 

I created two seperate report based on cube (MDX).

1. Main 

2. Drillthrough 

When I want to drill main report to second one, I received an error that my report is misconfigured or server is not supported.

But interesting thing is when I prepare the same reports in Report Builder and include in parameter value UniqueName property ([UserName.UniqueName]), it works fine. 

Any Idea where I can set that property in Mobile Report or how can I change my parameter definition in MDX query ??



How to retrieve a parameter value based on a result set from stored procedure in SSRS 2014?

$
0
0

Hello Experts,

I would like to know how do I select a parameter based on the result set from a stored procedure.

My code looks something like this:

CREATE PROCEDURE usp_UserInformation (@ReportRunDate DATE = NULL)
AS
WITH CTE AS (
SELECT -- some fields
FROM Table1 INNER JOIN Table2 ON Table1.ID = Table2.ID
WHERE RegisteredDate = DATEADD(MONTH, DATEDIFF(MONTH, -1, @ReportRunDate) - 2, -1)
--I'll output the result set after applying all the logic like

SELECT User_ID, UserName, DOJ
FROM CTE

Now, when the user selects the date on the report, I created another parameter and trying to retrieve records from the "Available Values" using 'Get values from a query'. I would like to show the list of UserIDs from the above query result set and allow the user SELECT based on that.

Here are the screenshots for what I am doing if that helps:

PS: I am not allowed to write in-line SQL and only SPs are allowed. I don't want to create two SPs for the same report.


Known is a DROP, Unknown is an OCEAN.

Report builder 3.0 crashes trying to open Query Designer in Dataset properties

$
0
0

Hi All,

x64; Windows Server 2008 R2 Standard; SQL Server 2008 R2 Enterprise; login is Domain Admin, Server Admin and SQL Server sysadmin. Not integrated with SharePoint.

Whenever I try to open Query Designer in Dataset properties, the Query Designer stops working shortly after "open". This happens no matter where I try to open Query Designer: both places (text or stored procedure) in the properties box or from a right click on an existing dataset name in the report data tree in Report Builder. It happens during the intial dataset create or an edit.

The error: Microsoft SQL Server 2008 Report Builder has stopped working.

--From "view problem details"--

Description:
  Stopped working

Problem signature:
  Problem Event Name: APPCRASH
  Application Name: MSReportBuilder.exe
  Application Version: 10.50.2500.0
  Application Timestamp: 4dfb155c
  Fault Module Name: KERNELBASE.dll
  Fault Module Version: 6.1.7601.17651
  Fault Module Timestamp: 4e211319
  Exception Code: e053534f
  Exception Offset: 0000b9bc
  OS Version: 6.1.7601.2.1.0.272.7
  Locale ID: 1033

-----------------

I've checked permissions, access rights, looked online (haven't found anything to speak of - most likely not asking the proper search question) and am now at the point of "really no clue". I need advice as to what my next step should be, what to look for, check, change, etc.

Thank you.

Gary


Onward through the fog......

Can Dataset change dynamically depending on a parameters.

$
0
0

Is it possible to dataset change dynamically depending on a input parameters in ssrs 2005.

I need to create a report  in which it takes two parameters as input and display the output.The Output will contain the table report,bar charts.

For each combination of input the output will be the same that is table report,bar chart but the data inside this table report and bar charts changes for each combination.So totally I need to create 30 reports with different input parameter but the output of all the 30 reports will be similar i.e it will be in the table report and bar charts.

 

So can any one say Whether how to change the dataset dynamically depending on the parameters.

 

How to give database name as a parameter for SSRS report and subreport

$
0
0

Hi All

How to set parameter for Database name in both SSRS report and subreport? When report run, It should ask database name. i.e. provide interface to user to enter database name and produce report based on that selected database. 

Now I created report 1 it access diffetent data set called dataset1 and also I created report 2 within the same project. Report 2 access dataset2. I have added report 2 as a sub report in report1. I have defined parameter to run this subreport.  Now I want to define parameter for database name. i.e. connection string. When report run, It should ask database name. i.e. provide interface to user to enter database name and produce report based on that selected database. Both report1 and reort2 should be access given database name.  

I can pass database as a parameter for one report. But report consists of subreport I cannot do.

Please advice me how to achieve this requirement. Any help appreciate.

Thank You


Unwanted double quotes inserted into Filter by SSDT

$
0
0

Hi,

I have recently migrated several SSRS reports from SQL Server 2008 R2 to SQL Server 2012.

When I initial view the filters they appear correct as follows; -

However when I check the rdl file out for editing and view the same filters they appear as follows; -

This results in my report filtering out unwanted data. Can anyone tell me how to stop this please?

Kind Regards,

Kieran.


Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

How to fill the IE 11 or IE browser with entire SSRS page to avoid squishing

$
0
0

What should be the setting of a standard SSRS report developed in Landscape layout to fill the entire page and avoid squishing .

I am interested to know how to fill the IE 11 or IE  browser with entire SSRS page when run  to avoid squishing.

By default the report manager displays squished report where in the contents are aligned to left with white space at the right hand side.



How to Apply 'No wrap' & 'wrap' functionality to the table cell.

$
0
0

Hi,

I have tried with 'can grow' and 'can shrink' properties but didn't work.

Please let me if any other property is there that can help.

 


Value Cannot be be null. Parameter name: name on VS SSRS Solution

$
0
0

What could be problem?

When I open VS2008, I get Error box "Value Cannot be be null. Parameter name: name" and I see a Report Design in backgroud. (this reports have no parameter at all)

We have been developing SQL Server 2008R2 SSRS reports.

I have several reports in this VS Solution. Some of the reports do have parameters and they are cascading parameters.

All reports looks good despite Value cannot be null error.


Kenny_I

Subreport shows okay in VS2005, but not Report Manager - Error: Subreport could not be shown

$
0
0

I have compared the reports between VS 2005 and Rpt Mgr,, and the common thread between the missing subreports is the truncation of a telephone number.  I have used the "left" SQL function, and got the report to display successfully in VS2005, but when records with the long phone # occur in Rpt. Mgr., those records throw the infamous subreport error.  Thank you in advance for your assistance.

 

Best,

Chris.

Enable remote errors in SSRS

$
0
0
I am trying to enable the remote errors using the script method posted at msdn.

http://msdn.microsoft.com/en-us/library/aa337165(SQL.90).aspx

But whenever I am trying to use rs  command at the command prompt it is giving me error like

'rs' is not recognized as an internal or external command,operable program or batch file.

Please anyone help me out with the solution to this problem.

Thanks
Saurabh

Create a Bar Chart with marker in SSRS

$
0
0

Hello All,

I want to create a bar chart in SSRS with a marker at its end similar to below


Can anyone please suggest a good approach for this?

Thanks in Advance.

Regards

Shruti Vyas

SSRS dates are nvarchar in db and i need it to work with parameter date

$
0
0

dates are nvarchar in db and i need it to work with parameter date

This work if i hardcode the date

WHERE date >= '2014-06-28'

Here is what i want to have

WHERE date >= @startdate AND date <= @enddate

But this does not work.

Systemdeveloper @ 4film



SSRS - Sub report parameters Sub to Main

$
0
0

SQL Server 2008 R2 - BIDS - 2008

Main Report has Start_Date and Finish_Date parameters returning 2 records (correct result as per query filters).

Sub Report has Start_Date2 and Finish_Date2 parameters returning 5 records as stand alone (correct result as per Sub query filters).

When I put this Sub Report in the Main Report and link the fields appropriately the Sub Report returns only 2 records because it is controlled by the Main Report query to which it is tied to.

Question: How can I make this sub report to show all 5 records inside the Main Report? 

Please help and thanks in advance.

NOTE: Go to Report or Go to URL or Actions suggestions are not options. I want to know whether there are any other ways to make the Sub run independent of the Main except for the main link @Number param. the RDL should show the entire result at one click with out any additional action needed from the user. Thx.



Reports building for Reporting Services 2008

$
0
0

Dear All,

We have Reporting Services 2008 and yes, I know we had to upgrade long time ago. But this is what I have now. I need to find a way to develop reports for RS 2008 on Windows 10. SSDT 2015 seems not to be a solution, since I can't upload RDL developed in SSDT 2015 to RS 2008. Any viable solutions?

Appreciate your help


SSRS : display percentages with out rounding

$
0
0

Hello Everyone,

I am facing some issue in my SSRS report, could some one help me for the same.

I have a column with data as 0.831276, I just want to display this as 83.12%.

I have tried using text box properties-->percentage option with 2 decimal places, but I am getting it as 83.13%, which is not my requirement. I want the actual number upto 2 decimals.

Please suggest some options here to implement the same in SSRS.

Regards,

Kiran


Column groups issue, might be fixed by using calculated fields?

$
0
0

Hi 

Struggling with displaying data as I would like, I thought using column groups was the best way but as soon as I came up against a group which had more than one activity I realised it created the same number of columns as the examples below show.

I would like 12, 12 and 17 to display as one column with a heading "Holiday", I thought I was on the right track with Illness and Emergency however it turned out they each only had one activity so only displayed one column.

The table layout is as follows

I was using column groups as I then applied a filter to each as follows

=IIF(InStr("," & Join(Parameters!Holiday.Value,",") & ","   ,   "," & Fields!Activity.Value & "," ) > 0 , true, false)

The parameter holiday looks like this

Dataset with example data is as follows

SELECT
  Practice.ibvStaffCategorisation.StaffId
  ,Practice.ibvStaffTotalsCL2Y.Period
  ,Practice.ibvStaffTotalsCL2Y.Activity
  ,Practice.ibvStaffTotalsCL2Y.[Year]
  ,SUM(Practice.ibvStaffTotalsCL2Y.ChargeableMinutes) AS Sum_ChargeableMinutes
  ,SUM(Practice.ibvStaffTotalsCL2Y.NonChargeableMinutes) AS Sum_NonChargeableMinutes
  ,SUM(Practice.ibvStaffTotalsCL2Y.ChargeableAmount) AS Sum_ChargeableAmount
  ,SUM(Practice.ibvStaffTotalsCL2Y.NonChargeableAmount) AS Sum_NonChargeableAmount
FROM
  Practice.ibvStaffCategorisation
  INNER JOIN Practice.ibvStaffTotalsCL2Y
    ON Practice.ibvStaffCategorisation.StaffInternalId = Practice.ibvStaffTotalsCL2Y.StaffInternalId
WHERE
  Practice.ibvStaffTotalsCL2Y.[Year] = @Year
  AND Practice.ibvStaffTotalsCL2Y.Period <= @Period
GROUP BY
  Practice.ibvStaffCategorisation.StaffId
  ,Practice.ibvStaffTotalsCL2Y.Period
  ,Practice.ibvStaffTotalsCL2Y.[Year]
  ,Practice.ibvStaffTotalsCL2Y.Activity
ORDER BY
  Practice.ibvStaffCategorisation.StaffId Asc

Not sure what I am after can be done, the way I am trying it.

I did think of adding a calculated field to create in the example of Holiday activities 11, 12 and 17 as a group called Holiday, Illness activities 24 and 12 as a group called Illness, then I could add a single column group based on the new calculated field? Unfortunately my knowledge of these is very little.

Can anyone shed any light on the above, offer any advice?

Cheers


Cheers Chris

Parameters in SSRS 2016 RC1 Mobile Publisher

$
0
0

It appears that parameters do not work in the SSRS Mobile Publisher app yet.  I have published datasets with parameters that work with a traditional 2016 report.  But when I try to build a new Mobile SSRS report connected to a parameterized data set, I get the error below.   When I try to build a new Mobile SSRS report connected to a non-parameterized data set, the mobile report works.  Also in the Mobile Publisher UI, the parameter option is greyed out.  Have parameters not been added to the SSRS Mobile Publisher yet or am I doing something wrong?

Thanks in advance.


hierarchy question in SSRS

$
0
0

Hi to All!

I have a hierarchy in SSAS cube - Country - Area - City. I need to implement possibility in SSRS to create report, based on cities. When user choose Country in the "Select Country" field, he should be able to see only selected Country cities in the "Country" field (and be able to choose city from that list). I could make filters for table, but problem is, that defining Countries, for example - France, I'm able to see cities from other countries too. Is it possible to make somehow, that after choosing Country, only proper cities will be available for select?

Thank you in advance.



Issue with URL Encoding report's hyperlink value.

$
0
0
Hello,

I've created a hyperlink in a report.  The hyperlink action is 'Jump to URL'   The URL is http://ServerName/SomePage.aspx?AccountCode=####&InvoiceLevel=1

The hyperlink works just fine in the designer, it's value becomes http://ServerName/SomePage.aspx?AccountCode=%23%%23%%23%%23&InvoiceLevel=1, however when I run from the web the report's URL is not properly URL encoded.  It's value is http://ServerName/SomePage.aspx?AccountCode=#%23%23%23&InvoiceLevel=1 which is incorrect since the browser now treats the # as a hash.
 
I've tried explicitly URL Encoding the #### in the function but the report returns an error.  "http://ServerName/SomePage.aspx?AccountCode=" + System.Web.HttpUtility.UrlEncode(####) + "&InvoiceLevel=1"

I've tried it in RS2000 & RS2005, same results. 

Help..Idea
Robert.


Viewing all 10045 articles
Browse latest View live


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