Showing posts with label requirement. Show all posts
Showing posts with label requirement. Show all posts

Wednesday, March 28, 2012

Report Designer Dynamic Filter

I have a requirement to add the ability to filter a report by partial last name, at the report level (i.e. not at the database server). In case someone else needs to work out how to do this, here is what I did.

    Add a Parameter to the report. In my case it is named LastName, is non-queried, allows Null or Blank, and has a default of null.

    Add a filter to the dataset that contains the field to be searched. Set its Expression to:
    =IIF(Parameters!LastName.Value = System.DBNull.Value OR Parameters!LastName.Value = "",
    Fields!LastName.Value, Nothing) ,
    its operator to "="
    and its value to =IIF(Parameters!LastName.Value = Nothing OR Parameters!LastName.Value = "", Nothing, Parameters!LastName.Value & "*")

voila!

Helen

I'm not sure I fully understand. What exactly does this do?

Would this have the same effect as using a query with a parameter for lastname (@.lastname) where lastname LIKE @.lastname + "%"?

|||

It allows me to make entering a value for the parameter optional. If the user does not want to filter by last name, my filter expression still has to work. I got it to work by using an expression for both the filter and its value, and returning Nothing for both when the value is null or empty.

When using an expression for the filter, the LIKE option for the comparator is disabled, so I had to use = as the operator.

Report Design Question two horizontal column headers one below other

I have a report requirement, i am new to reports.

I want to have two lines of column headers.( with 7 columns in parent columns header)

and 7 columns in child column header.

The first column header will show a parent record.

And after the parent record i want to show the next child related horizontal column headers and will show all child record related to the above parent record.

its a one to many: 1 parent record and below all child records for that parent record.

can i use subreports controls to show all child records of the parent.

Thank you very much for the information.

I would recommend that you a table report

Assume that you have a structure

Country A

Region A1

Region A2

Country B

Region B1

Region B2

Region B3

In this scenario create a table that groups records by country. In the group header/footer (depending on your need) add a new table that contains regions associated with the country.

HTH.

Friday, March 23, 2012

Report Builder: Custom Aggregate

Hi All,
I have used Report Builder to enable user to do Ad-Hoc Report that has
been great so far, but I have unique requirement for below table/view:
Month Headcount
================== January-06 45
February-06 41
March-06 43
April-06 42
May-06 38
June-06 30
July-06 50
(etc...)
Dec-06 42
Above table represents how many employees, one company/department has
during Month column. In January-06, there is 45 employees,
February-06, there is 44 employees, and so on.
If user choose to show Headcount attribute, Report Builder should
display each month headcount. The current problem is on the aggregate.
for example, report should show Headcount for Quarter 1 as 43, which
is headcount for March-06 (how many employees I have at the end of
Quarter 1), Quarter 2 should display 30, which is headcount for
June-06, and for Year of 2006 should be 42 (at Dec-06). There will be
more complexity: if now is still in the month of November 06 and no
data for December yet, report should show headcount of November 06 as
headcount for Year of 2006.
I don't think default available aggregates which are: Total, Average,
Max, Min, able to do this.
Q1, correct value should be 40 (March-06)
If I use Total Aggregate, it will be 99.
If I use Average, it will be 24.75
If I use Max, it will be 45.
If I use Min, it will be 41.
I need an aggregate that show number from last record in the dataset.
Is there any possible way how to do this? Any input is appreciated.
Thank you.On Jun 19, 4:59 pm, Gunady <Gun...@.gmail.com> wrote:
> Hi All,
> I have used Report Builder to enable user to do Ad-Hoc Report that has
> been great so far, but I have unique requirement for below table/view:
> Month Headcount
> ==================> January-06 45
> February-06 41
> March-06 43
> April-06 42
> May-06 38
> June-06 30
> July-06 50
> (etc...)
> Dec-06 42
> Above table represents how many employees, one company/department has
> during Month column. In January-06, there is 45 employees,
> February-06, there is 44 employees, and so on.
> If user choose to show Headcount attribute, Report Builder should
> display each month headcount. The current problem is on the aggregate.
> for example, report should show Headcount for Quarter 1 as 43, which
> is headcount for March-06 (how many employees I have at the end of
> Quarter 1), Quarter 2 should display 30, which is headcount for
> June-06, and for Year of 2006 should be 42 (at Dec-06). There will be
> more complexity: if now is still in the month of November 06 and no
> data for December yet, report should show headcount of November 06 as
> headcount for Year of 2006.
> I don't think default available aggregates which are: Total, Average,
> Max, Min, able to do this.
> Q1, correct value should be 40 (March-06)
> If I use Total Aggregate, it will be 99.
> If I use Average, it will be 24.75
> If I use Max, it will be 45.
> If I use Min, it will be 41.
> I need an aggregate that show number from last record in the dataset.
> Is there any possible way how to do this? Any input is appreciated.
> Thank you.
Reporting Services actually supports "Last" Aggregate (using regular
RDL file, e.g. developed using Visual Studio), which I think can solve
the problem. I notice that we can use
Count,CountDistinct,StDev,StDevP,Var, or VarP, in the Report Builder
editor itself, but there is no First or Last available. Does anyone
knows how to use this "Last" aggregate in report builder?

