Viewing 15 posts - 2,971 through 2,985 (of 3,480 total)
Which was what? use an aggregate function in a control at the bottom of the report?
June 6, 2014 at 3:59 pm
Yeah, answering based on flawed sample data will do that to you...
June 5, 2014 at 11:37 am
It looks like this works:
SELECT MedRecNum, VisitID, VisitDate, MAX(Answer) AS MaxAns
FROM
(SELECT 123 AS MedRecNum,7777 As VisitID,'03-14-14' AS VisitDate,1 As Answer
UNION ALL
SELECT 123,7777,'03-14-14',0
UNION ALL
SELECT 123,8888,'05-21-14',0
UNION ALL
SELECT 123,8888,'05-21-14',0
UNION ALL
SELECT 456,3333,'03-20-14',1
UNION...
June 5, 2014 at 9:49 am
Oh, I'm sure. Gail's was just the first I remembered. And if the boss can't take their word for it then all bets are off...
June 5, 2014 at 9:35 am
Not sure what to say. If you dig around here even a little, you'll find Gail Shaw's explanation of what NOLOCK really does. You might need to make...
June 5, 2014 at 8:56 am
I think he's talking about something more like this, but this is PowerView in Excel 2013...
http://office.microsoft.com/en-us/excel-help/maps-in-power-view-HA103005792.aspx
June 4, 2014 at 8:16 pm
Luis,
Outer apply... I should have figured. Still trying to get my head around that one... I mean, I know what it does, but remembering to use it... I...
June 4, 2014 at 12:11 pm
That's what I was thinking at first, but the two values are not in the same record. That's why there's all the weird coding...
June 4, 2014 at 8:28 am
This seems to work... If you post consumable data (create table scripts, and inserts), it's a lot easier for people to help you - since you've set up the...
June 3, 2014 at 10:07 pm
DECLARE @InputString VARCHAR(15) = '1.234;0;0;0;0;0;0;0';
PRINT LEFT(@InputString,(CHARINDEX(';',@InputString,1)-1));
June 3, 2014 at 1:13 pm
Not much to go on here, but there are two parts to filtering a dataset if you are using report-level parameters that you define yourself (as opposed to inheriting them...
June 2, 2014 at 1:53 pm
What type is the parameter? Should be an integer. then you can do something like
=Parameters!EndWeekNo.Value + 1
June 2, 2014 at 1:50 pm
I would put it all in the stored procedure, and if you can avoid using the view, do it. Think about what would happen if your view got dropped...
June 1, 2014 at 8:02 pm
The only way I can think of doing it is by adding a parameter that prompts for Export format, and then hiding the tablixes you don't want exported. maybe...
May 30, 2014 at 1:50 pm
Viewing 15 posts - 2,971 through 2,985 (of 3,480 total)