Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all 10045 articles
Browse latest View live

how to access the datasource window in SSRS for sql server 2008 R2 for writing my query without having to go through the wizard?

$
0
0

I have used SSRS a lot years ago with Sql Server 2000 and Sql Server 2005. I have written external assemblies, ... But now I have to do this with Sql Server 2008 (R2 -- which I realize I am way behind the times already but ...)  in sql server 2000 and 2005 there was a tab for datasource to the left of the tab for design which was to the left of the preview tab. How do I get to the datasource window in sql server 2008 (r2) ?

I see that datasource explorer.  But where can I get to the datasource window to edit my queries and so forth for sql server 2008 (R2)?

Thanks


Rich P


Data-driven Subscription doesnt send out an email but job history shows its successfull

$
0
0

Hi All

Please give me some advice about this Data-driven Subscription runs every hour misses out once or twice a day, but the subscription job history shows it ran sucessfull but it doesnt trigger the e-mail out.

Is there a way to check on subscription logs that SSRS has triggered the report out to the e-mail server.

Is there a way to add add logs for the e-mail part to make sure it has sent out the email ?

Nothing in the E-mail server logs to show this report email was requested / delivered / rejected by it.

So - Kindy advice me how can I proceed my findings on this.

Thanks a lot in advance.

Remove duplicate entry from table

$
0
0

Hello all,

In my one table

File Stage log (File_Stage_Log_ID int identity(1,1),File ID int ,Quarter_Date nvarchar(50),StageID int )

have done duplicate entry by mistake on similar quarter_date 

something like ..

FILE_IDQuarterFILE_STAGE_LOG_IDSTAGE_ID
22401Dec-13233091450
22401Dec-13244116420
22401Mar-14233095450
22401Mar-14237478405
22401Jun-14237479405
22401Jun-14233099450
22401Sep-14233102450
22401Sep-14237480405
22401Dec-14237481405
22401Dec-14227275420

there are too many files which have the same duplicacy ..

now , above you can see that dec -13 quarter coming twice for a single file 

tell me the way to delete one entry from the table for a files 

so that i have output at the end like ...

FILE_IDQuarterFILE_STAGE_LOG_IDSTAGE_ID
22401Dec-13233091450




22401Mar-14233095450




22401Jun-14237479405



22401Sep-14233102450



22401Dec-14237481405




Please help me with easiest possible way ..


Dilip Patil..

1 out of 2 Expressions not Charting but both display in Table

$
0
0

Greetings!

I have two expressions that I am trying to chart, a Cumulative amount and a Cumulative percentage. When I create a table using the two following expressions, I get the data. However, when I chart both of the expressions, I only get the Cumulative amount. The percentage does not render.

=RunningValue(Fields!HumanCase.Value,SUM,"DataSet1")
[Works on both table and Chart]

=round(runningvalue(Fields!HumanCase.Value,sum,"DataSet1")/sum(Fields!HumanCase.Value,"DataSet1")*100,2)&"%"
[Works on table but does not display in Chart]

Columns
HumanCase = 1 on all rows
Week will vary
Year will vary, will be Filter/Parameter

Can you point out what I am missing?

Many thanks!

iif parameter value is equal to something then pass greater than value to the query?

$
0
0

I am working on Postgres and SSRS

what i am trying to do here is

iif(Parameters!PurchaseOrder.Value=6,>6,Parameters!PurchaseOrder.Value)

i have a query and i want to pass the parameter value in such a way that if the drop down for the purchase order is 6 then we would have to get the data from the query which is greater than 6

the dropdown has values like 1 ,2,3,4,5, 6

for example my query is

select * from tableA
where purchaseorder = @purchaseorder

how do i achieve this?

i do not want to use filters for the dataset

thank you


Thanks


Does SQL Server 2014 support SSRS

$
0
0

Hi All,

We're in the initial stages of deploying SQL server 2014. I've a question regarding the same. Does SQL server 2014 support SSRS?

Thanks


SSRS 2005 - table heading adds a keyword " ID " on one of the column need to remove

$
0
0

HI All

I have an column name which is dynamically generated like [02 Mar 08 Mar 2015] , when I add it on report table, it adds suffix :  ID to it showing it like [ ID 02 Mar 08 Mar 2015  ]

If i want to remove the ID using replace expression it doesnt work for me.

This is how my column look when i run the sp

The daterange column changes as shown below with Id suffix and minus "-" is vanished too.

Kindly help me out on this.

Thanks a lot in advance.

3D charts in SSRS

$
0
0

Hi Friends,

I am currently converting crystal into SSRS and need your great help in 3D charts.Please find the below chart in Crystal and currently i am struck with displaying series & category groups in SSRS as two sides as shown in the below image.Please give me some ideas.

If you observe the above image Enrolment Stage & Source are category & Series groups respectively.Can we get the same design in SSRS also ?

Thanks,

