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

How to show subtotal and total of groups in ssrs

$
0
0
I am making an SSRS report in following format:

    DIVISION  
          SECTOR  
                DEPARTMENT

Division contain Sector and Sector contain Department so resulting report becomes something like following. A figure is being shown against each Department and I want to show SUBTOTAL of each Sector right against Sector column (by adding all Department coming under it) and then show TOTAL of Division (by adding all Department or all Sector) at the end. How do I show these totals? 

    Division1
         Sector1               SUBTOTAL HERE (for e.g. 19,000)
              Department1      10,000
              Department2      9,000
         Sector2               SUBTOTAL HERE  (for e.g. 8,000)
              Department3      8,000
         Sector3               SUBTOTAL HERE  (for e.g. 13,000)
              Department4      10,000
              Department5      1,000
              Department6      2,000
                               TOTAL HERE  (for e.g. 40,000)
    Division2
         Sector4               SUBTOTAL HERE (for e.g. 3,500)
              Department7      3,500
                               TOTAL HERE (for e.g. 3,500)

My report is displaying all divisions, sectors and departments with figures like above (I am using groups ) but how do I display SUBTOTAL and TOTAL?

Naming of Excel sheets or tab in SSRS

$
0
0

I am making a report in SSRS that will be exported to Excel. It displays data from all departments in organization. 

The first sheet of the report will have a static name for e.g. "Master Report" and it will display data of all departments in single sheet.

Other sheets will have dynamic name depending on department and will display data of that particular department.

So it will become something like as shown in picture below.

I have already made the Master Report and now I want to display those individual department reports but problem is how do I name those sheets? Both these reports will use different data set. If I set the **InitialPageName** property of report to "Master Report" then it sets this name for all sheets. If I use an expression for e.g. **=First(Fields!Dept_Title.Value, "ALL_DEPARTMENTS")** then it picks up first department name and then use it for all sheets because as I told above, there are two different data sets.  

Using subreport is of no help either because it doesn't show subreports InitialPageName as Excel sheet name and always uses Main reports name.

How to solve this issue?

SSRS 2008 configuration Manager - "Invalid Class"

$
0
0
Reporting Services Configuration Manager is throwing an error when I try to "Find" the server. The manager starts up and takes me to the "Reporting Services Configuration Connection" window. I click on the "Find" button (leaving the default comptuer name as-is; the local machine)  and get the error message "Invalid Class" with the title "Reporting Services Configuration Manager".

I've been searching around the interner and only found one forum post with a similar problem to my own. It was on this forum and the advice seemed to be pointing towards a problem with WMI, but it seemed that the user never found a solution. I've downloaded and ran the WMI diagnostics program and the log does contain quite a few warnings, but I don't know how to go about solving most of them. I did run regsvr32 on some dll files though :)

I won't post any logs yet, as I have no idea where the problem may be based. Please advise and I will post the required information.

Picture in report

$
0
0
How can I put  Logo in the Report so all reports share this.an in case of changing Logo it reflects in all Reports .

SSRS runtime error - The specified operation is not valid

$
0
0

I found a similar post here, but it didn't solve my problem. so i re-post it.

i develop a report with vs2008. i have sql 2008 r2 on my local machine. when i preview the report on my local machine all fine. but when i deployed the report to sql 2008 ssrs server, i got "#Error" in my subtotal field. i opened the log file and found the error message:

The specified operation is not valid. , ;
 Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: The specified operation is not valid.

i used a formular in the expression:

=Sum(IIf(Fields!flag.Value="S",Fields!Size.Value,0))

can someone help?

thanks

Dropdown list Selection doesn't work....

$
0
0

Hi,

I'm using SQL Server 2012 SP2.

I'm creating a main Dashboard, with a multi-selection dropdown list.. the source of the Dashboard is an OLAP DB, (Cube).

