BI Blogs

Bringing together Business Intelligence voices from across the web

Using The SQL MODEL Clause To Generate Financial Statements

Posted on the June 30th, 2005. Read times

Source: Mark Rittman's Oracle Weblog [link]

One of our clients that I worked at recently had a rather tricky report that
they wanted me to help with. At present, the report was put together using
Excel, and looked something like this:

The report consisted of two sections, the top section being the actual,
budget and variance figures for a department, and the bottom section being a set
of percentages based on the top section. The first line of the report, net
sales, was a memorandum item detailing the net sales for the department. The
next two lines, gross profit and other income were then added together by a
spreadsheet formula to give the next line, total net income. Next, wage costs,
rent costs and other costs were totalled to give total costs, with the figure
for total costs then being subtracted from total net income to give net
contribution. The percentages at the bottom of the report were then calculated
using these figures. Finally, variances were calculated, again using an Excel
formula, for each of the line items.

As well as producing a report for each department, the client also wanted to
produce another copy, this time for the company as a whole and derived from the
figures in the department level reports. The figures in the top half of the
report would need to be summed, whilst the percentages in the bottom half would
need to be averaged.

The client had tried to produce the report using Discoverer and an account
hierarchy, but the figures wouldn’t add up properly. Fundamentally, you can’t
(easily) produce this sort of report in a tool like Discoverer because of all
the inter-row calculations that are going on - the figures for row 4 are the sum
of row 2 and 3, the figures for row 12 are the sum of rows 5 to 7 divided by row
1, and so on. Now they could write some PL/SQL code that would load the data
into a PL/SQL collection and then process each figure individually, but a
thought that came to mind when we were discussing it was to try out the new SQL
MODEL clause.

For the full article, read on here.

Measure Expressions

Posted on the June 30th, 2005. Read times

Source: Chris Webb's BI Blog [link]

I know this blog has been rather light on useful content (as opposed to links) recently, and I’m sorry - it’s not that I’m not learning anything new, I am, but much of it is going into my chapters for MDX Solutions 2E rather than on here. I’ll try to get round to blogging about stuff like the HAVING clause in MDX and the MemberValue() function sometime soon if I can do so without giving away all the juicy information that you’ll want to buy the book for, and if Mosha (or even BOL) don’t beat me to it…
 
But here’s a cool cube design feature that doesn’t cause any conflict of interest for me - measure expessions. The easiest way to explain what they are is to explain one scenario where they’re useful. In AS2K, if you’ve tried to model currency conversion, you’re probably aware that you need to multiply the measure values in your main fact table by the currency rate before any aggregation of the resulting values takes place. You then have two choices for your cube: either precalculate the values in the fact table itself or in a view, which leads to much faster queries but also much bigger cubes, and which means the rates can’t then be altered without reprocessing; or do the currency conversion at runtime using MDX, which generally leads to slower queries but which allows users to change the currency rates dynamically (for example using writeback). Neither of these options are exactly ideal so in AS2005 measure expressions offer a kind of halfway house - they are calculated at query time and yet are much faster than the equivalent MDX, but the price you pay is that they are nowhere near as flexible as calculated members in terms of the calculations you can define.
 
So what does a measure expression look like and where do you set it? In Visual Studio, in the cube tab of the cube editor, you’ll see the MeasureExpression property in the properties pane when you highlight a measure. Click on this and you get a text box where you can enter your measure expression. This has to be of the form
M1 op M2
where M1 is a measure from the same measure group as the measure you’re currently editing, M2 is a measure from a different measure group which shares at least one dimension with the current measure group, and op is either the * or / operator. Here’s an example:
[Measures].[Sales]*[Measures].[Currency Rate]
In previous builds AS has been very picky about having square brackets around the measure names and things like that, so if you’re trying this yourself make sure you copy the above example very closely. There are several other restrictions too, such as the fact that neither of the measures can be distinct count measures, so you can see that your options here are quite limited. That said for most scenarios they should offer all the flexibility you need to do the job.
 
How much faster are they than normal MDX, then? That’s the million dollar question, and I have to say that I don’t know yet. Even if I did I’m sure there would be some clause in the beta licence that stopped me from publishing performance data, and anyway it’s not fair to test performance on a product that hasn’t been released yet. Hopefully it will make a big enough improvement to make the headaches that accompanied this kind of requrement in AS2K a thing of the past. If anyone else out there has used this functionality and would care to share their experiences I’d be interested in hearing from them…
 
Measure expressions also allow you to do some really cool things with many-to-many dimensions too, but I’m going to save that for a future blog entry; this one’s already long enough.
 

