Viewing 15 posts - 31 through 45 (of 3,396 total)
<checking calendar>
Nope, still 2024.
Drat!
August 5, 2024 at 7:42 pm
Okay, thanks for looking at this. Thought I was just missing something. Maybe I'm not. The PowerQuery source just isn't nearly as functional as I had hoped it would be....
July 6, 2024 at 4:15 pm
I think the PQ Source is a dead end. It's crazy buggy. Either that or I'm doing something incredibly stupid in SSIS, because if I use the PQ Source, SSIS...
July 6, 2024 at 7:20 am
Not 100% sure the destination matters at this point. I can't get the PowerQuery Source to output anything at all. If I use an Excel source (that runs a PowerQuery),...
July 5, 2024 at 3:40 am
Okay.. I got things working so far... not quite what I want, but closer:
Okay... progress, of a sort.
Excel Source
to
Derived Column (unit price)
to
Data Conversion (Convert PQ and Excel Types to SQL...
July 5, 2024 at 3:14 am
I tweaked my code because I wanted to be able to call the PowerQuery function that reads the PDF once for each file... here's the code (Note: this works perfectly...
July 4, 2024 at 3:33 am
Just wondering... can I put the PowerQuery source inside a For Each File Loop, and then, if I make the PowerQuery a variable, basically do a REPLACE (Yes, I know,...
June 29, 2024 at 3:01 pm
DECLARE @TextToParse VARCHAR(100) = 'for col1, for col2, for col3, for col4';
INSERT INTO #SomeTable(SplitValue)
SELECT TRIM(value) AS SplitValue
FROM string_split(@TextToParse,',');
is one way
June 28, 2024 at 10:41 pm
This is absolutely a post which would benefit immensely from a sample record or two.
I see no reason why you can't use something like DelimitedSplit8K or SPLIT_STRING() to separate the...
June 28, 2024 at 9:48 pm
oh, the 25 minutes. that's the giveaway. use LAG, like I said.
use tempdb;
go
CREATE TABLE ds(
ID INT NOT NULL,
Flag BIT,
EventTime DATETIME2
);
GO
INSERT INTO ds VALUES
(10,0,'2024-06-24 14:20:19.437'),
(11,1,'2024-06-24 14:45:45.027'),
(12,0,'2024-06-24 14:47:35.067'),
(13,1,'2024-06-24 15:14:45.653'),
(14,0,'2024-06-24...
June 25, 2024 at 5:12 am
use LAG()? I tried to use your picture to create a table, but SSMS didn't know what to do with the picture when I tried to paste it in.
In all...
June 25, 2024 at 4:07 am
After fiddling with this for what seems like forever, I finally got most of the way there. The PowerQuery transform works, but the data type transformations do not. I inserted...
June 24, 2024 at 1:08 am
Okay, I got it to work sort of. Had to resort to using Excel to run the PowerQuery on a folder source, filter for PDFs I want, and then once...
June 21, 2024 at 1:38 am
I think I understand how to do it now. Running totals of Sales Amount (Gross Revenue) is straightforward. With the SCD2 of Product, I can store the unit cost of...
June 19, 2024 at 4:31 pm
I haven't touched SSRS in forever (looks in book). You *might* be able to use RunningValue(), but I would do this in T-SQL as it's much easier to do there....
June 19, 2024 at 4:12 pm
Viewing 15 posts - 31 through 45 (of 3,396 total)