Hungry for information about business intelligence? The BI Developer Network (BIDN) contains the best information about bringing business intelligence into your company. Every resource in BIDN is free.

Featured Articles

More Featured Articles

Recent Activity RSS Feed

What's New

  • I was browsing the Microsoft Learning portal over the weekend and came across the following free or dicounted learning resources for SQL Server. Free Resources: Clinic 6188: What's New in Microsoft SQL Server 2008 for Enterprise Data Platform (1 hour)   Clinic 6189: What's New in Microsoft SQL Server 2008 for Business Intelligence (1 hour) Clinic 6190: What's New in Microsoft SQL Server 2008 for Database Development (1 hour) Clinic 6258: New Features Of Microsoft SQL ...
  • Recently I was asked to provide a list of all sql jobs on a certain server running between 2 and 3 in the morning.  We have quite a few jobs and it would be time consuming to look through each to determine the time of day each runs.  So I used the sysjobs, sysjobsschedules tables to return the job name and times the jobs run. There are several jobs related tables in the msdb database: sysjobs sysschedules sysjobhistory sysjobsteps syscategories   The table names are pretty self explanatory.  The...
  • When developing reports that use Analysis Services as a data source end user can sometimes be confused about some of the options they see in report parameters.  Anytime you have a parameter that allows for multiple values to be selected then you will see a (Select All) option that Reporting Services adds that make for an easy way to check off each item in the parameter dropdown.   If you followed most of the defaults when developing you dimensions in Analysis Services you likely also have an opt...
  • Yesterday, I dealt with a client that was having issues converting his dts packages to SSIS 2008. He was using DTS xChange to convert the packages, but each time he tried to run the migration, he received the following error. "Can not load Tasks. Error : Unable to cast COM object of type 'System.__ComObject' to interface type 'DTS.CustomTask'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{10020904-EB1C-11CF-AE6E-00AA004A34D5}' failed d...
  • So I finally got through all the SSIS Class Labs including the Group Labs and decided to figure out why I didn't have AdventureWorks2008. I had previously tried to enable FILESTREAM according to some blogs I had read about it but had no success. Maybe I just understand all this a little better now but when I exactly followed these steps right out of the help file it worked for me: 1. On the Start menu, point to All Programs, point to Microsoft SQL Server 2008, point to Configuration Tools, and t...
  • Many times while working with SSIS I have had issues where I would like to add a temp table to a stored procedure that is a source for my SSIS dataflow. One work around for this is create a temp table variable instead. The issue with this is if many rows are in this temp variable the performance can be severely degraded. So the other day I was searching for workarounds and found this link http://www.sqlservercentral.com/articles/Integration+Services+(SSIS)/65112/ . Here Michael Cape gives a Wack...
  • Package Configurations in SSIS are key to making your packaged portable across the entire development process.  The problem you being to face with configuration files is the quantity that you collect.  Recently I was working on a project where we had pacakge level configurations as well as a configuration for each connection.  In order to to updates on this would have taken a very large amount of time, especially since I had to make configuration files for dev and production.  I opted to go with...
  • There are a number of ways that you can calculate dates using T-SQL.  A common practice is to find the first day of the week which can be accomplished easily by using the following function.select DATEADD(wk, DATEDIFF(wk,0,getdate()), 0)However, you will notice that this returns the date for Monday as SQL Server uses Monday for the start of the week. If your week starts on Sunday or you need to get the date for the previous Sunday you can simply modify the DATEADD part of the query from adding z...
  • Today I figured I go back to basics with this blog since a majority of the visitors to this site are primarily DBA's and Database Guru's. This may turn into a series but for now we will discuss a bit of a feared power of sql server, and that is the fact that sql server in fact sits on top of the .net framework. This allows it to access its immense power and array of options that one just couldn’t do efficiently using traditional tools, in both the BI Stack and SQL’s T-SQL function library. This ...
  • During a T-SQL class that I was recently teaching I was asked if a PIVOT could be performed using a Common Table Expression (CTE).  In other words, instead of using the method outlined in SQL Server Books Online that uses a derived table, replace the derived table with a CTE.  I have never attempted this approach, but I was confident that it could be done.  Using the AdventureWorks database I initially wrote a T-SQL PIVOT statement that uses a derived table, which is as follows: USE AdventureWor...
  • I'm trying to format the background color of some cells/text boxes in a report based on the current Hidden (Visible? Toggle? I'm not sure the right term) property/status of a Row Group (or it could be some other object--e.g., text box--in the report). I put a document with screenshots and annotations at http://www.christianbahnsen.com/ssrs_conditional_formatting.pdf The document may help better explain what I'm trying to accomplish.Essentially it boils down to being able to determine whether a g ...
  • Trying using netstat -ano on the command line to see what all is trying to use port 80. You may have other applications that you don't know about that are using the default port. You could also just quickly change the port to something like 8080 in the report configuration to test.
  • You can do one of two things. You can do this with a script task and read in each line. Or you can set up a data flow and read in the entire line as one column. Then use a derived column transform to do the find replace on the entire line. Write this data to a staging flat file and read that in your regular data flow.
  • Hi Ed and Adam, Adam, I'm very interested to see your article when it is available. Ed, Here is my two cents. We use an Agile methodology that iteratively gathers requirements as the the system is developed and users understand the the capabilities of the system. The Agile SDLC diagram in this link does a pretty good job of describing the project flow. http://www.agiledata.org/essays/dataWarehousingBestPractices.html As you know a traditional waterfall model doesn't work well for BI because it d ...
  • Hi Scott, I think you were right to start with but are unsatisfied that the Phone intersection shows a value. Your expression is dead on but may need a little tweaking. - In your example the All member if using ([DimOrderType].[OrderTypeDesc].currentmember,[Measures].[FactOrder Count]) will be 15 and this is not what you want- Your original solution is correct for [DimOrderType].[OrderTypeDesc].&[Internet] and is 5- Your want [DimOrderType].[OrderTypeDesc].&[All] to be 5 for this calculated meas ...
  • Hi, Have you checked the CPU, memory, and Disk I/O Metrics on the server using Task Manager or Performance Monitor? You may override the default member with NULL and see if that speeds up your initial connection CREATE MEMBER CurrentCube.[MEASURES].NullMember AS null, VISIBLE = 0; ALTER CUBE CurrentCube UPDATE DIMENSION Measures, DEFAULT_MEMBER=[MEASURES].NullMember; Then run the Profiler to see what its do in SSAS A good resource is http://download.microsoft.com/download/8/5/e/85eea4fa-b3bb-442 ...
  • Hi Patrick, Not sure of the specifics of your user-defined Products hierarchy but you might be able to do something like this in your cube's MDX script. CREATE MEMBER CurrentCube.[Measures].[Level Specific Calculated Member] AS NULL; //Overwrite SKU level SCOPE([Measures].[Level Specific Calculated Member] , Descendants ([Product Dim].[Product Hierarchy] ,[Product Dim].[Product Hierarchy].[SKU] ,SELF)); this = iif([Measures].[QoH]-[Measures].[arws]<0,([Measures].[QoH]-[Measures].[arws]),NULL) ...
  • One more thing Dustin, I was assuming in my post that you created a grade dimension (0-100). Typical I would think of a grade as a measure Regards, Luke
  • My impression is that its self service optimized for large data sets. In the past we have found limitations with Excel's ability to handle this (around 1 million records). PowerPivot exceeds this significantly. It also allows the ability create calculated columns and so on. The true value I see is integrating it into a collaborative tool such as SharePoint where the users do not have to have excel installed locally to do analysis on data allowing you to govern your solution and minimizing suppor ...
  • nitya said: Check into SVN using Tortoise Client from Explorer each time we make a change. My IT team uses SVN as well. I only wish it could work with VS2005 like Source Safe. Tonja B
  • The 171 is the lineage id of one of the columns. One of the columns may have changed during the building process. Try remapping the columns in the input columns. But why are you using a script task? Why not use the OLEDB command transform?
  • I was able to get it working by changing the variable "TgtPath" from \\dbserver\c$\staging to \\dbserver\staging . Since my SQL Agent runs under a plain vanilla domain account which is not in the Administrator's group, the agent can't use the Administrative share "C$". However, I can't explain why when I am signed in as the sql agent account on the db server, I can use C$ both in windows explorer and in batch files (e.g this works: "move \\ftpserver\FTP\file.txt \\dbserver\c$\staging\file.txt ") ...
  • The OLE DB provider may have extra registery entries that exist for the users profile. If you install the full application as the MSRS user and configuerd the applications DB connection, it should validate the connection and the report should work.
  • Was it SSIS naming conventions? He was probably refering to Jamie Thomson's blog here http://consultingblogs.emc.com/jamiethomson/archive/2006/01/05/SSIS_3A00_-Suggested-Best-Practices-and-naming-conventions.aspx .
  • I will be trying my scenario based on the below url: http://blogs.msdn.com/sqlperf/archive/2007/05/11/implement-parallel-execution-in-ssis.aspx I think this solution will work for me, I will have to test this though... :)
  • If you create a subscription you will then find a job on the SQL Server Agent of the reporting services box... While the RS Interface doesn't seem to have the ability for last day of month the sql server agent schedule does so you can just try changing it in the job after it is created in the web inteface... Hope this works for you.
  • The Bids browser is only in BIDS. The browser is just for testing. Excel is much more powerful. You can create charts also.
  • Amy - do you still need this question answered ?
  • Thanks for clarifing your question. Maybe I can answer it better now. On the fact table you have an order id of say 1234, on the bridge table you have 2 rows with the order id of 1234 that map to the sales people Jim and John and there sales rep ids are on the bridge table, which map to a sales rep dim table. Correct? Where are you storing the sales amounts for each sales rep, on the bridge table? If so then you are going to need other rows on the bridge tables to map to the same order id. So yo ...
  • Marocadf, I supplied my crenditals to the Bidn support team and they were able to duplicate my issue tonight, I think they are well underway into fixing this tricky issue. :-) Scott
  • Solid-state technologies are changing the way that MS SQL Server users think about running their databases. Database administrators are discovering that the TCO savings associated with radical performance enhancements, reliability improvements and reduced energy and real estate costs of solid-state technologies are leading to changes in the way their datacenters look and how their MS SQL Servers perform.
  • SQLSaturday is a training event for SQL Server professionals and those wanting to learn about SQL Server. This event will be held Mar 27 2010 at Jefferson State Community College, 4600 Valleydale Road, Birmingham, AL 35242. Admittance to this event is free, all costs are covered by donations and sponsorships. Please register soon as seating is limited, and let friends and colleages know about the event.
  • PREMIUM EVENT
    SQL Saturday Auckland
    SQLSaturday is a training event for SQL Server professionals and those wanting to learn about SQL Server. This event will be held Apr 10 2010 at Wolters Kluwer, 41 Centorian Drive, Mairangi Bay' North Shore, Auckland . Admittance to this event is free. All costs are covered by donations and sponsorships. Please register soon as seating is limited, and let friends and colleages know about the event. More details will be posted on the website closer to the date.
  • PREMIUM EVENT
    SQL Saturday
    SQLSaturday is a training event for SQL Server professionals and those wanting to learn about SQL Server. This event will be held Apr 17 2010 at Holidy Inn Elk Grove Village, 1000 Busse Rd, Elk Grove Village, IL. Admittance to this event is free, all costs are covered by donations and sponsorships. Please register soon as seating is limited, and let friends and colleages know about the event.
  • PREMIUM EVENT
    SQL Saturday 44
    Free Day long event with various presentations by several MVP's
  • Jump on this opportunity to join an exciting and growing MVP Business Intelligence Firm! Pragmatic Works is searching for a Business Intelligence Trainer to deliver innovative mentoring solutions with the Microsoft framework. Job Description Pragmatic Works is searching for a Business Intelligence Trainer/Mentor with experience delivering end to end training and solutions with the Microsoft framework. The candidate must possess the following credentials: ○ 5-6 years experience training/mentoring ...
  • This entry level position supports the Pragmatic Works products (Task Factory, BI xPress, DTS xChange and BI Documenter). Must have good written and communication skills. Must be comfortable demoing products and speaking to a group of professionals. Prior knowledge of T-SQL and SQL Server is a must.
Welcome and Intro to BIDN.com

Quick Vote

Where do you spend most your time?

   
Business Intelligence Developer Network (BIDN.com) on Facebook