Quantcast
Viewing all 10045 articles
Browse latest View live

how to develope a report with dynamic columns

Image may be NSFW.
Clik here to view.

HI,

This is my SP out put,same this i have to develope a report using SSRS,

here some are the dynamic columns(which are round the color columns)

these columns i am not able to get in my data set,based on filter selection (competitor_id) these columns it will come

for this columns how to develope a report

Regards

Arjun


mallis


Limiting No of rows per page

Hi all,

I have a reporting services report in 2008 I would like to know how to limit the table to show 10 rows per page (note my report has no grouping or anything complex..jus a simple table).

And then for each page show the report headings..

please help me??

what are the various ways to publish ssrs reports for users

what are the various ways to publish ssrs reports for users? Is Report Manager one of the viable options?
 I have been asked to convert few excel pivot reports to ssrs. I am looking forward to help on possible ways how these reports can be accessed by end users?

reporting services executing an sp

is there any way to execute a stored procedure from within reporting services?

I am not referring to selecting data to the report but based on the data, to execute an sp tp perform some task within the db

thanx

david


???

if ds returns no rows, how to test and give out a "no"

Hi all, 

i have t-sql-queries for ms dyn. crm which return no resultsets.

if so, i want to write in report f.e. "No"

i tested many things like "isnothing", "coutrows", etc but i alway get no result.

i think to make it directly in the query, with if exists ... and in the else part i make a 

select "no" as result

.. then in report i look if i have a result / row col "result" with "no" ...

but that will not work.

i hope i explained that correct and someone can help me.

THX, Greets Pit


How do I populate the Year and Previous Year in a SSRS calculated field

I'm calculating the difference between this year and last year sales and using the following equation which is working however, I need to replace the hard coded dates (2012 and 2013) with a formula to fill the value based on the current date. Any ideas?  I tried a couple things and received the error relating to date type and expecting an integer value?

=(Sum(IIF(Fields!Year.Value=2013,Fields!SalesAmount.Value,Nothing)))-(Sum(IIF(Fields!Year.Value=2012,Fields!SalesAmount.Value,Nothing)))

Kevin

Is single value any of the multi values?

I have multi-value parameter of integers.

I want to know if "1" is ANY of the values, does not matter the position.

The following does not work:

=Parameters!ids.Value = 1

... and of course using Value(1) works, but that's dependent on the 1 being in that position.  I need if 1 appears as ANY value in the list.

Thanks!

edit:  If the value isn't in the list, I want to hide a textbox, using a visibility expression.

Power View Matrix with Many to Many relationships

Hi there,

I have a Tabular Model with a couple of Many-To-Many relationships:

1) Table1 - BridgeT12 - Table2 - BridgeT23 - Table3 - FactTable

2) Table4 - BridgeT45 - Table5 - FactTable

I have created Calculated Measures using DAX in the Model to express these relationships above as following:

RowCount_M2M_1:=IF(ISCROSSFILTERED('Table1'[Name]),
CALCULATE(
     [RowCount], 
     'Table3', 
     'BridgeT23',
     'Table2',
     'BridgeT12',
     'Table1'),
[RowCount])

RowCount_M2M_2:=IF(ISCROSSFILTERED('Table4'[Name]),
CALCULATE(
     [RowCount_M2M_1], 
     'Table5', 
     'BridgeT45',
     'Table4'),
[RowCount_M2M_1])

In PowerPivot I am getting the correct figures for a Matrix like this:

Image may be NSFW.
Clik here to view.


But in Power View, it seems it is not able to handle more than one M2M relatinships in the same Matrix, whenever I drag Table 1, the Table 4 becomes unavailable (greyed out) and the same if I drag Table 1, Table 4 is greyed out.


Is there any way to build a Matrix in Power View using the Calculated Measure, the Table 1 in the columns and the Table 4 in the Rows?


Thanks and best regards,
Joss



WebSEAL - SSRS Integration

Hi Community,

We need to integrate WebSEAL (IBM Proxy) with SSRS, and it will be helpful some documentation / reference about it, especially on how credentials are managed between these technologies.

Thanks in advance,
Regards


Top 20 resolved dates which take most time to resolve

i am working on SQL report builder and i have two tables as "incident created date" and "resolved date".

in resolved date table total time taken to resolve the incident.

i have to find top 20 incidents which took highest resolution time.

created date                              resolved date                 ID