I've some measures on the Dashboard and it works as expected... e.g. Dropdown list lists Countries.. when a Select a country from the list the measures are affected by the selection... perfect!!!...

Then I've created another report, to allow the user to drilldown and understand the measures.... imagine, I've the Number of Cars by Country then the user clicks the Measure, "Number of Cars", and he/she is redirected to a report with the list of Cars... 

The Detail report has a label named "Back to Home", the user uses that label to return to the main Dashboard...

To Implement the navigation I did the following actons:

1º) I've created a shared Dataset with the Countries, (to populate the dropdown lists);

2º) Main Dashboard - Created a multi-value parameter named CountryList, populated with the Shared Dataset;

3º) Detail Report - Created a Hidden multi-value parameter named CountryList, populated with the Shared Dataset;

4º Main Dashboard - on the Action of the textbox that shows the "Number of Cars" Measure... Selected the Detail Report as target of the action, and passed as parameter the  values of the dropdown of the main dashboard, i.e., =Parameters!Countries.Value 

(SO FAR SO GOOD... it works as expected...now I'm able to drilldown to the detail report and the detail information is filtered by the passed parameters...)

5º) Detail Report: "Back to Home" text box... Configured the action of the text box to back to the main dashboard.... selected as target of the action the main dashboard, and passed as parameter the  values of the hidden dropdown of the detail report, i.e., =Parameters!Countries.Value.

it seems work... the selected value of the Countries dropdown of the main dashboard seems ok... it seems that the selected values was passed from the detail report... but..

The issue is when I try to select another item on the Countries dropdown list of the main dashboard.... the selection is the same forever..I'm not able to change it again.....

e.g.

Dropdown list has the values USA, UK, France, Italy... A select USA and click "View Report".. then click on the measure.. I'm redirected to the detail report.. and the detail report data are filtered by USA... GOOD... then I click "Back to Home", it works again...I'm now on the Main Dashboard with the measures filtered by USA... but now I need to do the same analysis by UK... I change the Dropdown selection to UK... it seems work.. but when I click "View Report"... the selection changes automatically to USA... and I won't be able  to change the Country selection again....

Many Thanks for your help!!

Luis



 

 

ssrs display of report parameter

$
0
0
In an SSRS 2008 r2 report, I have a parameter called 'report' where the user can select what report(s) they want executed. When report4 and/or report5 are selected. I want like a parameter called 'sort' to be displayed. If report4 or report5 are not selected, I do not want the parameter called 'sort' to be visible.
Thus is there a way to make a parameter visible based upon the value of 'report' having report4 or report5 selected? If so, can you show me how to setup the conditional display of this parameter?

BIDS 2005: Query Window Text editor Maximum number of characters

$
0
0
does anybody know the maximum number of text characters one can type in the Business Intelligence Development Studio Query Editor ?

We have some large calculations and queries and we're running out of space...

we're not sure if there's an official limit... does anybody know?

SSRS2008: PageHeader Section, Conditional suppressing on different page

$
0
0

Hi,

Can somebody help in [Suppressing] Page Header on next page based on condition. Such as in case of [Purchase Order]. We want supplier information only on 1st Page and on next page onwards it should be suppressed.

Best Regards, Ajay


InteractiveSize property in SQL Reporting

$
0
0
Hi there,
           can any1 tel me where can i get this "InteractiveSize" property in sql reporting

Awaiting for reply

SSRS report TOTALING issue

$
0
0

Hello,

I have a SSRS report that calculates the percent of AUM in a Column called ALLOCATION PERCENT.  I creating the percentages by using the following expression and it functions properly.

=SUM(Fields!TOTAL_AUM.Value) / ReportItems!Textbox33.Value

The problem I'm having is the report is not TOTALING the ALLOCATION PERCENTS.  For some reason it doesn't like TOTALING when the field is calculated by an expression and everything is defaulting to 0% instead of 100%. [SUM(ALLOCATION_PERCENT)].

