Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set row value from data #113

Closed
goldalworming opened this issue Jan 9, 2014 · 4 comments
Closed

set row value from data #113

goldalworming opened this issue Jan 9, 2014 · 4 comments

Comments

@goldalworming
Copy link

Hi, I'm a bit confuse about display data in pivottable
rows: [
{
NO: "1",
NAME: "2BKS000238/2BKS-JTN0101-0810BI",
VENDOR: "Research In Motion",
CNT_CLIENT: "11",
HIT_AUTH: "25",
HIT_ASOC: "0",
CLIENT_AUTH: "11",
CLIENT_ASOC: "0"
},
{
NO: "2",
NAME: "2BKS000238/2BKS-JTN0101-0810BI",
VENDOR: "Liteon",
CNT_CLIENT: "1",
HIT_AUTH: "1",
HIT_ASOC: "0",
CLIENT_AUTH: "1",
CLIENT_ASOC: "0"
},
{
NO: "3",
NAME: "2BKS000238/2BKS-JTN0101-0810BI",
VENDOR: "Unknown",
CNT_CLIENT: "5",
HIT_AUTH: "5",
HIT_ASOC: "0",
CLIENT_AUTH: "5",
CLIENT_ASOC: "0"
}
]

is it possible to create table like this

----------------------------CNT_CLIENT | HIT_AUTH | HIT_ASOC | CLIENT_AUTH | CLIENT_ASOC
Research In motion 11 | 25 | 0 | 11 | 0
Liteon 1 | 1| 0 | 1 | 0
Unknown 5 | 5 | 0 | 5 | 0

@nicolaskruchten
Copy link
Owner

It will not be possible to build such a table with this library unfortunately. The types of tables you would be able to build would have, say, the values of the Vendor attribute down the side like you do here, but then the values of, say, the CNT_CLIENT attribute across the top, and a single aggregated value in each cell.

What you are looking for would involve having multiple aggragators, which is an often-request feature.

@goldalworming
Copy link
Author

how many number of record pivottable could handle so count work fine without performance issue??

how about implement #30 ?

@nicolaskruchten
Copy link
Owner

I doubt that #30 will be implemented particularly soon, to be honest.

Regarding the performance question, it depends on the nature of the data, how you're loading it and your hardware, but I would say up to a few tens of thousands of rows is safe, and a hundred thousand is close to the limit. Your mileage may very.

@goldalworming
Copy link
Author

ok, but display so much data would bad in load data..
I hope multiple aggregators would be implemented as soon as possible..

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants