Jump to content

Cross Table format


Priyank Dwivedi
Go to solution Solved by Fredrik Rosell,

Recommended Posts

Hi All,

I am trying to build a custom cross table as below but reaching dead end on how to configure it.

Base Data Table:

image.png.439ab2894cdcb91c716633d40c120e43.png 

The resultant cross table that I would like to build :

image.png.368928d1f81c2f0a16c877802efa6bf3.png 

Any ideas on how to go about it?

I can use 'Origin' column as the 'Horizontal Axis'.

'<Well NEST Date> as the Vertical Axis.

The challenging part is to know which forecast and gross columns belong to Oil Phase or Gas Phase! Any insights?

Link to comment
Share on other sites

  • Solution

Hello,

Maybe you could simply transform your data into a format more suited for this, basically turning this wide data set with separate columns for each measurement into a "tall and skinny" dataset where you have all the measurements in a single column, and split Phase and Variables into separate columns.

Crosstable.thumb.PNG.645a762ba60c762a69a2aa0f977b6c67.PNGTo get there from the original data, I first added an Unpivot transformation to merge all four gross and forecast columns into a Category and Value column, and then binned the Category column to get the separate Phase and Variables columns, resulting in this format

DataTransformation.PNG.d421a8ecd04d622d73b674557025d26a.PNG 

Link to comment
Share on other sites

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...