Viewing 15 posts - 1,336 through 1,350 (of 2,452 total)
based on your sample data...what should the result look like?
July 18, 2014 at 3:22 am
marg 14154 (7/14/2014)
July 17, 2014 at 8:47 am
may be this will give you some ideas
July 13, 2014 at 5:57 am
Memberid 22222 was not enrolled from 2013-01-01 to 2013-01-31, but was enrolled from 2013-02-01 to 2013-08-31 and 2013-09-01 to 2013-12-31. The only gap is January and that is only...
July 11, 2014 at 12:47 pm
Arno Ho (7/11/2014)
Hi,Your algorithm is faster than mine but it does not fully meet my expectations
Arno
Arno...did you run your script against the test data script I provided....what were the...
July 11, 2014 at 12:30 pm
Lynn Pettis (7/11/2014)
July 11, 2014 at 12:23 pm
Tammy-274861 (7/11/2014)
The member abc would be continuously enrolled, since adding the gaps, he has a total of 42 days gap, which is less than the 45 days allowed.
The...
July 11, 2014 at 10:49 am
Tammy-274861 (7/11/2014)
The member yxz would be discarded since he has more than the 45 days allowed per year as gap to be continuously enrolled. Notice that I am...
July 11, 2014 at 8:44 am
for clarification....what would you expect for these :
INSERT INTO [nj_members] VALUES('abc','123',2013-01-01,2013-01-31)
INSERT INTO [nj_members] VALUES('abc','123',2013-02-14,2013-03-31)
INSERT INTO [nj_members] VALUES('abc','123',2013-04-14,2013-04-30)
INSERT INTO [nj_members] VALUES('abc','123',2013-05-14,2013-12-31)
INSERT INTO [nj_members] VALUES('xyz','999',2013-01-01,2013-06-30)
INSERT INTO [nj_members] VALUES('xyz','999',2013-08-01,2013-11-30)
July 11, 2014 at 4:59 am
thanks for script...just to confirm please....you are definitely running this in 2005 and not higher?
July 10, 2014 at 1:34 pm
care to provide some sample scripts of create tables/ insert sample data and expected outcome based on the data you provide....will be easier to provide a tested solution for you.
July 10, 2014 at 12:41 pm
Tammy...it will be easier to help you if you can please provide some scripts that create a table with suitable sample insert data scripts that describe you problem....along with the...
July 10, 2014 at 12:28 pm
what is the business definition of "lifetime value of customers"?
July 8, 2014 at 3:49 am
sifar786 (7/6/2014)
Outputs: dropdown Filters are on Country Category, Manufacturer, Brand and aggregation done after applying each such filter.
Select:
Your CountrySPAIN
Your CategoryJUICES
Your ManufacturerA.J. BARD
Your BrandRUBICON
Calculations:
Data is grabbed from ItemWeekWise table
Country
Count the...
July 6, 2014 at 6:40 am
think you are going to be busy here.....:w00t::w00t:
there are some regular posters on here that are far more experienced than I in BI...hopefully one will pick this up as well.
out...
July 6, 2014 at 5:15 am
Viewing 15 posts - 1,336 through 1,350 (of 2,452 total)