Business Query summing

I have a report in Business Objects that is looking good. I then run the same report (I re-created the entire query) in Business Query and it’s not summing up the same way as Business Objects is. In the BO report, it’s summing up the sales for a agent over a period of time. In Business Query it’s showing several rows of data for an agent. If you add the rows, it totals the BO report. The exact same SQL is being generated. Does anyone have a clue why it’s rolling it up in BO and not in BQ?

Thanks,
Christy


Listserv Archives (BOB member since 2002-06-25)

Christy,

Business Query will give you the exact same results as the raw data (Data View) in Business Objects. It does not sum any rows unless it is done in the SQL. Your Business Objects report is obviously summing rows and showing the summarized view. To do the same with Business Query you will have to do subtotals in Excel.

Mike Ciance
HBO


Listserv Archives (BOB member since 2002-06-25)

The better method for reporting is to have the summing take place at the database level. e.g. sum(column_name)

This generates smaller reports and less network traffic.


Listserv Archives (BOB member since 2002-06-25)

Yes, Steve is correct. That’s what I meant by “unless it is done in the SQL”. That way is always better unless you need the details.

Mike Ciance
HBO


Listserv Archives (BOB member since 2002-06-25)

In a message dated Tue, 5 Dec 2000 12:36:56 PM Eastern Standard Time, Christina_Hartman@FORETHOUGHT.COM writes:

<< I have a report in Business Objects that is looking good. I then run the same
report (I re-created the entire query) in Business Query and it’s not summing up
the same way as Business Objects is. In the BO report, it’s summing up the sales for a agent over a period of time. In Business Query it’s showing several
rows of data for an agent. If you add the rows, it totals the BO report. The exact same SQL is being generated. Does anyone have a clue why it’s rolling it
up in BO and not in BQ?

Christina:

You are actually seeing the same data in both places. The difference is that BusObj is automatically summing identical rows. This is a feature that you can turn off by selecting your block and then selecting Format + Table (I assume it’s a table) from the menu.

On the first tab you will see a checkbox with the intuitive text: Avoid Duplicate Row Aggregation. If you check this, then BusObj will display each row of data, just like BQ is doing.

There is no equivalent in BQ, since the data is returned to MS Excel.

As others have mentioned, if you roll the numbers up at the database side you will get identical answers in both BO and BQ.

Regards,
Dave Rathbun
Integra Solutions
www.islink.com


Listserv Archives (BOB member since 2002-06-25)