Tuesday, February 21, 2012

Replication/Synchronization Component

I have a requirement to implement replication between SQL Server and MSDE on
client machines. Problem is we cannot ask our customers to purchase SQL
Server Enterprise Edition, so we are left with the buy vs build scenario.
Can anyone recommend any components or vendors that offer this
functionality? Royalty free licensing is a must.
Thanks in advance.
Rob
Standard SQL Server can act as a Replication Publisher and MSDE can
subscribe to these publications. Why do you think you require EnterPrise
Edition...?
"Robert Chapman" <invalid@.invalid.com> wrote in message
news:e5jWhqetEHA.3788@.TK2MSFTNGP09.phx.gbl...
>I have a requirement to implement replication between SQL Server and MSDE
>on client machines. Problem is we cannot ask our customers to purchase SQL
>Server Enterprise Edition, so we are left with the buy vs build scenario.
> Can anyone recommend any components or vendors that offer this
> functionality? Royalty free licensing is a must.
> Thanks in advance.
> Rob
>
|||Why not recomend them buyingSmall Business Server 2003 Premium Edition
It only cost about $600.00 and it comes with SQL 2000
Brad Shook
"Robert Chapman" <invalid@.invalid.com> wrote in message
news:e5jWhqetEHA.3788@.TK2MSFTNGP09.phx.gbl...
> I have a requirement to implement replication between SQL Server and MSDE
on
> client machines. Problem is we cannot ask our customers to purchase SQL
> Server Enterprise Edition, so we are left with the buy vs build scenario.
> Can anyone recommend any components or vendors that offer this
> functionality? Royalty free licensing is a must.
> Thanks in advance.
> Rob
>
|||For some reason I though that it was only on enterprise, RTFM I guess.
Thanks
"Stringfellow Hawke" <Stringfellow.Hawke@.gmail.com> wrote in message
news:uS%23710etEHA.3368@.TK2MSFTNGP10.phx.gbl...
> Standard SQL Server can act as a Replication Publisher and MSDE can
> subscribe to these publications. Why do you think you require EnterPrise
> Edition...?
> "Robert Chapman" <invalid@.invalid.com> wrote in message
> news:e5jWhqetEHA.3788@.TK2MSFTNGP09.phx.gbl...
>

Replication/Synchronization Component

I have a requirement to implement replication between SQL Server and MSDE on
client machines. Problem is we cannot ask our customers to purchase SQL
Server Enterprise Edition, so we are left with the buy vs build scenario.
Can anyone recommend any components or vendors that offer this
functionality? Royalty free licensing is a must.
Thanks in advance.
Rob
Why not recomend them buyingSmall Business Server 2003 Premium Edition
It only cost about $600.00 and it comes with SQL 2000
Brad Shook
"Robert Chapman" <invalid@.invalid.com> wrote in message
news:e5jWhqetEHA.3788@.TK2MSFTNGP09.phx.gbl...
> I have a requirement to implement replication between SQL Server and MSDE
on
> client machines. Problem is we cannot ask our customers to purchase SQL
> Server Enterprise Edition, so we are left with the buy vs build scenario.
> Can anyone recommend any components or vendors that offer this
> functionality? Royalty free licensing is a must.
> Thanks in advance.
> Rob
>

Replication/Synchronization Component

