Showing posts with label generate. Show all posts
Showing posts with label generate. Show all posts

Thursday, March 8, 2012

Call Web Service From Script Task

This summary is not available. Please click here to view the post.

Call stored procedure within reporting service

I'm trying to generate a report based on a stored procedure which will
return a result set. The DBMS is Sybase SQL Server.
Can reporting service do it?
Thanks a lot for your help.Create ODBC connection to your sybase file and
create dataset based on ODBC connection
John Wang wrote:
> I'm trying to generate a report based on a stored procedure which will
> return a result set. The DBMS is Sybase SQL Server.
> Can reporting service do it?
> Thanks a lot for your help.

Saturday, February 25, 2012

calendar style report

Is there a way to generate a report that looks like a calendar. If i want to
view a schedule with people assigned to days of the month.I'm working on this problem now and here's what I have so far.
Create a query that has the various date parts as columns in the result set.
As an example:
Select datepart(yy,shipDate) as yearnum,
datepart(mm,shipDate) as monthnum,
datename(mm,shipDate) as monthname,
datepart(wk,shipDate) as weeknum,
datepart(dw,shipDate) as daynum,
datename(dw,shipDate) as dayname,
datepart(dd,shipDate) as datenum,
shipmentID
from shipments
Order by shipDate
Now step through the new report wizard.
Choose the Matrix report layout.
Choose yearnum and monthnum for the page fields
Choose daynum for the column fields
Choose weeknum for the row fields
Choose datenum as the detail fields
This will cause the report to page break on month and year, the columns wii
be by day of week (starting with Sunday), and the rows will be the weeks of
the year.
Once you are at the format tab of your report, change the appropriate number
values to the name values so the column and page headers will be
human-friendly. right click on the datenum detail field and add a row below.
drag-and-drop your shipmentID field into the new row.
A little creative application of borders an you have a pretty good calendar
report.
It works pretty well EXCEPT...
when there is more than one row per date, you will only get the first detail
value. Perhaps someone can shed some light on how to get multiple rows in a
single date box without ruining the format. At this point I'm thinking about
resorting to a stored proc as my query so I can cursor through and create a
single text colum that is a concatenation of all the detail data for that
date.

Friday, February 10, 2012

Calculated Members when generating a report model

I created and deployed calculated member as measures in my cube but when I generate a model in Reporting services the calculated members do not appear? Should they? or did I miss something? Anyone else experience this?

Thank you!

In get calculated members (calculated meaures) to surface in a report model, they have to be associated with a measure group. On the calculations tab in BIDS, click on the Calculation Properties button on the menu bar and then associate each calculated measure with a measure group. Recreate your report model and they should appear along with the measures that belong to that measure group.

HTH,

Dave Fackler

|||

Thank you, that was it! They are there now when I re-generate the model.

Janet