Viewing 15 posts - 751 through 765 (of 3,544 total)
Non Quirky Update solution (uses Tally table)
;WITH d (RowNo,PirateID,StartEvent,EndEvent,Duration) AS (
SELECT ROW_NUMBER() OVER (PARTITION BY PirateID ORDER BY StartEvent),
PirateID,StartEvent,EndEvent,DATEDIFF(second,StartEvent,EndEvent)
FROM timeSpent
),
r (RowNo,PirateID,N) AS (
SELECT d.RowNo,d.PirateID,t.N
FROM d
JOIN dbo.Tally t ON t.N BETWEEN...
Far away is close at hand in the images of elsewhere.
Anon.
May 2, 2014 at 8:09 am
Create a parent group and set the expression to
IIf(RowNumber(Nothing)<=10,1,2)
and set page break on the group
Far away is close at hand in the images of elsewhere.
Anon.
May 2, 2014 at 3:18 am
Normally this is done in the presentation layer, but if you must then
'$' + REVERSE(SUBSTRING(REVERSE(CONVERT(varchar,CAST(Finance_Report As money),1)),4,255)) AS [FinanceReports]
Far away is close at hand in the images of elsewhere.
Anon.
May 2, 2014 at 3:07 am
If FY_1 is a year and assuming it is an int datatype then use the following expression
=String.Format("Fiscal Year : {0}",Fields!FY_1.Value)
Far away is close at hand in the images of elsewhere.
Anon.
May 1, 2014 at 9:30 am
"yyyy" formatting only works with date datatypes
Far away is close at hand in the images of elsewhere.
Anon.
May 1, 2014 at 8:25 am
No. As I already stated you would have to use different values (and changing indicator ranges) to get MIN to work the way you want.
Far away is close at hand in the images of elsewhere.
Anon.
April 30, 2014 at 10:16 am
giszzmo (4/30/2014)
It looks like it works! Thank you so much! Can you explain to me why you use SUM instead of MIN?
Because MIN will not obey 0, -1, 1 order
If...
Far away is close at hand in the images of elsewhere.
Anon.
April 30, 2014 at 10:09 am
How about this
=Switch(Sum(IIf(IsNothing(Fields!Passed.Value), 0, IIf(Fields!Passed.Value, 0, 1)))>0,0,Sum(IIf(IsNothing(Fields!Passed.Value), 1, 0))>0,-1,True,1)
Far away is close at hand in the images of elsewhere.
Anon.
April 30, 2014 at 8:52 am
Try this
=Switch(Sum(IIf(Fields!Passed.Value, 1, 0))>0,1,Sum(IIf(IsNothing(Fields!Passed.Value), 1, 0))>0,-1,True,0)
Far away is close at hand in the images of elsewhere.
Anon.
April 30, 2014 at 8:07 am
Yes or Report Builder via web browser (if you have permission)
Far away is close at hand in the images of elsewhere.
Anon.
April 30, 2014 at 6:31 am
After
Dim readStream As New StreamReader(sr, Encoding.UTF8)
Add
MessageBox.Show(webResp.StatusCode.ToString)
MessageBox.Show(webResp.StatusDescription)
MessageBox.Show(String.Join(",", Array.ConvertAll(System.Text.Encoding.UTF8.GetBytes(readStream.ReadToEnd()), Function(x) x.ToString())))
This will give you three prompts, response status, response description and ascii codes for response buffer
Far away is close at hand in the images of elsewhere.
Anon.
April 30, 2014 at 6:20 am
Change
Dim respData As String = sr.ReadToEnd()
to
Dim...
Far away is close at hand in the images of elsewhere.
Anon.
April 30, 2014 at 5:26 am
Informer30 (4/30/2014)
Thanks for your replies....sorry for the lack of infomation..David, please can you advise further how I can achieve one ms excel report and 15 tabs via SSRS output?
Only avaliable...
Far away is close at hand in the images of elsewhere.
Anon.
April 30, 2014 at 5:22 am
DECLARE @Result char(4)
EXECUTE (@sql)
SET @Result = CASE WHEN @@ROWCOUNT=0 THEN 'Fail' ELSE 'Pass' END
UPDATE tableB SET [column] = @Result WHERE ....
Far away is close at hand in the images of elsewhere.
Anon.
April 30, 2014 at 3:04 am
When you post there is a button bottom right (Edit Attachments) that will allow you to add attachments.
If you could make a mock up of what you want it to...
Far away is close at hand in the images of elsewhere.
Anon.
April 30, 2014 at 2:39 am
Viewing 15 posts - 751 through 765 (of 3,544 total)