MTD,YTD Query
Hi I have parameter Date. I want to generate query that should calculate Sales Data MTD & YTD.Thanks
View ArticleSSRS Report Export to Excel Programatically
How to export to excel in ssrs using asp.net C# programatically
View ArticleExposing Oracle Synonyms / Tables in SSRS
I can set up a connection as a datasource to an Oracle Database Schema. In the Schema. The schema contains synonyms. But when adding a dataset in Report Builder, the Table option is grayed out. I can...
View Article.rdlc Report print when width is more than height automatic landscape mode
Problem: I am using the printer zebra LP 2844 to print labels that I created in asp.net as microsoft Report. The Report has the size: width:7.5cm and height : 5 cm. when I use the print button in the...
View ArticleHow to decrypt data from db in Reportviewer control?
What's the best way to decrypt encrypted data from SQL Server db to Reportviewer control in ASP.NET 2.0 application?Thanks.
View ArticleParameter
Hi In a parameter i want to display Years from 2002 to till current YearThanks
View ArticleHow to progam a page break on a rectangle
My total page display consists of a rectangle with text boxes inside, and a table.How can I get a page break to occur for the rectangle and the table when thegroup changes?(My rectangle is acting as a...
View ArticleDays
Hi IN a report i want if user wants to display report for month of Oct then all days should be display even if there is no Sale on that day and against that day Sale of that day.01.10.2017...
View ArticleYTD Data
Hi I have Month & Year as a parameter. I am able to calculate value for the selected Month & Year . But i want YTD value also. How i calculate YTD period.Thanks
View ArticleSSRS ReportViewer Session Expired
Hi,When using ReportViewer in SSRS we are getting the below error,this happens when result set is huge.Microsoft Reporting WebForms AspNetSessionExpiredException ASP NET session has expired or could...
View ArticleSelect Statement
Hi I have parameter Month & Year . I have written sql like thisSelect Location , (Select Sum(Amount) from Temp where Month(Date) = @month and Year(date) = &year) as MTDfrom Temp ANow i want...
View ArticleCdate is not a recognised function name
Hi I have written below line but it is giving above errorSelect A.[Name],(Select Sum([Amount]) FROM Test WHERE [Date] >= CDATE(@Year-1 + '/04/01')) AS [YTD],from Test AThanks
View ArticleError Incorrect Syntax Near
HiSELECT A.[Location], Case @Month When <=3 Then (Select Sum([Amount]) FROM Test WHERE [Date] >= Convert(varchar,@Year-1 + '/04/01',111))End AS [YTD]FROM Test AS AThanks
View ArticleConvert in Sql Query
Hi How the below code works in select statement. What the Convert statement doesConvert(Varchar,2017 + '/04/01' , 111) and Convert(Varchar, @Year + '/' + @Month + '/' + '30' , 111) as YTDThanks
View ArticleConversion failed when converting varchar value '04/01' to datatype int
HiSELECT A.[Location], Case When @Month <= 3 Then (Select Sum([Amt]) FROM Temp WHERE [Date] between Convert(Varchar, @Year-1 + '/04/01' , 111) and Convert(Varchar, @Year + '/' +...
View ArticleInt Parameter
Hi I am displaying values in Month Parameter as 1,2,3,4,5,6,7,8,9,10,11,12.In a report i want to display its Label Value.Thanks
View ArticleSum of Amount
Hi I have data like below . I want if user has entered month = 2 and year = 2016 then it should show sum from Month = 4 , Year = 2015 to Month = 2 , Year = 2016 i.e 10210000.If user has entered month =...
View ArticleHow to get Text boxes and table to stay together on group change?
I'm trying to build a report that would 1) group on doctors, and then 2) subgroup on patients under the doctor in a separate table.In my dream world this would work if I put the Doctor info in the main...
View ArticleResponse Time
Hi I have below query in SSRS and it takes approx 6-7 min. There are more than 1 crore records. Can we improve the query further to reduce response time<div style="color: #26282a; font-family:...
View ArticleValidate
Hi I have Date parameters Fromdate & Todate. I want to validate ToDate . Its' Month & Year should be same as FromDate.I have written below code but not workingFunction...
View Article