Sun To Buy SeeBeyond For $387 Million

Posted on the June 29th, 2005. Read times

Source: Intelligent Enterprise [link]

With this deal, Sun hopes to increase its integration expertise and product portfolio.

HotStatus Enterprises Announces Tools for SOX Compliance

Posted on the June 29th, 2005. Read times

Source: Intelligent Enterprise [link]

Company points out that many organizations are still not compliant with regard to their supply chain.

ThingMagic Supports Sun in Demonstration of New RFID Software

Posted on the June 29th, 2005. Read times

Source: Intelligent Enterprise [link]

Demo at JavaOne to show how intelligent RFID readers can enable greater levels of sophistication in processing information.

Public Beta of SQL Server 2005 JDBC Driver Available for Download

Posted on the June 29th, 2005. Read times

Source: Intelligent Enterprise [link]

On June 24, the Microsoft SQL Server team announced the public beta availability of the SQL Server 2005 JDBC Driver, a new and fully supported JDBC driver for SQL Server 2000 and SQL Server 2005.

Open source calling | InfoWorld | Column | 2005-06-28 | By Chad Dickerson

Posted on the June 29th, 2005. Read times

Source: OLAP/BI/IM stuff [link]

Open source calling | InfoWorld | Column | 2005-06-28 | By Chad Dickerson: “I am running out of options for areas in my IT operation that legitimately shouldn?t be open source. Operating system? Linux works like a champ. Web server? If you?re not running Apache at this point, what are you doing? Database layer? MySQL scales fine for most Web-based apps, and basic master/slave software clustering for it is free, which can save roughly six figures over a commercial solution if you?re running more than a couple of database servers. App server? JBoss (Profile, Products, Articles) if you want Java, or you could just use PHP running on Apache, among many other choices. “

Oracle revenue jumps 26 percent in healthy quarter

Posted on the June 29th, 2005. Read times

Source: OLAP/BI/IM stuff [link]

Update: Oracle revenue jumps 26 percent in healthy quarter | InfoWorld | News | 2005-06-29 | By James Niccolai, IDG News Service: “Ellison argued that Oracle is growing its database business at the expense of IBM, its main rival. He pointed to recent market share reports from IDC, Gartner, and Morgan Stanley, all of which show Oracle gaining share. ‘We believe people are moving from mainframes and large-scale systems to Oracle grid,’ he said.

Still, Gartner’s figures show Microsoft, while still in third place, growing its database business fastest of all.”

Multiple DISTINCT COUNT measures in SSAS 2005

Posted on the June 29th, 2005. Read times

Source: SQL BI [link]

Analysis Services has a limitation of one distinct count measure for each measure group; in the past, it was a limitation for the single cube. Each distinct count measure cause an ORDER BY clause in the SELECT sent to the relational data source during processing. I’d like a different approach, but probably this is already a good compromise between all the needs.

Now in SSAS2005 it seems to be a little inconsistency in the user interface of BI Studio. If you try to create a measure group manaully, editor don’t allow you to create more than one measure group from the same fact table. If you use the “New Measure…” context menu (and related wizard) it creates a new measure group for each distinct count measure.

What I’d like to know is if the presence of a distinct count measure in the same measure group containing several other measures cause a performance loss for all the measures similarly to AS2000: in that version I create each distinct count measure in a separate cube, joining all the measures in a single virtual cube; in that way I had no performance loss (caused by potentially less aggregations) when queries contain only “standard” measures. The “New Measure” dialog box creates a new measure group for each distinct count measure. It seems that not very much has changed from the previous version.

JDeveloper is “free”; hoooey!

Posted on the June 28th, 2005. Read times

Source: bayon blog [link]

There have been some posts about this recently, and there’s an official FAQ on OTN. Most Oracle employees are quite excited about the fact that JDeveloper is now “free” and tons of developers will jump on board to really put a lot of momentum behind the tool. The slight of hand that occurred (in the same breath I might add) is that Oracle has completely decimated the biggest selling point of JDeveloper: free runtime license for ADF and choice of Application Server/Database!

Yesterday you could pay Oracle the modest 1k for JDeveloper seats and you got “productivity with choice.” You were paying for features for productive development and this included ADF since that is how JDeveloper delivers most of it’s “productivity.”

Today you get JDeveloper for free and you get “productivity with hooks.” The “productivity” of JDeveloper (heavily based on ADF) is now runtime licensed. In essence, the FREE JDeveloper license is worth far less than the 1k developer seat since ADF now must be licensed in production.

