Viewing 15 posts - 451 through 465 (of 3,480 total)
Uh oh... so I should learn some basic C# or Powershell (or both).
I guess it's time to look for a good validation tutorial maybe. Thanks!
November 21, 2021 at 8:21 pm
You would have to modify the bottom part of the query...
SELECT Field1, Field2, Field3
FROM
(SELECT Cast('DQUOTE'+Member4Parent.NAME+'DQUOTE' AS VARCHAR(20)) AS Field1 ,
...
November 21, 2021 at 5:57 pm
Where's b.[DMDPostDate] is your SELECT statement, because it's in your GROUP BY clause?
November 21, 2021 at 5:12 am
Do you have an existing OLTP database to build from?
What does each record in your fact table represent? What kind of reporting/summarizing do you want to do?
The fun part is...
November 18, 2021 at 6:43 pm
Are all the KEN_N## tanks or something? Sounds like a design flaw. What does the underlying table look like?
November 17, 2021 at 11:07 pm
Generate CREATE TABLE and INSERT scripts using the data table in your zip file, and then copy and paste the scripts into the window. most folks on here won't go...
November 16, 2021 at 10:08 pm
If a parent record doesn't have 30 previous periods/records, then you want to exclude it?
Any chance you could translate your question into a Sales kind of question, so I can...
November 16, 2021 at 8:05 pm
Got some data for us to play with? That's not data.
November 16, 2021 at 7:08 pm
Can you do PowerQuery inside ADF?
Remove Top N Rows, Remove Bottom N Rows. Done.
November 16, 2021 at 6:49 pm
a standard rolling window would be something like
SUM([Qty]) OVER (PARTITION BY <columnName> ORDER BY <date> ROWS BETWEEN PREVIOUS 30 ROWS AND CURRENT ROW)
and then you would divide by that.
November 16, 2021 at 4:24 am
Can you join the two source tables in SQL Server, and then create a view that you can use as the source for the dimension?
November 16, 2021 at 3:52 am
That's the funny thing about posting on here. I read a ton of questions here, and post some myself. So by now, I've gotten my head around Jeff Moden's article...
November 15, 2021 at 10:12 pm
Glad it helped!
Good luck on the learning journey! Here's a really good article about posting questions - short and to the point... should be required reading. It's maybe a five...
November 5, 2021 at 5:06 am
Lisa,
Welcome! Since you're new, I created the CREATE and INSERT scripts for your question. (Posting screenshots doesn't help the folks on here recreate your scenario, so it makes it less...
November 4, 2021 at 5:37 am
Don't think you can use LAG(). I think it was introduced in SQL Server 2012.
I only suggested it because you posted in a 2019 forum.
November 3, 2021 at 4:22 am
Viewing 15 posts - 451 through 465 (of 3,480 total)