Does any one have any ideas to resolve this issue? I figured I could use the following expression but it doesn't work

=SUM(SUM(Fields!TOTAL_AUM.Value) / ReportItems!Textbox33.Value)

Any help would be greatly appreciated.

Tim


x

SSRS Role ID and TaskMask

$
0
0

Hello,

I need to find out who has access to what on SSRS.  From the User table, I can query something like the following.   

Questions:
1) What is Role ID?  Is this a 1:1 map to a user?
2) What is TaskMask?  Is this a 1:1 map to a specific item (ie folder/report)?
3) How do I find out the mapping (ie the actual user name or folder/report name)?

RoleIDRoleNameDescriptionTaskMaskRoleFlags
30429381-0F4C-45E9-9136-AB4FE71CCD71View FolderView folder structure and reports available (incl report definition) but can't run reports00000010000000000
DF7F6687-DF4E-4D2A-B1A8-B0917EA4E82CBrowserMay view folders, reports and subscribe to reports.00101010010001000
DF7F6687-DF4E-4D2A-B1A8-B0917EA4E82CBrowserMay view folders, reports and subscribe to reports.00101010010001000
30429381-0F4C-45E9-9136-AB4FE71CCD71View FolderView folder structure and reports available (incl report definition) but can't run reports00000010000000000
DF7F6687-DF4E-4D2A-B1A8-B0917EA4E82CBrowserMay view folders, reports and subscribe to reports.00101010010001000
DF7F6687-DF4E-4D2A-B1A8-B0917EA4E82CBrowserMay view folders, reports and subscribe to reports.

Report not rendering charts in pdf (A generic error occurred in GDI+)

$
0
0

I've found the following exception stack trace in the Report Server log:

ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: , Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: A generic error occurred in GDI+. ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
   at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at Microsoft.Reporting.Chart.WebForms.Chart.Save(Stream imageStream, ChartImageFormat format)
   at Microsoft.ReportingServices.OnDemandReportRendering.ChartMapper.GetImage(ImageType imageType)
   --- End of inner exception stack trace ---;

I've got no idea what this is, any help would be appreciated. I don't know what could potentially cause this, so I don't even know how to start looking for a fix.

--------

Other info:

SSRS 2012 BI

Win Server 2008 R2 (Running on Hyper-V)


The pdf report(s) renders and is saved to the location it is meant to, but devoid of any charts. A data driven subscription controls the rendering.

Don't see Report template

$
0
0

 I have SQL Server 2008 R2 Express with Advanced Services installed. But when I go into Visual Web Developer, I don't see a Reports template in my installed templates. How do I go about getting this template.

Thanks

ssrs 2012 sort with tablix and parameters

$
0
0

In an SSRS 2008 r2 report, I want to be able to allow the user to sort parameter values based upon the selection listed in the following screen shot listed at bottom of this post. The default value of the sort is set to value = 1.

I asked a version of this question on a previous post, but that sort only gave one sort parameter that could change. That previous post is: http://social.msdn.microsoft.com/Forums/sqlserver/en-US/b15d05f6-7a48-450b-adc4-bcc6e0fa3125/ssrs-2012-pass-parameter-multiple-values-to-sort?forum=sqlreportingservices .

However, I want to be able to change the order of which item is sorted first, second, third, and fourth. The code I have on the tablix sort is the following:

=IIF(Parameters!Sort.Value = 1, Fields!lastname.Value, IIF(Parameters!Sort.Value = 2, Fields!firstname.Value, IIF(Parameters!Sort.Value = 3, Fields!studentnumber.Value, IIF(Parameters!Sort.Value = 4, Fields!schoolname.Value, "4"))))

Can I allow the user to sort each item in an ascending or descending order? If so how?

I want the following sort to be used that is listed in the picture below, but the iif statement is not working, Thus can you show me what to change and/or if the previous link is the best I can accomplish?