20001125 10:25:03                  20001125 12:50:25       SP000546

20001125 10:30:11                  20001125 11:44:54       SP123655

20001125 11:25:32                  20001125 16:24:47       SP456982

20001125 14:11:11                  20001125 17:54:57       SP235568

table formart is like this

kindly any one help me what type of querry i used to figured out this.

Thanks in advance

Regards

M Ahsan

CASE statement in a where clause for multi valued parameter

Hey all,

I have a stored procedure that forms my report body. I have 3 parameters. FromDate, ToDate and Status.

Some of the fields are Id,RedDate,Value,Status

I have declare the params as:

@FDate DATE = NULL,
@TDate DATE = NULL,
@Status = VARCHAR(MAX)

In my select statement I have something like this:

Select Id,Value,RedDate,Case when rf like '%Renew%' then 'R' else [State] End As [Status]  From MyTable
Where
CONVERT(DATE,RedDate) BETWEEN Coalesce(@FDate,RedDate) AND Coalesce(@TDate,RedDate)
OR @FDate IS NULL
OR @TDate IS NULL
And (Case When rf like '%Renew%' then 'R' else [State] End IN
(SELECT VALUE FROM dbo.ufn_Split(@Status,',')) OR '!All' IN (@Status))

Now, RedDate will have value only if st='R', if the value is anything other than 'R', then RedDate value is NULL. That's the reason I have declared the date parameters as NULLS.

Problem is, when I execute my stored procedure by passing the following values it gives me all the results and not the ones that I actually want. Here is how I execute my stored proc:

Exec [dbo].[Test] NULL , NULL, 'A'

So, even if I am passing the value of "Status" parameter as just 'A', still it gives me all the results that include 'R','U','C' statuses as well. I was expecting to get data only related to the Status='A'.

Can someone direct me? When i just pass the "Status" parameter as "A" and no dates, then results are perfectly fine. Looks like, there is an issue with passing NULL dates?

Also, since Statuses like "A", "C", "U" don't have any RedDates, that might be an issue?!

SMTP Error in SSRS in Integrated Mode: The transport error code was 0x800ccc13

First of all I can manually send out emails from the server running SSRS using Telnet over port 25.  And the SMTP server is on the same server running SSRS.

The SharePoint based SSRS Reports are not massive by any means, and I've tested a couple subscriptions on different reports.

Nonetheless when I create a subscription for a SharePoint based SSRS Report (again running in integrated mode), the error message is:  "Failure sending mail:  The message could not be sent to the SMTP server.  The transport code was 0x8000ccc13.  The server response was not available."

Network Service is running the SharePoint - 80 website.

Any thoughts appreciated, thanks.

Create Report using the Table or Matrix Wizard - SSRS 2008 R2

I am connecting to DB2 via OLE DB connection.

When I select the Table or Matrix wizard, The Design a Query window is not available. When I use the wizard to create reports against SQL Server, theDesign a Query wizard is available. This window allows me to pick and choose the tables or views that I want to included in my report.

I either have to manually enter a SQL script or select a stored procedure. Is this feature not available because I am connecting to DB2 thru OLE DB?

Change line color?

I'm having trouble with an expression. I'm trying to change the color of my lines in SSRS. I really just want to make the field RunningTotalThisYr orange, RunningTotalLastYr black, and Goal red. (As a side note, I'm just using "Goal" to put a threshold line to see how close we are to meeting our goal). Here's what I've tried:

=Switch(Fields!RunningTotalThisYr.Value > 0, "Orange", Fields!RunningTotalLastYr.Value > 0, "Black", Fields!Goal.Value > 0, "Red")

Here is the dataset:
Image may be NSFW.
Clik here to view.

Here is the result:

Image may be NSFW.
Clik here to view.

Any help is appreciated :-)

Report Parameters in Report Builder

Hello

I am not sure to be in the correct forum so please don't hesitate to put this topic somewhere else.

In Report Builder 3.0, when I add a parameter.

Then go to "Report Paramter Properties" --> Available values --> Specify values

I would like to be able to add a value with multiple choice.

I know that I can activate "Allow multiple values" but this is not what I am looking for.

I want to be able to select one unique parameter "Label" that will include several values.

In the fonction I tried:

= value1 , value2, value3

= value1 Or value2 Or value3

It might be a syntax problem

Thank you for your help


Questions regarding showing cells in different colours depending on value within a Matrix

