Viewing 15 posts - 766 through 780 (of 3,543 total)
Are you able to provide am example of the output as it is now and what you want it to look like?
Obfuscate the data if it is sensitive.
April 30, 2014 at 2:02 am
caippers (4/29/2014)
I apologize for that. I will ensure that I provide more info in the future.
It was not intended as a criticism :blush:
See links in Lynn's signature for information...
April 29, 2014 at 10:32 am
Yep Luis always gives good answers 😉
Nice one Luis, especially from sparse details 😀
April 29, 2014 at 10:25 am
Eirikur Eiriksson (4/29/2014)
What about Base36, almost closes the circle:-D
FOTFL :w00t:
Nice 😉
April 29, 2014 at 10:22 am
caippers (4/29/2014)
Thanks for your post but when I tried this I only received the top 1 from the entire result set.
That is what you asked for.
What is the expect result...
April 29, 2014 at 10:14 am
Luis Cazares (4/29/2014)
caippers (4/29/2014)
ID is the PK in this table.If ID is the PK, why is it repeated? PKs should be unique.
I noticed that but declined to comment on the...
April 29, 2014 at 10:11 am
Eirikur Eiriksson (4/29/2014)
Probably a string of hex values would be better, at least every character representation is then of the same length.
Meh! use octal 😛
April 29, 2014 at 10:03 am
SELECT TOP 1 ID
FROM
ORDER BY Rank ASC
What about ties (ie two PK with the same Rank)
April 29, 2014 at 10:01 am
Sean Lange (4/29/2014)
The more relevant question is why oh why do you have a sql instance in the DMZ???
SSRS 😛
April 29, 2014 at 9:55 am
Sorry my bad it is incompatible data types, try converting to double or decimal
=SUM(IIF(Fields!col3.Value = "DEL",CDbl(0),CDbl(Fields!col2.Value)))
or
=SUM(IIF(Fields!col3.Value = "DEL",CDec(0),CDec(Fields!col2.Value)))
April 29, 2014 at 9:50 am
Expression looks OK
Check all the values in col2, looks like you have non integer value or NULL.
April 29, 2014 at 9:33 am
Jeff Moden (4/12/2014)
April 29, 2014 at 7:38 am
Either change the sql query
SELECT col1, CASE WHEN col3 = 'DEL' THEN 0 ELSE col2 END AS [col2], col3
FROM
Or use an expression for column 2
=IIF(Fileds!col3.Value = "DEL",0,Fileds!col2.Value)
April 29, 2014 at 6:46 am
Table DDL, sample data and query please.
What do you expect to see in each of the columns with the sample data?
April 29, 2014 at 6:06 am
Viewing 15 posts - 766 through 780 (of 3,543 total)