Viewing 15 posts - 106 through 120 (of 184 total)
You could adapt this to your needs:
DECLARE @varCheck BIT
IF EXISTS ( SELECT *
FROM YourResultTable
...
June 24, 2011 at 9:35 am
Yes, pass the query result into a variable then use a case statement...
Something like:
case when @varCheck is null then 'No results for today...' else...
June 24, 2011 at 9:25 am
If you have the adventureworks cube - this may help:
http://msdn.microsoft.com/en-us/library/ms145528.aspx
WITH
MEMBER Measures.CategoryCaption AS Product.Category.CurrentMember.MEMBER_CAPTION
MEMBER Measures.SpanishCategoryCaption AS Product.Category.CurrentMember.Properties("LCID3082")
MEMBER Measures.FrenchCategoryCaption AS Product.Category.CurrentMember.Properties("LCID1036")
SELECT
{ Measures.CategoryCaption, Measures.SpanishCategoryCaption, Measures.FrenchCategoryCaption } ON 0
,[Product].[Category].MEMBERS ON 1
FROM [Adventure...
June 20, 2011 at 10:14 am
This is my take on what you are after:
DECLARE @tableHTML NVARCHAR(MAX) ;
DECLARE @LogShipDate DATETIME2, @productionDate DATETIME2
DECLARE @SuccessFailureText VARCHAR(15)
DECLARE @subjectline VARCHAR(150)
SET @LogShipDate = ( SELECT TOP 1 CurrentDate --Or whatever date...
June 17, 2011 at 7:18 am
If you use a function to store the custom palette - this can be reused amongst other reports.
Private colorPalette As String() = { "#9cc5c9", "#729ac7", "#005295", "#78496A", "#923C06", "#D06F1A", "#E89419",...
June 7, 2011 at 8:10 am
I usually use SQL Search (http://www.red-gate.com/products/sql-development/sql-search/) and then double click the item I need but both the addins mentioned will get a download in the near future!
June 6, 2011 at 4:50 am
sharonrao123 (6/1/2011)
Thanks for the reply. I have ran the below Mdx statement as you suggested, but its giving and "type mismatch" error. Can you pleaes let me know how to...
June 3, 2011 at 9:08 am
Or UNION the three SETS:
WITH SET [OfficeSegmentECA] AS
Filter([OFFICE NAME].Members, (InStr(1, [OFFICE NAME].CurrentMember.Name, " ECA ") <> 0))
SET [OfficeSegmentECD] as
Filter([OFFICE NAME].Members, (InStr(1, [OFFICE NAME].CurrentMember.Name, " ECD ") <> 0))
SET [OfficeSegmentCCD]...
June 3, 2011 at 8:35 am
Try the Switch function on the Series Properties, Markers, Marker Type -> create an expression with something like:
=Switch(Fields!YourCategoryValue.Value="Median", "Cross", Fields!YourCategoryValue.Value="Average", "Circle")
This may be useful too:
http://www.keirgordon.com/post/SQL-Reporting-Services-Switch-Statement.aspx
Basically boils down to use IIF...
June 2, 2011 at 3:22 am
Try Notepad++
Open both rdl files
Plugins -> Compare
Or...
If you use BIDS within a reporting solution, right click on the report there is a compare option...
June 2, 2011 at 3:09 am
The example doesnt use a case statement:
WITH SET [ChardonnayChablis] AS
'Filter([Product].Members, (InStr(1, [Product].CurrentMember.Name, "chardonnay") <> 0) OR (InStr(1, [Product].CurrentMember.Name, "chablis") <> 0))'
SELECT
[ChardonnayChablis] ON COLUMNS,
...
June 2, 2011 at 3:04 am
I had a similar issue with a pie chart and found that doing it the old fashioned way:
Add this to the data label
=COUNT(Fields!YourField.Value) / COUNT(Fields!YourField.Value, "YourDataset")
Add 0% to the format...
June 1, 2011 at 10:43 am
Viewing 15 posts - 106 through 120 (of 184 total)