Who is online?  0 guests and 0 members
Home  »  Blogs  »  MikeDavis: May 2010

Communifire Blogs

Blogs RSS Feed

MikeDavis :May 2010 postings

MikeDavis

SSAS Different Dimension Granularity

5/28/2010 by MikeDavis  -  Comments: 3  -  Views: [24300]

In an SSAS cube you sometimes need to connect a dimension at a different granularity than other dimensions. For example, if you have budget measures and actual numbers. If you are trying to budget your expenses you budget at a higher level than the actual amounts. You budget money for groceries, not for Eggs, Milk, and bread. But your actual amounts will be down to the individual items. In the cube browser image below you can see this in use. Notice the budget numbers only show on the category l...

Read More

MikeDavis

Call AS400 program from SSIS

5/20/2010 by MikeDavis  -  Comments: 5  -  Views: [6003]

If you need to call an AS 400 program from an SSIS package this can easily be accomplished with an Execute SQL Task. This can be made even easier with two variables and an expression too. The AS400 program QCMDEXC is usually called using the CALL QSYS.QCMDEXC command. This is then followed by a command like CLRPFM FILE(MDAVIS/APPLSQL). Then this is followed by a ten digit string of numbers that contain the number of characters in the command. Then a period followed by five more zeros. So the com...

Read More

MikeDavis

Convert Address to Spatial Data - Geocoding for SQL Server R2

5/5/2010 by MikeDavis  -  Comments: 0  -  Views: [7368]

If you want to use the new mapping feature in SQL server R2. You may want to get the Spatial data for the address data you have. There are several websites that can do this for you. Here are a few: http://batchgeo.com/ http://www.findlatitudeandlongitude.com/batch-geocode/ http://www.ffiec.gov/Geocode/default.aspx http://geocoder.us/ https://webgis.usc.edu/Services/Geocode/Default.aspx

Read More

MikeDavis

Loop Through Excel File in SSIS

5/4/2010 by MikeDavis  -  Comments: 5  -  Views: [29475]

You can loop through excel files using SSIS. This will use the For Each Loop container and a Data Flow task. First create a variable named strExcelfile as a string variable; you can leave the value blank. Next, drag in a For Each Loop. Set the enumerator to For Each File, and point it to the folder where the excel files exist and type .xls or .xlsx for the file type. In this example the excel files are in c:\test\excelfiles\. Then click on the Variables Mappings node and add the strExcelFile var...

Read More

Page 1 of 1 (4 items)