I have a requirement to implement replication between SQL Server and MSDE on
client machines. Problem is we cannot ask our customers to purchase SQL
Server Enterprise Edition, so we are left with the buy vs build scenario.
Can anyone recommend any components or vendors that offer this
functionality? Royalty free licensing is a must.
Thanks in advance.
RobStandard SQL Server can act as a Replication Publisher and MSDE can
subscribe to these publications. Why do you think you require EnterPrise
Edition...?
"Robert Chapman" <invalid@.invalid.com> wrote in message
news:e5jWhqetEHA.3788@.TK2MSFTNGP09.phx.gbl...
>I have a requirement to implement replication between SQL Server and MSDE
>on client machines. Problem is we cannot ask our customers to purchase SQL
>Server Enterprise Edition, so we are left with the buy vs build scenario.
> Can anyone recommend any components or vendors that offer this
> functionality? Royalty free licensing is a must.
> Thanks in advance.
> Rob
>|||Why not recomend them buyingSmall Business Server 2003 Premium Edition
It only cost about $600.00 and it comes with SQL 2000
Brad Shook
"Robert Chapman" <invalid@.invalid.com> wrote in message
news:e5jWhqetEHA.3788@.TK2MSFTNGP09.phx.gbl...
> I have a requirement to implement replication between SQL Server and MSDE
on
> client machines. Problem is we cannot ask our customers to purchase SQL
> Server Enterprise Edition, so we are left with the buy vs build scenario.
> Can anyone recommend any components or vendors that offer this
> functionality? Royalty free licensing is a must.
> Thanks in advance.
> Rob
>|||For some reason I though that it was only on enterprise, RTFM I guess.
Thanks
"Stringfellow Hawke" <Stringfellow.Hawke@.gmail.com> wrote in message
news:uS%23710etEHA.3368@.TK2MSFTNGP10.phx.gbl...
> Standard SQL Server can act as a Replication Publisher and MSDE can
> subscribe to these publications. Why do you think you require EnterPrise
> Edition...?
> "Robert Chapman" <invalid@.invalid.com> wrote in message
> news:e5jWhqetEHA.3788@.TK2MSFTNGP09.phx.gbl...
>>I have a requirement to implement replication between SQL Server and MSDE
>>on client machines. Problem is we cannot ask our customers to purchase
>>SQL Server Enterprise Edition, so we are left with the buy vs build
>>scenario.
>> Can anyone recommend any components or vendors that offer this
>> functionality? Royalty free licensing is a must.
>> Thanks in advance.
>> Rob
>

Replication/Synchronization Component

I have a requirement to implement replication between SQL Server and MSDE on
client machines. Problem is we cannot ask our customers to purchase SQL
Server Enterprise Edition, so we are left with the buy vs build scenario.
Can anyone recommend any components or vendors that offer this
functionality? Royalty free licensing is a must.
Thanks in advance.
RobStandard SQL Server can act as a Replication Publisher and MSDE can
subscribe to these publications. Why do you think you require EnterPrise
Edition...?
"Robert Chapman" <invalid@.invalid.com> wrote in message
news:e5jWhqetEHA.3788@.TK2MSFTNGP09.phx.gbl...
>I have a requirement to implement replication between SQL Server and MSDE
>on client machines. Problem is we cannot ask our customers to purchase SQL
>Server Enterprise Edition, so we are left with the buy vs build scenario.
> Can anyone recommend any components or vendors that offer this
> functionality? Royalty free licensing is a must.
> Thanks in advance.
> Rob
>|||Why not recomend them buyingSmall Business Server 2003 Premium Edition
It only cost about $600.00 and it comes with SQL 2000
Brad Shook
"Robert Chapman" <invalid@.invalid.com> wrote in message
news:e5jWhqetEHA.3788@.TK2MSFTNGP09.phx.gbl...
> I have a requirement to implement replication between SQL Server and MSDE
on
> client machines. Problem is we cannot ask our customers to purchase SQL
> Server Enterprise Edition, so we are left with the buy vs build scenario.
> Can anyone recommend any components or vendors that offer this
> functionality? Royalty free licensing is a must.
> Thanks in advance.
> Rob
>|||For some reason I though that it was only on enterprise, RTFM I guess.
Thanks
"Stringfellow Hawke" <Stringfellow.Hawke@.gmail.com> wrote in message
news:uS%23710etEHA.3368@.TK2MSFTNGP10.phx.gbl...
> Standard SQL Server can act as a Replication Publisher and MSDE can
> subscribe to these publications. Why do you think you require EnterPrise
> Edition...?
> "Robert Chapman" <invalid@.invalid.com> wrote in message
> news:e5jWhqetEHA.3788@.TK2MSFTNGP09.phx.gbl...
>