Viewing 15 posts - 3,946 through 3,960 (of 4,085 total)
Is your EndDate always the same as the PeriodEndingDate? If not, when is it different and what should the value be?
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 3, 2010 at 10:49 am
A big part of your problem is that your data is not normalized. Having normalized data will greatly reduce the need for CASE statements. I was able to...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 2, 2010 at 11:11 am
I find the EXCEPT clause works well in these situations, particularly as the number of columns you want to compare increases.
SELECT *
FROM db1..tbl1
EXCEPT
SELECT *
FROM db2..tbl1
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 2, 2010 at 6:19 am
ali.mahmoud.habib (3/11/2010)
Executed as user: FNS\SYSTEM. DTSRun:....I don't know why give access denied, while when running it manualy use enterprise manager work very well
When running it manually, you are using your...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
March 15, 2010 at 1:49 pm
SSIS bases its datatypes on a sampling of the records (8 rows by default) from the Excel file. If none of the records in the sample are longer than...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
February 6, 2010 at 10:35 am
First, the parent package CONTAINS the child package. The success/failure of the parent package is not determined until it finishes executing and it cannot finish executing until each of...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 18, 2009 at 3:31 pm
You're going to have to use ParallelPeriod(). If you have the week level in your hierarchy, that will probably work best. ParallelPeriod([week], 52, [FromDate]):ParallelPeriod([week],52,[ToDate]). Something like that...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
November 18, 2009 at 5:59 pm
The "Available Values" for your parameter is set to "From a Query". It is this query that you need to change.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
November 4, 2009 at 3:02 pm
It depends on whether you're querying a dimension or a hierarchy. With a dimension it's easy, just change [Dimension].members to [Dimension].children. For the hierarchy, it depends on how...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
November 2, 2009 at 1:52 pm
It's really hard to say for sure, because so much depends on the actual structure of your cube.
I think that you're probably going to need to reference the .currentmember of...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 25, 2009 at 6:06 pm
You need to use StrToMember() to convert your parameter value to a member.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 25, 2009 at 5:59 pm
I think that this is one of the cases where a CTE is much, much clearer. First, it makes it obvious that you are joining the same query to...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 25, 2009 at 5:56 pm
You could also use a CTE.
WITH CTE AS (
SELECT
orderlineid
, date
...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 18, 2009 at 3:54 pm
mm (9/15/2009)
Except... I'm getting a 'Incorrect syntax near 'END'.' I'm sure it's something dumb I'm overlooking.
-Michelle ...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 15, 2009 at 3:51 pm
Since you haven't posted DDL, sample data, and expected results, I can't test this. Try the following:
SELECT DISTINCT CRM_Orders.TRANSACTION_ID, CRM_StatusCodes.USER_STATUS, CRM_OrganizationalUnits.STEXT
FROM ...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 15, 2009 at 3:08 pm
Viewing 15 posts - 3,946 through 3,960 (of 4,085 total)