SOS ----SSRS export to Excel

$
0
0


Hi guys

Please help to fix this issue out. I have been working on it for several days.

After exporting SSRS reports to Excel, Date with holding Global Execution Time in SSRS is not displayed in the Excel file when print it out.  MY all SSRS reports has the same problem. I use SQL2012 data tool, Excel 2013

Example: it likes this one in SSRS   

Print Date: 09/17/2017      Page 1 of 3

In Excel

Print Date:                        Page 1 of 3

I will appreciate all replies

Thanks a bunch

Lucy




SSRS 2012: Find percentage between numbers from different datasets

$
0
0

Hi All ,

Deployed in SSRS 2012.

Scenario:

1st tablix - count (transactions) - dataset1
2nd tablix - count (transactions) - dataset2

Above data is for past week, so 7 rows per report

I need to find percent such that :

Day 1 -- (Dataset1.count (transactions) /Dataset2.count (transactions)) * 100

Day 2 -- (Dataset1.count (transactions) /Dataset2.count (transactions)) * 100
and so on...

I am aware of some Lookup function but it does not seem to work, below is what I did:

=Lookup(Fields!Dataset1.Value,Fields!Dataset2.Value,Fields!Dataset2.Value, "DataSet2")

As both datasets just return count, I think there is no column common in both and hence Lookup cannot be used?

In report layout, is there a way to create 3rd tablix and access data from the 2 datasets to calculate this percentage?

Need help urgently!!

Thanks in advance,
Mandar

Time table or calendar data display in ssrs

$
0
0

Hi Friends,

I came up again with a different requirement where i have to display 5 day time table for 7 periods.It is working fine in crystal but when we use the day number grouping in SSRS it is not happening in the same way..Please help me.

Crystal Output:

SSRS Output :

Please help me with this.

Thanks,

Samhith.

How to pass a multi valued parameter from master report to sub report

$
0
0

Hi 

I am trying pass a parameter from the main report to sub report but the thing is the parameters are getting passed but the values not getting fetched. based on the parameter.

my parameter name in both the reports are same and I am using the following query

Split(Join(Parameters!paramname.value,","), ",")

please suggest me what to do.

SQL Server Reporting Srevice 2012

Thanks

Subrat Kumar




LookUpSet is Not working for multiple columns in SSRS 2008 R2

$
0
0

Hi Friends,

I have a problem when i use more than one LookUpSet in SSRS to display more than one value based on Day Number & other fields..Please find the below details and please suggest me a solution for this.

Crystal : 

                Day1                              Day2

Period 4     Arts,Maths               Arts,Maths

For this in SSRS i am using LookUpSet as below based on StaffID,PeriodNumber & DayNumber like  this:

= (IIF(Fields!DayNumber.Value=1,Join(LookupSet(Fields!StaffID.Value & Fields!PeriodNumber.Value &  Fields!DayNumber.Value
    , Fields!StaffID.Value & Fields!PeriodNumber.Value & Fields!DayNumber.Value
    , Fields!ClassCode.Value
    , "TIMSTF5"), "," ),"")) 

which is displaying correct in SSRS,But when i use the same expression to display Day 2 classes it is returning empty even though i have values on Day 2.Please have a look at the SSRS output below:

                Day1                              Day2

Period 4     Arts,Maths              

Day 2 Expression is :

= (IIF(Fields!DayNumber.Value=2,Join(LookupSet(Fields!StaffID.Value & Fields!PeriodNumber.Value &  Fields!DayNumber.Value
    , Fields!StaffID.Value & Fields!PeriodNumber.Value & Fields!DayNumber.Value
    , Fields!ClassCode.Value
    , "TIMSTF5"), "," ),""))

I am not sure why it is not liking to use more than LookUpSet in the same report,Please suggest me with a work around for this.

Thanks in advance,

Sam.

         

                   

Viewing all 10045 articles
Browse latest View live


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