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

Drop Down List in SSRS

$
0
0

Is there any one who can give me the way to add drop down list box into my SSRS report.

Gaurav


How to pass multiple field/column values from a collapsed column while doing Drill Down to another report?

$
0
0

Hi,

I've searched this issue in other similar posts but didn't get any resolution till now.

I have a report that has displays records in first SSRS report like:

Country     Area         Total (this field values has Drill Down links to another report)

APAC           Australia    90

                   Bhutan      30

                   India          80

CANADA                        500

So, now when I click on 1st record value i.e. 90, value 'Australia' is passed to the other report.

But when I click on collapsed APAC total, all 3 values (i.e. Australia, Bhutan, India) do not pass, instead only 1st value is passed, i.e. Australia.

How can I pass all 3 values here?

Thanks.


~manoj | email: http://scr.im/m22g
http://sqlwithmanoj.wordpress.com
MCCA 2011 | My FB Page

Render format type for XLSX instead of XLS?

$
0
0

I've got a PowerShell script that works for pulling a report in XLS and CSV format, but I'm trying to pull the report in XLSX format.  If I use the reporting web interface and I select Excel, I get XLSX. If I attempt to use a URL and do Format=excel, I get XLS. I've tried Format=XLSX, xslx, excel2007, excel07 but all generate an error.

"You have attempted to use a rendering extension that is either not registered for this report server or it is not supported in this edition of Reporting Services. (rsRenderingExtensionNotFound)"

So what is the proper Format= to get XLSS?

invoke-webrequest -UseDefaultCredentials "http://$ssrsserver/ReportServer?%2f_blah_blah&rs:Comm and=Render&rc:toolbar=false&rs:Format=excel"-outfile $OutputLocation    > Produces XLS
invoke-webrequest -UseDefaultCredentials "http://$ssrsserver/ReportServer?%2f_blah_blah&rs:Comm and=Render&rc:toolbar=false&rs:Format=CSV" -outfile $OutputLocation      > Produces CSV

Barcode Fonts in Microsoft Report Builder 3.0 or the Reporting Services:

$
0
0

hello team;

hope all is well on your end..

I need a good link for downloading Barcode Fonts for Report Builder 3.0 or the Reporting Services

thx a bunch

 

JohnE

 

Cannot upload/replace report with error (but run in report designer is OK...) ??!!

$
0
0

Hi,

Please help as captioned. Run in report designer is ok but it just cannot upload/replace the live report ... Please help ~~

check multivalued parameter not exceeded length

$
0
0

Hi,

