Dynamic Pivot

More
3 years 2 weeks ago #22707 by downing
Dynamic Pivot was created by downing
Hello,

Is it possible to make a pivot with dynamic fields.
I have a table with all different dates.
Can I make a pivot.

[SUPPLIER MAT#] --> [DELIVERY DATE] --> [QTY]

As I understand it, otherwise I need a fixed allocation.
With all the different dates an allocation is rather not possible.

Thomas
 
Attachments:

Please Log in or Create an account to join the conversation.

More
3 years 2 weeks ago #22708 by admin
Replied by admin on topic Dynamic Pivot
Sorry

I am very confused about your question.

Can you provide us with the source and target example as an Excel file, please?
EG this is what I have and that is what I am trying to achieve

Please keep it simple

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
3 years 2 weeks ago - 3 years 2 weeks ago #22710 by downing
Replied by downing on topic Dynamic Pivot
Thank you Mike,

 

File Attachment:

File Name: ETL_2023-07-03.zip
File Size:23 KB


Thomas
Last edit: 3 years 2 weeks ago by downing.

Please Log in or Create an account to join the conversation.

More
3 years 2 weeks ago #22711 by admin
Replied by admin on topic Dynamic Pivot
Interesting challenge.

Still, nothing is impossible, we will have a look at it for you. ;-)

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
3 years 2 weeks ago - 3 years 2 weeks ago #22712 by downing
Replied by downing on topic Dynamic Pivot
Hello Mike,

The plan would be this:
Customer sends file with his forecast (txt, xls, ...)

I then try to generate an "ETLsource" by default for all different file types.

Now our keyaccount should control the file and adjust it if necessary.

To make it easier for the keyaccount the date should be in one line so they can see the timeline of the Item "ETLtarget".

Then I convert it to an ERP readable version.

Sounds a bit complicated.
But I haven't thought of anything better yet ;)

Thomas
Last edit: 3 years 2 weeks ago by downing.
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

More
3 years 2 weeks ago - 3 years 2 weeks ago #22713 by admin
Replied by admin on topic Dynamic Pivot
Hello
We have created a working example for you
In order to make it easier to understand we included additional writers
All of them can be deleted except the result

The transformation consists of multiple steps
1 Create a sorted unique list of dates, it is also used to create a header
2 Join the data so that for every supplier material we have all possible dates
3 Calculate the sales list
4 Get the last value from the list above for every supplier material
5 Add header

Please follow the steps below

Download the attached zip file
unzip it into C:\Support\Cases\C0003
Open ats file
Run it

 

File Attachment:

File Name: C0003.zip
File Size:18 KB


 

Mike
ETL Architect
Last edit: 3 years 2 weeks ago by admin.

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save