Hi

I have a few questions regarding Microsoft SQL Report Builder. 

The monthly fees report includes a section stating how much we have billed for the month it was run so say in this instance 82k it also shows the same month for the previous two years. Can we show them figures (76k and 68k) in black or red depending on if they are more or less than the current month total?

Report can be viewed here to show the layout and figures.

This would be a visual indicator to say it the department has performed better or worse this year.

The fee report also takes a long time to run due to the amount of datasets within the report and I was wondering if I could reduce that amount with more generic datasets that are then defined within the matrix?

For example I currently use the following for one dataset

SELECT
  Practice.ibvStaffCategorisation.StaffId
  ,SUM(Practice.ibvStaffTime.NonChargeableAmount) AS Sum_NonChargeableAmount
  ,SUM(Practice.ibvStaffTime.NonChargeableMinutes) AS Sum_NonChargeableMinutes
FROM
  Practice.ibvStaffCategorisation
  INNER JOIN Practice.ibvStaffTime
    ON Practice.ibvStaffCategorisation.StaffInternalId = Practice.ibvStaffTime.StaffInternalId
WHERE
  Practice.ibvStaffTime.Activity IN (@Holiday)
  AND Practice.ibvStaffCategorisation.StaffId IN (@ABSStaff)
  AND Practice.ibvStaffTime.[Year] = @Year
  AND Practice.ibvStaffTime.Period = @Period
GROUP BY
  Practice.ibvStaffCategorisation.StaffId

I then have another dataset

SELECT
  Practice.ibvStaffCategorisation.StaffId
  ,SUM(Practice.ibvStaffTime.NonChargeableAmount) AS Sum_NonChargeableAmount
  ,SUM(Practice.ibvStaffTime.NonChargeableMinutes) AS Sum_NonChargeableMinutes
FROM
  Practice.ibvStaffCategorisation
  INNER JOIN Practice.ibvStaffTime
    ON Practice.ibvStaffCategorisation.StaffInternalId = Practice.ibvStaffTime.StaffInternalId
WHERE
  Practice.ibvStaffTime.Activity IN (@AgreedLeave)
  AND Practice.ibvStaffCategorisation.StaffId IN (@ABSStaff)
  AND Practice.ibvStaffTime.[Year] = @Year
  AND Practice.ibvStaffTime.Period = @Period
GROUP BY
  Practice.ibvStaffCategorisation.StaffId

And the only thing that changes is the Pactive.StaffTime.Activity IN. What I was hoping to do is create a generic dataset and then have the cell within the matrix that only showed Practice.ibvStaffTime.Activity IN (@AgreedLeave) for the “Agreed Leave” column and likewise Practice.ibvStaffTime.Activity IN (@Holiday) for the “Holiday” column.  I think the answer will be no but I thought it was worth asking in the hope of reducing the time it takes to run the report.

Any advice appreciated.


Cheers Chris


Report Layout Achievable?

Hi,

Can anyone help me to achieve below layout in SSRS?

Actual
Data1Count11
Count 22
Total3
Data2Count11
Count 22
Total3
Data3Count11
Count 22
Total3
Data4Count11
Count 22
Total3
Data5Count11
Count 22
Total3
TotalCount15
Count 210

 

In the above layout, the middle column has fixed headers with a sub total and finally has a Grand total. Which control can be used to achive this format? Because the middle column contains fixed labels.

SSRS - Reports

Hi Guys,

I need below information for some POC..

1. Is it possible to view SQL Server SSRS 2005 RDL's in Report Server/ Report Manager 2008

2. Is it possible to install SQL Reporting Service 2005 in Windows Server 2008.

Thanks in Advance.

Regards

Balamurugan.R


Balamurugan

Report Server (MSSQLSERVER) cannot load the SQLPDW extension

Lookup

Hi

I am using SQL2008 and am new to Report writing

I have 2 datasets:

DataSet # 1 Admissions

DateSet # 2 Referrals Placed

I am trying to create a report using  patient account # in DataSet#1 and looking up in DataSet # 2 the Name of Referral Placed Provider

I am having trouble with Lookup Syntax

=Lookup(Fields!Admission_Account_Number.Value,Fields!Account_Number.Value,Fields!Placed_Provider_Name.Value,"Placements")

Any auggestions would be greatly appreciated

Viewing all 10045 articles
Browse latest View live


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