I have a multivalued parameter in a report. I need to access its member in expression. However since the index is dynamic (long story... don't ask), so I need to check if the index does not exceed parameter's length, basically something like this:

Where myHeader is the parameter and the index comes from getDynamicIndex

=iif(Parameters!myHeader.Count>Code.getDynamicIndex(),
Parameters!myHeader.Value(Code.getDynamicIndex())," ")

it works fine as long as the condition is true, but if it goes to false it gives me #error.

I understand this is because iif in vbscript is not short-circuited, similar with what happened if we try to check division by zero.

Can anyone suggest how to modify the if condition so that it works fine?

Thanks before

Change Column Header / Column Background color based on a value in a specific row in the same column

$
0
0

SSRS 2012

Dataset (40 columns) including the first 3 rows for Report layout configuration (eg: the <second> row specifies the column background color).

Starting from the 4th row, the dataset contains data to be displayed.

I would like to change the background color of the ColumnHeader/Column based on the value in the same column in the <second> row.

How can I accomplish the this requirement? (this must be applied for all the columns)

Thanks







Create this tabbed SSRS Report????????

$
0
0

I am trying to create this tabbed SSRS Report as shown below. What would be the best practice to do this?  I understand how to get the query to get the columns, but tabs are a little confusing for me.  Maybe 3 different reports with links to each?


Reporting Services 2005; No Administator Access

$
0
0

Hello forum

I have recently started working for another company and I am in the middle of performing Audits (first time ever for this company).  I have come across a SQL Server RS 2005 installation that does have some Reports but it does not appear to have any Administrators; the BUILTIN\Administrators group is present when I look at the Users Table; however we have tried three separate accounts that should have Administrator rights and none of these do not have admin rights within Reporting Services.

Does anyone have a script to hand which will identify individuals who are set up as Administrators?

Is there a way to either add myself as an Administrator; without using the intranet interface; or is there a way to reset the permissions of BUILTIN|Administrators to make this group an Administrator within Reporting Services?

Many thanks


Please click "Mark As Answer" if my post helped. Tony C.

how to subscribe the report into one excel multiple sheets in ssrs

$
0
0

Hi Team,

I have a requirement where i pull my report in one excel with multiple sheets,

1.I have a Emp_Report where i could subscribe my report into excel format,but here i want to subscribe this into multiple sheets in one excel form.

2.Is it possible to subscribe the two reports in one excel with mulitiple sheets.i need this also.

please guide me hw we can achive me ,so that i can start working on that .

am using sql server 2008R2 sql server edition.

pls help me out for this


How to use ReportExecutionService.Sort2() method

$
0
0

We're using the ReportExceutionService to render reports using the HTML4.0 renderer to a web page. So far we've successfully been able to implement paging and toggle functionality. But we're struggling with the Sort2 API. Let me explain what we have so far:

  1. The report is initially rendered correctly. We save the returned ExecutionID.
  2. The user clicks on the sort icon of a specific column of the table
  3. The actionScript function is called, being passed two string arguments: an action, 'Sort' and a target, '38iT0_A', which I understand corresponds to the item the user clicked on. 
  4. I use these values to invoke the Sort2 method. The value of the target of the actionScript function is used as the sortItem:
public async Task SortAsync(string sessionId, string sortItem, bool clearExistingSorts)
{
	using (var rsExec = BuildReportExecutionServiceClient(isInteractive: true))
	{
		// Reload the execution context of the previous session
		var execHeader = new ExecutionHeader { ExecutionID = sessionId };

		// Create the request
		var request = new Sort2Request
		{
			Clear = clearExistingSorts,
			Direction = SortDirectionEnum.Ascending, // TODO: pass as argument
			ExecutionHeader = execHeader,
			PaginationMode = PageCountMode.Actual,
			SortItem = sortItem,
			TrustedUserHeader = null
		};

		// Sort
		var response = await rsExec.Sort2Async(request);

		// What to do with the response?
	}
}

Now this is where I'm confused. I don't understand what needs to be done with the response. If I call Render2, I get the same result as before, i.e., the sort wasn't applied.

Can someone point me in the right direction? A working sample would be a great help at this point.

-Pat




Report Services Backup Encryption Key

$
0
0

 

I'm trying to backup the Encryption Key for the Reporting Services. After I insert the password / location key file and click Ok, I get the following error:

 

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

ReportServicesConfigUI.WMIProvider.WMIProviderException: An unknown error has occurred in the WMI Provider. Error Code 80070A91
 ---> System.Runtime.InteropServices.COMException (0x80070A91): Password doesn't meet the requirements of the filter dll's
 (Exception from HRESULT: 0x80070A91)
--- End of inner exception stack trace ---
at ReportServicesConfigUI.WMIProvider.RSReportServerAdmin.ThrowOnError(ManagementBaseObject mo)
at ReportServicesConfigUI.WMIProvider.RSReportServerAdmin.BackupEncryptionKey(Byte[]& encryptedBytes, String password)

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

 

I have tried with diferents passwords but none of them is ok. I don't have any rule on local windows password policy!

Any suggestions?

 

Thanks!

 

MD.

Custom colors for indicator not working

$
0
0

Hi,

We have a report as shown below and as per some requirement we are using a tablix for displaying legends. For the color indications we use indicators with custom colors. (so first column indicator sec as the data we want to display)

We are using the same expression for the colors to get displayed in pie chart as well as in indicator, but the colors that are appearing with pie chart differs with that of the indicator. Is it like we can't get the same custom color we define for indicator or Am I missing any other settings

Please help me fix this issue - Thank you!

Mismatching_colors_with_Indicator


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


Can not see Email option in Delivery Extension + SSRS + SharePoint Integrated

No email option in Delivery Extension for SP2010 and SSRS integrated mode

$
0
0

I just set up SSRS R2 in integrated mode with SharePoint 2010. When I went in to setup a subscription, the only options I had under delivery extension were Windows File Share, SharePoint Library and Null Provider. Did I miss something on the setup to allow email as a delivery extension?

Thanks!

Frank


Frank

Need IIF expression to calculate the total

$
0
0

Hi All,

I need to make a total by deviding to values and multiplying the value by 100. When the values are zero the report displaying #Error. I want to fix that. Below is my expression but giving errors. Please help to fix it.

I want to return 0 in the total when Sum of GP_MTD.Value and Sale_MTD.Value are Zero

=IIF((Sum(Fields!GP_MTD.Value)>0),                                                                    

(Sum(Fields!GP_MTD.Value)/Sum(Fields!Sale_MTD.Value))*100),0)

