Excel Pivote with UI path automation as background process

Hi All,

How to automate Excel Pivot functionality as database level component.