Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Luka-enterprise
Contributor
Contributor

Load script - if then

Hi everyone,

I got a table with:

Year | Month | Value | Department

I need load script that will do next:

If  Department = "Accounting" load value from that line:

Year | Month | Value*0,25 | Department AS "Origin Department" | New department (new Department will need to be for Example "Sales")

I wanna create 4 loading script to get 100% of the value

I got a table in attach for folks that  are good in ETL and like a nice challenge  🙂

Idea is to get LVL1 values and LVL 2 values on end Department

Thanks

 

0 Replies