Please find the attached screenshot for current and expected behavior. Also given below code snippet. Pls help to correct this.
Excel.PivotTable pivotTable; E