BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar
Highlighted
BSwid

Contributor

Joined:

Sep 25, 2018

How to stack time series data when the data repeats with different units (double stack?)

In this case sales are first expressed in units and then dollars.  This is a common output format from SAP.

 

Starting file and left.  Goal on the right.

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
GM

Community Trekker

Joined:

Jun 2, 2017

Solution

Re: How to stack time series data when the data repeats with different units (double stack?)

You should be able to use the Stack option from the Tables menu.  Then, after you have selected the columns that you want to Stack into the Stack Columns Box, you will check the Multiple series stack option, which is a check box under the box where you select the columns that you want to stack.  I hope this helps. MG

BSwid

Contributor

Joined:

Sep 25, 2018

Solution

Re: How to stack time series data when the data repeats with different units (double stack?)

https://www.jmp.com/support/help/14/stack-columns.shtml Thank you. The key was to choose Contiguous. It did create two columns for the months. But I can write script to remove that.

2 REPLIES 2
GM

Community Trekker

Joined:

Jun 2, 2017

Solution

Re: How to stack time series data when the data repeats with different units (double stack?)

You should be able to use the Stack option from the Tables menu.  Then, after you have selected the columns that you want to Stack into the Stack Columns Box, you will check the Multiple series stack option, which is a check box under the box where you select the columns that you want to stack.  I hope this helps. MG

BSwid

Contributor

Joined:

Sep 25, 2018

Solution

Re: How to stack time series data when the data repeats with different units (double stack?)

https://www.jmp.com/support/help/14/stack-columns.shtml Thank you. The key was to choose Contiguous. It did create two columns for the months. But I can write script to remove that.