Viewing 15 posts - 1 through 15 (of 91 total)
I have got the book Ralph Kimball Margy Ross The Data Warehouse Toolkit 3rd Edition but cannot see anything on any of the chapters about this scenario.
I am producing a...
December 29, 2022 at 8:25 am
I have included the dates to the join but it is now not showing EmpId 129 (Rafael Nadal)
DROP TABLE #tmp;
WITH EmployeeList AS (
SELECT [EmpId]
...
July 5, 2022 at 8:36 am
Sorry I forgot to include the the Table and Inserts and SQL I currently have, here it is below:
CREATE TABLE [dbo].[EmployeeList](
[EmpId] [int] NOT NULL,
[ManagerId] [int] NULL,
[Name] [varchar](100)...
July 5, 2022 at 7:24 am
This was the query I made if that is what you meant.
case when (DATEDIFF(MONTH,0,c.DateKey)/3 - DATEDIFF(MONTH,0,@TodaysDate)/3 = DATEPART(QUARTER,@TodaysDate)) THEN 1 ELSE 0 END
May 23, 2019 at 9:31 am
Actually I think I've got it now, I have done the following
case when DATEPART(QUARTER,c.DateKey)+1 = DATEPART(QUARTER,@TodaysDate) AND YEAR(c.DateKey) = YEAR(@TodaysDate) THEN 1 ELSE 0 END
May 23, 2019 at 8:14 am
Thanks Nigel, This seems to work. What would need to be done for Previous Qtr, so the dates between 01/01/2019 to 31/03/2019 they would be set to 1 for this...
May 23, 2019 at 8:12 am
Thanks for the reply, so when I deploy to the server and then go back to the Analysis Services section on Azure, I can now see under "Models on Analysis...
November 22, 2018 at 4:05 pm
Paulo de Jesus - Friday, October 27, 2017 5:11 AMHave a look at some of the suggestions in this link:
https://www.sqlservercentral.com/Forums/Topic1556669-148-1.aspx
Thanks...
October 27, 2017 at 6:30 am
Yes the first "Analysis Services Process Task" Processes the Dimensions, after that task has completed the second
June 27, 2017 at 3:11 pm
The body of...
April 21, 2017 at 7:48 am
CREATE FUNCTION tvf_HighestIncreased (@Refno int)April 21, 2017 at 7:46 am
Thanks Chris for your reply, it looks like it has done the job! But I did notice that when I inserted another row into the table hrd_audit
insert into hrd_Audit values...
November 1, 2016 at 4:06 pm
Viewing 15 posts - 1 through 15 (of 91 total)