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

arranging pivot table column #25

Closed
fqlim opened this issue Nov 1, 2019 · 2 comments
Closed

arranging pivot table column #25

fqlim opened this issue Nov 1, 2019 · 2 comments
Assignees
Labels

Comments

@fqlim
Copy link

fqlim commented Nov 1, 2019

Hi, I would like to arrange the column according to the month.

Like, Jan Sales Qty, Feb Sales Qty, Mar Sales Qty, Apr Sales Qty......

And my coding is line by month, as below,

pt$defineCalculation(calculationName="Jan Sales Qty", summariseExpression="sum(X1Qty)") pt$defineCalculation(calculationName="Feb Sales Qty", summariseExpression="sum(X2Qty)") pt$defineCalculation(calculationName="Mar Sales Qty", summariseExpression="sum(X3Qty)") pt$defineCalculation(calculationName="Apr Sales Qty", summariseExpression="sum(X4Qty)") pt$defineCalculation(calculationName="May Sales Qty", summariseExpression="sum(X5Qty)") pt$defineCalculation(calculationName="Jun Sales Qty", summariseExpression="sum(X6Qty)") pt$defineCalculation(calculationName="Jul Sales Qty", summariseExpression="sum(X7Qty)") pt$defineCalculation(calculationName="Aug Sales Qty", summariseExpression="sum(X8Qty)") pt$defineCalculation(calculationName="Sep Sales Qty", summariseExpression="sum(X9Qty)") pt$defineCalculation(calculationName="Oct Sales Qty", summariseExpression="sum(X10Qty)") pt$defineCalculation(calculationName="Nov Sales Qty", summariseExpression="sum(X10Qty)") pt$defineCalculation(calculationName="Dec Sales Qty", summariseExpression="sum(X10Qty)")

But the output as below,

image

@cbailiss cbailiss added the bug label Nov 1, 2019
@cbailiss cbailiss self-assigned this Nov 1, 2019
@cbailiss
Copy link
Owner

cbailiss commented Nov 1, 2019

Thanks for reporting this. It is definitely a bug. I have developed a fix - which will be released soon. I will confirm here after the fix is released.

@cbailiss
Copy link
Owner

cbailiss commented Nov 1, 2019

The fix has been published to CRAN.

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

No branches or pull requests

2 participants