Viewing 15 posts - 2,026 through 2,040 (of 3,489 total)
You'll get more help if you post consumable data... like this:
CREATE TABLE LotData (
Lot INT,
TranDate DATETIME,
Qty INT,
UOM CHAR(2),
RunBal INT );
GO
INSERT INTO LotData(Lot, TranDate, Qty, UOM, RunBal)
VALUES (114044, '5/27/2015 3:25 PM',...
March 14, 2016 at 7:23 pm
Thanks Eirikur! Learned something new today!
Kinda wish you could choose which columns you wanted in the table, but not possible, I don't think. Super handy for when you...
March 14, 2016 at 12:51 pm
I think that's it. You can't mix 32 and 64bit on the same machine.
March 14, 2016 at 11:44 am
What I need to do is a sort based upon the birthdate, lang, and pernum.
Basically the sort for birthdate should meet the following criteria:
a. If a student is under 6...
March 13, 2016 at 11:14 pm
Jeff,
that's basically what I did. (it's like a mini star schema, and Calendar is just a dimension table). Turns out, I used your calendar table-valued function. =)...
March 13, 2016 at 4:31 pm
No, I'm using the Calendar table as a Dimension so I can lump sales etc into "bins" -- summarize by Year/Month whatever.
I was using a dataset someone gave me that...
March 13, 2016 at 3:36 pm
found an explanation for any other intrepid folks that might be trying to create a calendar using PowerQuery... (not sure why one would want to do that, since it's so...
March 13, 2016 at 1:28 pm
That someone would be me =).
No, I didn't install SSAS. I was just trying to see how much I could do in PowerPivot without using T-SQL. When I...
March 13, 2016 at 10:41 am
create a calculated column in your T-SQL to evaluate to 1 or 0 based on your rules, and then sort by that. (Although the sort order in your report will...
March 11, 2016 at 8:15 pm
I would create a dashboard in Excel or PowerBI Desktop. Doing it in SSRS would be a lot harder.
Drill through in PowerBI Desktop is automatic. No programming or anything...
March 9, 2016 at 6:47 pm
March 4, 2016 at 8:28 pm
FirstDelim and SecondDelim are just (intermediate) Calculated Fields in my SSRS dataset. The result you're interested in is the third one that use FirstDelim and SecondDelim. You could...
March 4, 2016 at 1:38 pm
I created two fields in my dataset
"TwoFields" is the name of the field containing the raw data
FirstDelim = INSTR(Fields!TwoFields.Value,"=")+1
SecondDelim = =INSTRREV(Fields!TwoFields.Value,"=")
=CDBL(MID(Fields!TwoFields.Value,Fields!FirstDelim.Value,Fields!SecondDelim.Value-Fields!FirstDelim.Value))
If you can, I would probably do as Alan suggested...
March 4, 2016 at 1:05 pm
DATEADD(qq,DATEDIFF(qq,0,GETDATE())-3,0)
... returns a DATE value.
'2015 01' is a STRING value, not a date. You would have to turn that into a date... maybe split off the year, and add...
March 4, 2016 at 12:49 pm
This worked with the data you posted:
CDBL(MID(Fields!TwoFields.Value,INSTR(Fields!TwoFields.Value,"=")+1,INSTRREV(Fields!TwoFields.Value,"=") - INSTR(Fields!TwoFields.Value,"=")+1))
March 4, 2016 at 11:43 am
Viewing 15 posts - 2,026 through 2,040 (of 3,489 total)