Sam.


adding database image in ssrs

$
0
0

Hi Friends,

I have a report where i have to display student photo which is coming from the database field.when i run the report with that image it is giving below error 

after googling i found one suggestion to restart the 'Net.Pipe Listener Adapter' in local machine,but it requires a restart for couple of times and have to close the ssrs solution.If i rerun the report it works for some time and the above mentioned issue is reoccurring.did any one came across this problem or any suggestions are appreciated.

Thanks,

Sam

Timetable clash logic in ssrs

$
0
0

Hi Friends,

I am working on one requirement where i have to display 'clash' or 'no clash' message based on different time table conditions for a staff.

1) If we have different rooms booked for the same period for one staff then 'Clash'

Ex data :

Room      Period     Staff 

100           1           A

101           1           A

2) There is a chance of having blank room along with other room then 'clash'.Here blank space can be considered as a room.

Ex data :

Room      Period     Staff 

100           1           A

100           1           A

                 1           A

3) There is a chance of having blank room along with other room then 'clash'.Here blank space can be considered as a room.

Ex data :

Room      Period     Staff 

100           1           A

100           1           A

                 1           A

                 1           A

'No clash' conditions

1) If we have same room for the same period then 'No Clash'

Ex data :

Room      Period     Staff 

100           1           A

100           1           A

2) If we have two blank rooms for the same period then 'No Clash'.Here blank means room.

Ex data :

Room      Period     Staff 

                1           A

                1           A

I have to fulfill all the logic's in the same report.Please help me to solve this.

sample report:

Thanks in advance,

Sam. 


SQL Reporting Services Time Formatting

$
0
0
SSRS2008
I have a table with a datatype time(0). 
When I have it displayed in reporting services it is in the format hh:mm:ss
I want it to be formatted hh:mm tt.
I have tried using the formatting built in textbox properties but it does not change the formatting.
When I try to use an expression =Format(Fields!time.Value,"hh:mm tt") it returns #error.
Please help me
Thanks
Joe

SUM of selected rows

$
0
0
  

 Hi,  My requirement is to have totals in the last row of the report. At the end of the report, I need to have individual totals of the  infant, SchoolAge, PreSchool and Toddlers. From Below, I have total School Age = 19 and Pre-School = 4. How to get those values in the last rows ? Basically I m trying something like =IIF(Fields!Child_Age.Value = "Infant", SUM(Fields!ID_Children.Value), 0). But no luck! Please advise on this, Any help is greatly appreciated! 

  

 

Limit report from being exported to excel

$
0
0
We have a report that we do not want to be able to be exported to excel. Is there a way, just on one report to limit the types it is exported to
DBA

SQL Server 2008 R2 SP2 Report Services - Unable to connect to Remote Server

$
0
0

Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64)  Jun 28 2012 08:36:30   Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)

  1. Web Server installed as required for Report Services
  2. Install SQL Server R2 with Report Services
  3. Set up Report Services for SQL Server
  4. http://eagnmnsg4cd/Reports/Pages/Folder.aspx    : Cannot Connect to remover Server error

From Report Services Log: D:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles

ui!ReportManager_0-3!860!10/24/2013-09:50:26:: e ERROR: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it ::1:443

   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)

   --- End of inner exception stack trace ---

I have looked at other posts and so far cannot resolve issue.... Have a log file if needed... but doesn't look like I can post it here.

Reda


Reda Sheinberg


ssrs 2012 rdls

$
0
0

I am creating 6 to 12 new ssrs 2012 reports that are all related to each other. I would like to place all the rdls into one solution. When I create the first rdl, a solution file will automatically be generated. However when I create the second rdl, I want to place the 2nd rdl into the area where the 1st rdl is accessed by a solution file.

Thus can  you tell me and/or show me how to add the second, third, etc rdl files to a solution where the first rdl was located at?


Link a column to multiple reports

$
0
0

Newbie to SSRS,

  I was able to setup links with a switch statement; but I wanted to drilldown to reports with a different column.

    product_Type (Agric_products, Chem_products, etc.) established a switch here

    Wanted to drilldown down to reports using product-Id

SSRS Error while executing the report

$
0
0

Hi,

dataextension!WindowsService_0!7d4!03/09/2015-11:21:04:: e ERROR: Throwing Microsoft.ReportingServices.DataExtensions.XmlDP.XmlDPException: , Microsoft.ReportingServices.DataExtensions.XmlDP.XmlDPException: Failed to execute web request for the specified URL.
Internal Server Error: The remote server returned an error: (500) Internal Server Error. ---> System.Exception: The remote server returned an error: (500) Internal Server Error.

i can see the above log in reporting services log files, does anyone having the idea about this?

Thanks

Veera


Thanks
Veera

Questions on SSRS migration options.

$
0
0

Greetings. I've done some googling and still have some questions on SSRS migrations.

