Skip to main content
Question

For saving APC consumption used data, how we can delete the loaded data for certain data pool which contains several processes in it. I want to delete one process data in the data pool.

  • February 2, 2023
  • 7 replies
  • 34 views

Assume the data pool contains of AP, AR and O2C three processes. I want to delete AP process data, for that I have added an activity in transformation where I have droped all the tables related to AP process data and I have executed that activity and data load has been done. But no change in studio part and APC Consumption also, data got not reduced. Is there any way to delete the data ?

7 replies

salma.zeped
Level 7
Forum|alt.badge.img
  • Level 7
  • February 2, 2023

Hi, what has worked for me is the following piece of code:

 

DROP TABLE IF EXISTS [Table] CASCADE;


Forum|alt.badge.img+14
  • Level 8
  • February 2, 2023

Hi, APC consumption page is not real-time, delay about a day or so, If you already delete then you just need to wait for the APC page refresh. Studio data is different - it is store in data model (memory) which is different from the data pool / data scope.


  • Author
  • Level 2
  • February 2, 2023

Hi, APC consumption page is not real-time, delay about a day or so, If you already delete then you just need to wait for the APC page refresh. Studio data is different - it is store in data model (memory) which is different from the data pool / data scope.

So for APC consumption part, after deleting the tables for certain process I have done data load. So for reflecting it takes time right?

 

 


Forum|alt.badge.img+14
  • Level 8
  • February 2, 2023

Yes, APC consumption page has refresh schedule.


teuku.faruq13
Level 9
Forum|alt.badge.img+1

Additional tips - while deletion can be your solution, I think ultimately you still need to review your design. Have you apply proper filter and only bring necessary data (eg. records and column)? How about sharing the data across data pool?

 

Vertica engine work differently for deletion, I recommend the https://academy.celonis.com/learning-paths/get-data-into-the-ems-1 especially "transformation best practice".

 

Thank you.


  • Author
  • Level 2
  • February 3, 2023

Hi, what has worked for me is the following piece of code:

 

DROP TABLE IF EXISTS [Table] CASCADE;

Thank you

 


  • Author
  • Level 2
  • February 3, 2023

So for APC consumption part, after deleting the tables for certain process I have done data load. So for reflecting it takes time right?

 

 

Thank you