Dynamic Group Changing In A Table Report
Nov 29, 2007
Hello all!
Does anybody know, if it is possilbe to dynamically change grouping in a table report?
I mean, is it possible to provide the enduser the capability to group data in a table on whatever column he would like?
The second question is related:
Is it possible to make a usersort on a grouped table, in such way, that ALL the rows would be sorted ascended regardless of the group they belong to? (For now the only way I see to do this is to give the enduser possibility to turn off grouping manually)
View 3 Replies
ADVERTISEMENT
Apr 21, 2008
Hi,
I have a SSRS 2005 report with a table and several groupings. These groupings are made visible with toggle items.
I am trying to determine how to make the associated group headings (entered within table header) visible or not visible depending on the visibility state of the groupings.
Example: (initial state with group1 only visible)
Group1 Heading Count Sum
+Group1 999 999
(click + sign to make visible group 2)
Group1 Heading Group2 Heading Count Sum
-Group1 999 999
+Group2 888 888
etc.. for remaining groups
I've tried toggling the table header column the same way I did the group, but the group scope isn't available so I don't know what to use. (Manually putting it in causes report error.)
I don't know what visibility expression to use because I can't figure out what report item I can look at to determine the group's visibility "status" in order to make an expression.
Any ideas?
Note: I did see a similar post from sadsac, but the "answer" didn't address this.
Thanks
View 1 Replies
View Related
Nov 8, 2006
hi,
i have a dataset which returns me a dynamic set of data ie. number of columns can be different....say 14 columns for some dates...and just 12 for some other...(pivot table is being used in the backend)...how can i present this in the table...also my column names are best suited to be the column headers in the table.....is it possible to create a table at runtime...??
View 5 Replies
View Related
Oct 10, 2007
Hi, I was wondering if there is a way to solve this issue.
I have the following MDX to retrieve specialised time related data from a cube
Code Block
SELECT NON EMPTY { { { [Measures].[% Vacancy], [Measures].[Total Square Area], [Measures].[Deliveries], [Measures].[Net Absorption] } * { [Time].[Quarter].[2007 Q1], [Time].[Quarter].[2007 Q1].lag(1), [Time].[Quarter].[2007 Q1].lag(2), [Time].[Quarter].[2007 Q1].lag(3), [Time].[Quarter].[2007 Q1].lag(4), ytd( [Time].[Quarter].[2007 Q1]), ytd( [Time].[Quarter].[2007 Q1].lag(4)),ytd([Time].[Quarter].[2007 Q1].parent.lag(1)),ytd([Time].[Quarter].[2007 Q1].parent.lag(2)) } } } ON COLUMNS ,
NON EMPTY { DESCENDANTS( [Location].[All Location], [Location].[Market] ) } ON ROWS
FROM [QMS]
WHERE ( [Overall].[Overall].&[Y] )
I can populate a table with the columns i need from the resulting dataset, however it is not dynamic. i.e.
The dataset field names come up as say,
Measures___Vacancy_Time_All_Time_2007_2007_Q1
Measures___Vacancy_Time_All_Time_2006_2006_Q4
Which i can place in the report...
But if I then want to parameterize [2007 Q1] like as follows
Code Block
="SELECT NON EMPTY { { { [Measures].[% Vacancy], [Measures].[Total Square Area], [Measures].[Deliveries], [Measures].[Net Absorption] } * { [Time].[Quarter].[" + Parameters!Quarter.Value + "], [Time].[Quarter].[" + Parameters!Quarter.Value + "].lag(1), [Time].[Quarter].[" + Parameters!Quarter.Value + "].lag(2), [Time].[Quarter].[" + Parameters!Quarter.Value + "].lag(3), [Time].[Quarter].[" + Parameters!Quarter.Value + "].lag(4), ytd( [Time].[Quarter].[" + Parameters!Quarter.Value + "]), ytd( [Time].[Quarter].[" + Parameters!Quarter.Value + "].lag(4)),ytd([Time].[Quarter].[" + Parameters!Quarter.Value + "].parent.lag(1)),ytd([Time].[Quarter].[" + Parameters!Quarter.Value + "].parent.lag(2)) } } } ON COLUMNS ,NON EMPTY { DESCENDANTS( [Location].[All Location], [Location].[Market] ) } ON ROWS FROM [QMS] WHERE ( [Overall].[Overall].&[Y] )"
so that everything is then driven from a single selected Quarter value, the table report no longer gets populated, as it has hardcoded field values such as
=Fields!Measures___Vacancy_Time_All_Time_2007_2007_Q1.Value
and if the Quarter selected is [2006 Q1] for example, this field will not exist in the dataset.
Is there a way to accomplish this? I am using SSRS 2005 against SSAS 2000 cubes
View 5 Replies
View Related
Feb 14, 2008
Hi,
I have placed one table object to show my datarows in reporting services report.
Depending upon the Parameter i want to change the location of this table in report. Is it possible or any other way we can do this. please help on this.
The purpose is to show the table horizontally centered after hiding the visibility of some column depending upon the parameter.
Thanks in advance.
With regards,
Sathish Raja S
View 3 Replies
View Related
Aug 31, 2007
How can I calculate a subtotal for a Report Item? I have a textbox(lets call it "PlusMinus") in the detail section of my table, which is a calculated textbox of two others (lets call them "Budget" and "Spent"). So, PlusMinus = (Budget - Spent). What I would like to do is get a subtotal for PlusMinus. I have tried several ways, using Sum() or RunningValue, even tried to write code, but I can't seem to get it right. Any ideas??
Thanks in advance!
View 3 Replies
View Related
Nov 23, 2007
Hi,
I have a need to display on screen AND email a pdf report to email addresses specified at run time, executing the report with a parameter specified by the user. I have looked into data driven subscriptions, but it seems this is based on scheduling. Unfortunately for the majority of the project I will only have access to SQL 2005 Standard Edition (Production system is Enterprise), so I cannot investigate thoroughly.
So, is this possible using data driven subscriptions? Scenario is:
1. User enters parameter used for query, as well as email addresses.
2. Report is generated and displayed on screen.
3. Report is emailed to addresses specified by user.
Any tips on how to get this working?
Thanks
Mark Smith
View 3 Replies
View Related
May 2, 2006
Hi,
I am building a data warehouse for a customer who has systems located in two different countries.
I need to import that data from four seperate databases, which all share the same structure.
To do this i have created 20 packages to import that data from the source database. What i would like to do, is at run time set which database the SSIS package should get its data from.
In sql 2k this was easy with a global variable that was set, then use a dynamic properties task to set the data source.
How can i achieve the same result in SSIS? the data source is an ODBC connection, with the four ODBC connections having similar names, eg ABC_NZ, ABC_AU
Thanks in Advance!
Truby
View 6 Replies
View Related
Dec 1, 2007
Hi all,
I am dealing with a quite complicated problem - I have to build a report with dynamic columns based on table rows. Each row in the table representes a column. My real problem is that the columns are changing all the time, so even if I am using C# to build the report dynamically I cannot use SSRS subscription (because the rdl file need to be on reports server and it is not updated). A matrix is not suitible becase some of the columns are static (mayebe in SQL 2008 there will be a solution with the new matrix - table control).
I thought of two solutions to the problem:
1. Build the report dynamically with c# and update it on the server each time a row in the database is changed. Very complicated to manage and can have a lot of problems.
2. Use some kind of formula (mayebe with VB custom function code) to determine the rows dynamically). I am not sure this is even posible. I have to use a table with grouping when each group with a diferrent unknown size columns.
Did someone have a similar propblem? I will love to hear an idias / solusions.
Thanks
Yaniv
View 1 Replies
View Related
Sep 11, 2007
I have a chart that presently has two groupings on the x-axis: Year & Qtr. I'd like the Year labels to be one color, and the Qtr labels to be a different color. (All year labels should be Black, all Qtr labels should be Blue). I can see that an expression can be written to handle this dynamically, but I'm banging my head trying to figure it out...
Any help?
Thanks in advance,
Pete
View 1 Replies
View Related
Jul 30, 2015
I am in between of creating a dynamic SSSIS package which will run for multiple zones having different source connection.My source is in Oracle.I am having 3 DFT with the 3 different source tables.I want to create a package with above DFT dynamically so that my single package can run for the entire zone with dynamically source connection change.I have created a Master table which stores the zone source connection string and zone name. I have 2 different connection.so if in future any new zones come so only newly zone details need to be add in master table without opening the package.
View 3 Replies
View Related
Aug 6, 2013
I want to modify the following SQL Query to replace the hard-coded date with 5 years back from the current month (The Current Month minus 5 years).
SELECT FirstName, LastName, LatestHireDate, COUNT(*) as "Latest Hire Date"
FROM dbo.EMPLOYEE
WHERE LatestHireDate > '2013-08-01' and ActiveResourceFlag = 'TRUE'
GROUP BY LatestHireDate, FirstName, LastName;
View 7 Replies
View Related
Oct 9, 2006
Hi All !
I want to show row groups as hierarchy levels and need the
sub total values belongs to each group and sub group levels. But the
most important point is that my top next top group (from child to
parent ) is not static its dynamic.i.e for a diffrent senario my under
displayed example can have Universe--->Earth as parent for Australia and USA.
eg:
1.Australia
|-------sydney
|-------Melbourne
2.USA
|------North US
|------North US(1)
|------North US(2)
|------South US
|------South US(1)
|------South US(2)
Can I get some help from anybody for making a dynamic row groups in the matrix.
Waiting for a kind help.
Regards,
View 5 Replies
View Related
Jan 10, 2007
I'm new to these forums. If this is not the right place to post this question, please let me know where I should ask. :)
Anyway, I have a report that is grouped something like this:
Team
Location
Score
TEAM 1
#Loc#
#Total#
Home
10
Away
14
Away
8
NULL
0
NULL
0
Home
14
TEAM 2
#Loc#
#Total#
Home
10
Away
14
Home
19
NULL
0
Home
14
TEAM 3
#Loc#
#Total#
Away
7
Away
12
For each team grouping, the header columns needs to perform an action on the grouped records to determine the text.
The #Total# header is easy -- here I want a total of the points ( =Sum(Fields!Points.Value) ). No problem.
The #Loc# header is the problem. What I want to do is to count the number of "Home" values in the group (so Team 1 location reads "Home (2 of 6)", and Team 2 location reads "Home (3 of 5)"). If there are no "Home" values, I want to use the "Away" value (so Team 3 location reads "Away (2 of 2)").
Can someone tell me how I can create a custom code function that will allow me to iterate through the values of the grouped records from the group header textbox? I assume I need to be able to create a custom aggregate function of some kind, but I don't quite know where to begin.
Thanks for your help.
Joe
View 1 Replies
View Related
Feb 8, 2015
Is there a way to subscribe SSRS report using dynamic parameters for email and trigger the report from autosys job so that report should generate the exact time the job is triggered.Let me describe, my SSRS report should be triggered on success of one autosys job. i need to send email parameter and time of report schedule from this autosys job.
View 3 Replies
View Related
Jan 19, 2007
I have three types of specific reports that i have to create with the input parameters (range) either
1: By date (rdl 1)
2.By Month (rdl 2)
3.By Year (rdl 3)
Is it possible ( or how do I ) to create just one report template ( one rdl) with the three sets of parameters ( hiding/invisible which ever two sets base on user selection) and the output of the report will display the desired type( either by year, month or date).
I ask this because its possible to create a drill down report from year down to date etc in report designer (vs 2005). Not sure if I can create one instead of three rdls and with the 'logic' built within that template.
Thanks
Regards
Alu
View 4 Replies
View Related
Oct 28, 2015
I have a report builder drill down report. I have row groups with totals.   It looks like the attached.  The problem is when the report is not expanded the Grand Totals column is not accurate... it is displaying the totals of one of the rows when expanded.The expression in the Total Show text box is
= Switch ( Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
MID(Fields!protocol_id.Value,1,7)="THERAPY", Â Â Â Â Â Â Â Â Â Â
                     Sum(IIF(Fields!status.Value = "CO", CDbl(Fields!TX_CO.Value),      Nothing)),
 MID(Fields!protocol_id.Value,1,7) = "GENERAL" and                          MID(Fields!program_id.Value,1,6)
= "INTAKE", Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Sum(IIF(Fields!status.Value = "CO",
[code]...
Is there any way to not display the expression in the Total columns unless the report is expanded?
View 2 Replies
View Related
Jan 22, 2007
Is it possible to dynamically refresh the report model of the report builder?
could it even be using code with any of the interfaces?
When we add a table or add a column to the table in database , will the report model get refreshed automatically or do we need to do it externally. If so, can we use any of the objects and write a custom code in VB.
View 1 Replies
View Related
Jan 23, 2007
Hi, I am currently trying to create a report the dynamicaly groups from parameters. The grouping part works fine but I need to show the parameter label name or the field referenced by a parameter.
=iif(Parameters!Param1.Value="P",Parameters!Param2.Label,Fields(Parameters!Param1.Value).Value)
This is the expression I have written to do this. The problem seems to be is with the true part of the iif statement. The false displays fine in the group header. The Parameters!Param2.Label also displays if used on its own.
This is the error that is fires back when I run the report.
The Value expression for the textbox €˜textbox4€™ contains an error: The expression referenced a non-existing field in the fields collection.
I am quite new to SSRS and I am using VS2005 pro.
Thanks
D
View 1 Replies
View Related
Nov 21, 2007
I have a need to show a row inside a table group to simulate a header row for the data rows inside the group. The table will not have a real header or footer. Thanks for the help.
View 1 Replies
View Related
Jun 22, 2007
All,
I have a report that grows horizontally as it contains a matrix. In the header section of the report, I have items such as Title and time stamp in text boxes. How can I make these items align in the center if the report grows horizontally, it looks kinda odd with report title not being in the center? Any input will be appreciated.
Thanks.
View 1 Replies
View Related
Mar 21, 2007
I would like to modify some of the properties of a ServerReport entity from a desktop app using the ReportViewer control. In particular, I would like to have the document map displayed as expanded, and make some changes to the group toggle items based on the user's parameter selection.
Can someone please point me in the right direction? How do I get access programmatically to the ServerReport layout?
Thx
View 2 Replies
View Related
Mar 25, 2008
We recently had an issue where reports deployed under an account that was modified would no longer run subscriptions without deleting the reports and redeploying under a different account.
Is there a way to change the owner of all reports on the server? scripting or web service tips would be fine.
Thanks
View 3 Replies
View Related
Apr 21, 2008
Hi All
Can I change the name of a report depends on the parameters selected by end user?
Can you give me a similar expression?
Thanks
View 1 Replies
View Related
Mar 3, 2008
The report has many multi-valued parameter collection. Each parameter has its own dataset attached to it and each parameter has got a list of many values.
All parameters have a single default value dataset to return a DEFAULT value.
Now when the user selects value for each parameter, the reporting services takes times(atleast 5secs) to repaint/reload the whole page.
Could you please let me know how to resolve this.
thanks.
View 3 Replies
View Related
Aug 14, 2007
Hi,
Does anyone know how to change the Appearance of the Report Manager Homepage
i.e http://Localhost/Reports
Basically I want to add some Images instead of the Blank SQL Server RS Homepage.
Thanks in Advance for your Help,
Regards,
Sundar
View 3 Replies
View Related
Feb 6, 2008
Hi
I have a strange problem that basically consists of showing a report in Internet Explorer and then using the same Internet Explorer window to show an asp.net page that contains some form where the user can enter some data. In this scenario, the form won't be processed on the server. I really need to know why and how I can work around this problem.
Precisely the problem can be reproduced like this:
Environment: Server: Windows 2003 Standard Server SP1 (German), IIS 6, Client: Windows XP SP2, Internet Explorer 6
First I open a new Internet Explorer Window and let it show me a Reporting Services Report (by entering its url into the address bar). Everything works. Then I change the address to a simple web application's address that is built with asp.net (.net 1.1). The application contains only a form with a submit-button, a text box and a label, that shows the textbox' text after submit was clicked. But when I click the submit button, although the form seems to have been sent to the server (the green progress bar in the status bar is flickering), it's reset. So the label does not show the value I have entered into the the textbox and the textbox itself is cleared. This only happens when the browser was first showing a Report from Reporting Services, so when I open a new Browser Window and go directly to the web app, everything works fine.
It does not happen when I open the Browser directly on the server.
Thank you
Christian
View 3 Replies
View Related
Oct 19, 2007
I am currently creating a report with SQL Server Reporting Service 2005 and have run into an issue where the user can change the value in a drop down and the report will reload without any data. Data will not show untill the "View Report" button is clicked. Is there any way to avoid the page reloading like this so that the user is not confuesed by the lack of data ans just thinks that nothing was suppose to show up?
Thanks in advance.
View 4 Replies
View Related
Jan 27, 2007
Hi @ all,
I work on a german Windows environment and use the Report Builder. For showing details in their it is necessary to switch the German interface in Report Builder into English.
I already tried to change my environment into English but it even after a restart it did not change the Report Builder interface....
I also tried to search all the XML-files for a language setting - with no success....
Does anyone know how to do this? Would be very helpful....!
Thanks in advance,
Jochen
View 5 Replies
View Related
May 24, 2007
I have a report I want to modify and when I go to deploy it I get:
Changing the report parameters or data sources to the values you specified is not allowed. The report is configured to run unattended. Using the specified values would prevent the unattended processing of this report
Now I understand the error, it is because on the report server's web management interface I entered credentials for the report to run that point to a custom datasource and supplied the appropriate credentials to run the report.
However, I don't want to have to reconfigure that just to deploy a slightly modified version of the report.
How can I get around this? Or what is the proper work around? I just want to change the background color from dark gray to light gray on a header column....
Thanks!
View 5 Replies
View Related
Nov 13, 2007
When I am working on an Integrations Services project and I open a Reporting Services file, it displays it in the Code view. Is there a way to display it in the Design view? Or do I have to close the project and open up a Reporting Services project?
Fred
View 1 Replies
View Related
Sep 21, 2006
I am creating a dynamic DSN in a report to pick which database to run a query against. I have a fairly simple expression,
="Data Source=MYSQLSERVER;Initial Catalog=ADV_" & Parameters!DBNum.Value
When I try to preview the report, I get the following error
An unexpected error occured while compling expressions. Native complier return value: '[BC32017] Comma, ')', or a valid expression continuation expected.'.
I have also tried it without the parameter,
="Data Source=MYSQLSERVER;Initial Catalog=ADV_1"
with the same result. When I use the exact same static DSN it works fine. Anyone have any idea what I might try to get it to work next?
R
View 8 Replies
View Related
Oct 12, 2015
We are getting frequently blocking in Report server database.
Is it ok to change isolation level to RCSI for report server database?
View 1 Replies
View Related