I need to migrate three windows 2003/ 2005 SSRS instances to a windows 2008R2/ SSRS 2012 instance.

I was eyeballing the Installation Wizard referenced here. Per this doc, this is quite possible:

 

Editions and Versions You can upgrade

SQL Server 2012 Setup provides upgrade support for the following earlier editions of Reporting Services:

  • SQL Server 2012.
  • SQL Server 2005 Reporting Services SP4………..

 

Note that this doc doesn’t mention anything about OS specific versions.

This doc also mentioned running the Upgrade Advisor, which I was planning on doing. However, before doing this I then stumbled upon this doc, which clearly states:

Prerequisites for installing and running Upgrade Advisor are as follows:

  • Windows Vista SP1, or SP2, Windows 7 and Windows Server 2008 R2.

 

So the way it looks is that I can do the actual upgrade using the Installation Wizard, but I can’t run the Upgrade Advisor due to the OS being 2003. This seems odd.

Can someone please confirm/ deny this?

 

 


Thanks in advance! ChrisRDBA

SSRS SQL date order off if cross-year

$
0
0

(Hello, this is cross posted in the Dynamics crm function but here in case anyone knows has seen a similar situation outside of CRM):

We have situations where using SSRS and SQL on premise, we order by after several unions (set up in proper alignment) by 'createdon' which is type 'datetime.'

However a user is complaining that when the date is 'cross-year' in the start date and end date parameters, the order is off.  Here is an example of one of the report fetch queries:

----
--declare @StartDate as datetime
--declare @EndDate as datetime

--set @StartDate = '07/1/2014'
--set @EndDate = '7/30/2014'

SELECT        sc.CreatedOn,sc.CreatedByName, CONVERT(nvarchar(10), sc.xxxbase_SalesCallDate, 101) AS xxxbase_SalesCallDate, sc.xxxbase_accountidName, a.Address1_City,
                         a.Address1_StateOrProvince, sm.Value AS xxxbase_accounttype, null as xxxbase_productidName, null AS 'Estimated Sales',
                         sc.xxxbase_Description, NULL AS mileage, 'Sales Call' AS ReasonCode, sc.xxxbase_salescallId
FROM xxxbase_salescall AS sc
left outer JOIN Account AS a ON sc.xxxbase_accountid = a.AccountId
LEFT OUTER JOIN StringMapBase AS sm ON sm.AttributeValue = a.xxxbase_AccountType AND sm.AttributeName = 'xxxbase_accounttype' and sm.ObjectTypeCode = 1
WHERE        (sc.xxxbase_SalesCallDate BETWEEN @StartDate AND DATEADD(dd, 1, @EndDate))

UNION ALL

SELECT        CreatedOn,CreatedByName, CONVERT(nvarchar(10), xxxbase_weekof, 101) AS date, '' AS Expr1, '' AS Expr2, '' AS Expr3, NULL AS Expr4, '' AS Expr5, '' AS Expr6,
                         NULL, xxxbase_TotalWorkMiles, 'Mileage' AS Expr8, null
FROM            xxxbase_Mileage AS m
WHERE        (xxxbase_weekof BETWEEN @StartDate AND DATEADD(dd, 1, @EndDate)) AND (xxxbase_TotalWorkMiles IS NOT NULL)

UNION

SELECT       nst.CreatedOn, nst.CreatedByName, convert(nvarchar(10),nst.xxxBase_Date,101) as [date] , null, Null, Null, Null,
                         '' AS Expr1, '' AS Expr2, nst.xxxBase_Comments, NULL AS Expr3, sm.Value, null
FROM            xxxBase_NonSalesTime AS nst
LEFT OUTER JOIN StringMapBase AS sm ON sm.AttributeValue = nst.xxxBase_ReasonCode AND sm.AttributeName = 'xxxbase_reasoncode'
WHERE        (nst.xxxBase_Date BETWEEN @StartDate AND DATEADD(dd, 1, @EndDate))

--UNION

--SELECT       wpb.CreatedOn, wpb.CreatedByName, convert(nvarchar(10),wpb.xxxBase_Date,101) as [date] , null, Null, Null, Null,
--                         '' AS Expr1, '' AS Expr2, NULL, NULL AS Expr3, 'Weekly Planner', null
--from xxxbase_weeklyplanner wpb
--WHERE        (wpb.xxxBase_Date BETWEEN @StartDate AND DATEADD(dd, 1, @EndDate))

Order By CreatedbyName, CreatedOn

need to make data driven ssrs subscription?

$
0
0
spent hours on thickets this week
Mike	Monday	2.00
	Tuesday	2.00
Mark
	Monday	3.00
	Tuesday	4.00
Lucy
	Monday	6.00
	Tuesday	7.00
Hello how can I make a data driven subscription which go mike's info to mike only mark info to mark only like that is there any sample code vailable for situation like this sssrs data driven subscription?
Viewing all 10045 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>