first steps -

Discussion forum for PivotCube VCL users. Common questions. Bug and problem reports

Moderator: Alex Zencovich

first steps -

Postby alexhaifa » Thu Nov 30, 2006 8:02 pm

Hello,

I have a table with joins, it will be the fact table.

with these information:

supplier - client - product - date1 - date2 - date3 - date4 - qtd1 - qtd2 - qtd3 - qtd4

I am not getting to display the information in the grid.

supplier
client
products

are my dimensions

the other fields only the column.

What are the first steps to display the rows? where should I start? :?

Thanks very much
alexhaifa
User
 
Posts: 13
Joined: Thu Nov 30, 2006 7:38 pm

Postby AlexZencovich » Thu Nov 30, 2006 8:51 pm

At first you should define dimensions (supplier, client, product) and measures (qtd1 etc) right.

I guess you miss something in dimensions definition (missed Key-Lookup fields data most common error)

Please see demo app source code for that. Also, you may find useful information in Users guide (come with trial package).
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am

Postby alexhaifa » Fri Dec 01, 2006 12:14 pm

ok, I took a look at what you said.

But something I must be doing that my dimension is not appearing.

I am gonna relate my steps:

First I placed my fact table named Fact_sales with joins - I will not have other dataset for each dimmension.

I placed a Pivotcube - pivotmap - grid - column - dimtoobar - coltoolbar - measure.

I linked PivotMap to Pivotcube and the others to PivotMap.

I create two dimension in PivotCube

From the table fact I have a field named client

so, in dimension[0]

Dataset = Fact_sales
Fieldname= client
keyfield = client
lookupfield = client
displayname = clientes

it doesn't appear in my dimesiom tool , why?

something wrong here?
alexhaifa
User
 
Posts: 13
Joined: Thu Nov 30, 2006 7:38 pm

Postby alexhaifa » Fri Dec 01, 2006 12:59 pm

Please, could you take a look at my code?

Unfortunately I am not being able to identify the error.

http://www.infosoftlanguages.com.br/arq ... stoque.zip

there are in this file .pas .dfm .dpr an access database


Thanks very much
alexhaifa
User
 
Posts: 13
Joined: Thu Nov 30, 2006 7:38 pm

Postby AlexZencovich » Fri Dec 01, 2006 2:00 pm

Are you set PivotCube.Active := True?

Your code looks like nothing happened when you run a form.
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am

Postby alexhaifa » Fri Dec 01, 2006 2:28 pm

Yeah, you are right!

it was missing PivotCube.active := true :P
alexhaifa
User
 
Posts: 13
Joined: Thu Nov 30, 2006 7:38 pm


Return to PivotCube VCL

Who is online

Users browsing this forum: No registered users and 4 guests

cron