Priyank Dwivedi Posted September 21, 2023 Share Posted September 21, 2023 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: The resultant cross table that I would like to build : 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 More sharing options...
Solution Fredrik Rosell Posted September 22, 2023 Solution Share Posted September 22, 2023 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. To 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 Link to comment Share on other sites More sharing options...
Priyank Dwivedi Posted September 22, 2023 Author Share Posted September 22, 2023 Oh superb! Thanks Fredrik...I had never used the 'Binned Column' functionality. Super useful. Link to comment Share on other sites More sharing options...
Fredrik Rosell Posted September 22, 2023 Share Posted September 22, 2023 You're welcome, Priyank! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now