Thanks


Swapna

SSRS takes long time startup the URL after reboot the service

$
0
0

I am using SQL Server 2008 R2 10.4290

after restart SSRS the access to ReportManager URL takes 03:55 minutes

I am using domain account to run the service, I have many server with the same issue.

Matrix column total and row total to verify

$
0
0

I have a matrix with totals for column and rows. I can define a GRAND total for either the row or column.

How do I add a cell for grand total row AND grand total column.

table:         column A   column B    total row

row1

row2

total          column A     column B   grand total columns

                                                  grand total rows?

I have to show that both rows and columns have same totals.

SSRS 2012 how to use sum from one dataset in calculations in another dataset

$
0
0

 Hi

I have 2 datasets and I would like to calculate a sum from dataset1 and then use it in calculations in dataset2. I was thinking of a lookup but I can not use an aggregate in the lookup.

My data looks like this

dataset1 (warehouse)

Site   InventoryID            Qty_On_Hand

 A              1                               5

 B              1                               1

 C              1                               7

Dataset2 (shipping location)

Site        InventoryID               QTY_Ord                Date_required

 A                1                                 3                           2-1-2015

 A                1                                 4                           2-9-2015

 C                1                                 6                           2-9-2015

I have set up parameters to that I can choose which sites to include in the report. It is rare that all sites will be included. Normally I will set the parameters to just look at sites A and B from both datasets

In the case when my parameters are for Sites A and B I would like to come up with a report like

   Inventory_ID         2-1-2015         2-9-2015              Total Qty_Ord             Total Qty_On_Hand

           1                         3                       4                                7                                           6

I will then compare a running total of each Inventory_ID to the total Qty_On_Hand and highlight the cell where Qty_ord exceeds Qty_on_hand

I just can seem to figure out how to get the Total Qty_on_hand from dataset1 and use it in Dataset2

Does anyone have a suggestion or two?

Thank you !


SSRS 2008 R2- reset page number issue

$
0
0

I'm having an issue with the new Reset Page Number feature in SSRS 2008 R2.  

What I'm trying to do is print a batch of Sales Invoices.  They print multiple Sales Invoice at once using a Batch Number as on of the parameters.  I have the table grouped by Sales Invoice # and 2 sub keys.

I can get it to work just fine in most cases, but in one case the page number resets before the last page.   If the report is 4 pages, it will display all the detail pages from 1of3, 2of3, 3of3, but the last page gets printed as 1of1.

The Sales Invoice# footer is about 7 rows tall which contains subtotal, taxes and other fees.  The page number resets correctly if the footer "fits" within the last page.  ie, there's still space below.  But if the Footer is the last row and happens to push on to the next page, it resets the page number before the last page and the footer displays on it's own page with the page numbering as 1 of 1.

I've tried changing the Group Pagebreak Location to all settings and it doesn't seem to change where the break and the numbers still reset the same no matter where I seem to put it.

Anyone have any ideas?

Thanks,

Dennis

Viewing all 10045 articles
Browse latest View live


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