I don’t use JDeveloper for projects; I’ve only fired it up occasionally to measure progress and to check in with my old hat (I used to be a Java developer). So, I suppose I’m not really qualified to rant but I find this a disturbing change that Oracle feels free to change it’s licensing at will after organizations have chosen it with it’s licensing in mind. I understand you can actually “choose” to deploy ADF to other J2EE/DB but now that there’s a runtime license for ADF you might as well run Oracle AS/DB. I see the business wisdom in this new “loss-lead” but it’s crap, I say. What happend to paying for what you want and getting fully functional products?

Perhaps this will be more salient to bayon blog readers: What if Oracle were to license the OWB runtime engine, out of the blue? You can have the OWB seat but now you have to pay per CPU to “run” the code. If someone had chosen OWB over Informatica because of licensing issues what a blow for their investment!

Perhaps those at Oracle can change my mind, and help me understand why JDeveloper customers are not actually getting the shaft in the guise of “a free lunch.” I don’t get it either, no one else has pointed this out yet. Am I way off base here? Send an email through to me to tell me if I’m bonkers.

Project No 2: Business Analytics

Posted on the June 28th, 2005. Read times

Source: OLAP/BI/IM stuff [link]

Project No 2: Business Analytics: “Demand for analytical tools increasingly comes from all departments, from marketing and sales up to the executive suite. In the post-Enron era, top managers in particular need to be able to document and explain the metrics that underlie their decisions, according to Robert Blumstein, a research director at IDC.

‘Distributing analytics to the whole organization has empowered employees to make decisions that in the past they didn’t have the data to make?or might have made in off-handed ways,’ he says.

IDC expects the analytics software market, which includes both basic and more sophisticated predictive tools, to continue to grow from $8 billion in 2003 to $11 billion in 2008, about 8% per year.”

Free Mobile Calls to Anywhere in the World

Posted on the June 28th, 2005. Read times

Source: OLAP/BI/IM stuff [link]

Phil Windley’s Technometria | Free Mobile Calls to Anywhere in the World: “Our Verizon plan allows unlimited calls between our two phones. Now imagine one of those phones (or a third, they cost $9.99 per month each here in Charleston) is attached to a PC back at our house. By calling that phone and using the IPDrum software that ships with the Mobile Skype Cable, I can be linked directly to Skype where I can dial a second call over the computer network. Since the mobile call is free and the Skype call is free, suddenly I can make unlimited mobile calls anywhere in the world. Even more powerful, by linking my Skype and mobile numbers through the IPDrum software, any Skype user anywhere in the world can call me for free. “

Knightsbridge Survey Shows What Business and IT Professionals Want Most from BI

Posted on the June 28th, 2005. Read times

Source: OLAP/BI/IM stuff [link]

Knightsbridge Survey Shows What Business and IT Professionals Want Most from BI: “Corporate action to make good on these intentions appears to be definitive. Seventy-eight percent of respondents said that their company’s biggest information-centric priority in 2005 is to invest in business intelligence or enterprise data warehousing strategy (51 percent) or implementation (27 percent). Furthermore, 46 percent say their company is planning, developing, implementing, or maintaining a business intelligence or data warehouse initiative at the moment; only 32 percent indicated their company is in the investigative stage.

‘Achieving the promise of BI has been long overdue,’ said Roderick Walker, president and CEO of Knightsbridge Solutions. ‘For years, companies have talked about leveraging data to advance their goals, but didn’t take a long-term, iterative approach to get there. Finally, we’re seeing a great deal of momentum and success in major corporations becoming much more analytic as they seek to optimize their business operations.’”

Some good info.

Hyperion y Cognos se ponen las pilas

Posted on the June 28th, 2005. Read times

Source: Mr. BI [link]



Empujados por sus buenos resultados, estas dos compañías se han lanzado a añadir funcionalidades y nuevos productos a su portfolio según este artículo de eWeek. Cognos presentará a finales de Junio (osea ya) el Cognos Performance Management que combina query y reporting, análisis, métricas, dashboarding, gestión de eventos, planificación, portal, modelos de negocio e integración de datos entre otras cosas.
Hyperion por su parte trabaja en el “proyecto avalancha” con el que presentará a finales del verano una primera versión con análisis multidimensional, query y reporting relacional, reporting financiero, métricas, Integración con Microsoft Office, dashboards y scorecards entre otras cosas. La siguiente versión para el verano que viene tendrá una capa de ‘abstracción de datos’ para acceder la información directamente de sus fuentes.
Ambos fabricantes, tienen una gran base instalada y probablemente con estas versiones buscan maximizar su presencia en sus clientes actuales. Para extenderse, dada la proliferación de otros sistemas de BI, lo mejor es conectarse a repositorios de datos existentes frente a la alternativa de duplicarlos por enésima vez en un datamart, Esto ya lo hace dynaSight de arcplan, que se conecta directamente a otros repositorios tan dispares como por ejemplo la capa de negocio de Microstrategy, el motor multidimensional Express de Oracle o SAP

