Viewing 15 posts - 451 through 465 (of 4,085 total)
I used a slightly different approach. First, I totally agree with Phil. It is much, MUCH easier to work with dates. Days and Months are cyclical and it's very hard...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 13, 2019 at 6:52 pm
I assume that you are using SSRS, since you reference pulldowns. Check out the following link on how to Add Cascading Parameters to a Report.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 12, 2019 at 9:48 pm
This is a problem with data type precedence. Numbers have a higher precedence than strings so your strings are being converted to numbers (specifically -0 or 0), so you're doing...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 12, 2019 at 9:43 pm
SSMS doesn't have built-in OCR, so a picture is worthless. You should post consumable sample data like below.
DROP TABLE IF EXISTS #YourTable;
CREATE TABLE #YourTable
(
DateKeyINTPRIMARY KEY
,Property_KeyINT
,Property_Status_KeyBIT
);
INSERT #YourTable (DateKey,...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 8, 2019 at 4:09 pm
You can try this
Select count(1) CNT from (SELECT top 200 * from tblSample) a
Are you aware that this thread is a decade old and the original poster may not...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 7, 2019 at 2:22 pm
Thanks for your response Drew, the current image is not the actual sheet in question, added quickly as an example … Couldn't we order by AssignedTo? thus SELECT AssignedTo, UserSoftware...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 6, 2019 at 3:50 pm
You've heard the phrase "A picture is worth a thousand words"? Well, data is worth a thousand pictures. You're much more likely to get response if you provide consumable data. ...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 6, 2019 at 3:41 pm
Solving this in T-SQL requires a column to order by. You don't have such a column in your data.
Drew
PS: "Assigned" is misspelled.
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 5, 2019 at 6:48 pm
I do a lot of ad hoc update, insert, delete statements and was wondering if I should encapsulate using BEGIN... ROLLBACK... COMMIT to give me an out if something...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 5, 2019 at 3:14 pm
Are you looking for a T-SQL solution or a Dynamics 365 solution? It's probably easiest to do it in Dynamics 365, but I am not at all familiar with that...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 5, 2019 at 2:56 pm
I might be missing something but that looks an awful lot like JSON. Is it?
I'm with Jeff. This looks like a JSON document.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 1, 2019 at 6:10 pm
Hey
I'm looking for a smart idea on how to populate a field Priority with values H/M/L based on Column 1 (Activity type) and criticality
So e.g. for Activity type '207-recertify'...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 31, 2019 at 6:39 pm
Best practice is to set up a shared data source which is external to the SSRS report. In the UAT environment, the shared data source would be set up to...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 31, 2019 at 4:22 pm
That is so great, thank you! It works perfectly. I am going to study it to wrap my head around what is happening here.
I am assuming that I can...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 30, 2019 at 4:20 pm
Try posting your question in English rather than whatever computer programming language this is. Be sure to include sample data and expected results.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
July 29, 2019 at 9:58 pm
Viewing 15 posts - 451 through 465 (of 4,085 total)