Jump to content
JasperReports Library 7.0 is now available ×

Is Jasper smart when use aggregate table?


szymic1

Recommended Posts

I have one big fact table 'Calls'  and one dimension table 'Date' with levels Year,Month,Day and measure 'CallDuration'. I add
one aggregation table (using AggName) that aggregate CallDuration per day.
Suppose that for one day I have 100,000 calls and I store 300 days what gives 30 000 000 rows. When I create very simple MDX that displays CallDuration for each day for each year server is using aggregate table what is proper behaviour, but when I want to display CallDuration for each Month  JasperAnalysis  does not use aggregation table (probably it will work when I make one aggregation table where I aggregate CallDuration per month). In my opinion
  JasperAnalysis should sum rows from aggregation table with day's values (it will be definitly faster than calculating sum from whole table) but it does not happen :( Is it possible force JasperAnalysis to use
aggregation table with per day values when it find date for months?

Michal Szymanski
http://blog.szymanskich.net 

Link to comment
Share on other sites

  • 1 month later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...