Oracle’s OTN TechBlog: New Podcast on BPEL

Posted on the June 27th, 2005. Read times

Source: OLAP/BI/IM stuff [link]

Oracle’s OTN TechBlog: New Podcast on BPEL: “We’ve just externed a new OTN TechCast (podcast) interview with Oracle BPEL expert Dave Shaffer. Among other things, Dave explains why J2EE developers should care about BPEL, the architecture of a BPEL ‘business process,’ and how a BPEL business process is related to/differs from a conventional ‘Web service.’ Good stuff for people getting started with BPEL.”

OTN also has a podcast. Who knew?

IPv6 Primer

Posted on the June 27th, 2005. Read times

Source: OLAP/BI/IM stuff [link]

The Tech Zone Computer Hardware Reviews

A nice, non-technical primer on what IPv6 is, and why you should care if you are unfamiliar with it. File it under stuff-I-need-to-know-sooner-or-later.

Ballmer: SQL Server in 18 months(?)

Posted on the June 27th, 2005. Read times

Source: OLAP/BI/IM stuff [link]

Ballmer: ‘We’ll catch Google’ | CNET News.com: “Another partner complained of SQL Server’s lack of spatial storage capabilities, saying the database was being beaten by Oracle.

This may be addressed in the next release (of SQL Server) in 18 months, Ballmer said, but conceded he ‘really didn’t know.’ ”

This is from an article about Steven Ballmer’s comments to Australian IT partners within the last few days. 18 months would be a bit…. over schedule to say the least.

Microsoft Architecture Resource Center

Posted on the June 27th, 2005. Read times

Source: OLAP/BI/IM stuff [link]

Microsoft Architecture Resource Center

This was an advertisement all over my Feedster RSS feess. Great information nonetheless. Especially if you want to know what its like to be the architect of a large IT department.

Questions and Answers

Posted on the June 27th, 2005. Read times

Source: Yukon BI by the Hitachi Consulting Yukon Team [link]

As classes have completed, we’ve had more questions rolling in. We’ll attempt over the next few posts to provide some answers from both Reed and Stacia to give a couple points of view.

 

Question:  In the SSIS demos we associate a config file with our package for the one time we are running it.   What is the mechanism for permanently associating the config with a package?  I am guessing it is something in SQL Server Agent, but could not get my Agent Service to start.

[Stacia Misner] when you use DTEXECUI you can associate a config file by selecting it in a dialog box. You can then generate a command-line with arguments that uses DTEXEC that also references that config file. You basically copy/paste that string into a scheduler like SQL Server Agent. I think the final demo in Module 2 should step you through at least the DTEXECUI piece. So there is no such thing as permanently associating a config file with a package in my mind. It’s what you choose to specify at the time of execution – whether through BIDS, DTEXEC, or DTEXECUI. The beauty is being able to use the same package with different config files as needed.

[Reed Jacobson] What Stacia says about adding an argument to specify the config file is definitely true. But I am suspicious (but haven’t tested) that if you put a config file in the same folder and enable configurations and don’t include a run-time argument, then it will use the config file. This would be worth confirming. Also, In Beta 2 (when we wrote the course) DTEXECUI would crash on almost anything, so unless Stacia added a lot to the demo scripts, the demo may not go as far as it can now. In one class, we built the argument string (using DTEXECUI) and then opened a command window and ran DTEXEC, pasting in the argument string from DTEXCUI. It ran beautifully. The next step would be to put the DTEXEC + arguments into an Agent job. The only thing you have to watch out for then is what “user” is running the job and with what credentials.

Ejemplos de aplicación de proyectos de BI

Posted on the June 26th, 2005. Read times

Source: Mr. BI [link]

En concreto en las industrias de comida rápida, banca y seguros en este estudio de Accenture recientemente publicado en DMReview, para el que ha entrevistado a 150 ejecutivos de grandes empresas americanas. La principal conclusión del estudio es que 9 de cada 10 ejecutivos ven el BI como un componente clave para su crecimiento futuro.
Next Page »