parvati
(parvati thalal)
October 30, 2019, 5:59am
1
Hello All,
As i am creating pivot table with the help of invoke code activity but the sum of all values is coming in row field and i want that sum of all vales comes in column field as shown in below image.
kindly check the below issue
Regards,
Parvati Thalal
allurai_india
((Allu)Alluraiah Yallapragada)
October 30, 2019, 6:25am
2
hi
can you share the VB code in Invoke activity ?
parvati
(parvati thalal)
October 30, 2019, 6:35am
3
yes sure…
Main.xaml (19.3 KB)
Shared you the xml file.
kindly check
Regards,
Parvati Thalal
allurai_india
((Allu)Alluraiah Yallapragada)
October 30, 2019, 9:56am
4
can you try to change following to column ?
oPivotField = CType(oPivotTable.PivotFields(“AppcoBranch”), Microsoft.Office.Interop.Excel.PivotField) ‘Specfiy the coulmn name’
oPivotField.Orientation = Microsoft.Office.Interop.Excel.XlPivotFieldOrientation.xlRowField
oPivotField.LayoutForm = Microsoft.Office.Interop.Excel.XlLayoutFormType.xlTabular
oPivotField.RepeatLabels = True
oPivotField.Orientation = Microsoft.Office.Interop.Excel.XlPivotFieldOrientation.xlColumnField
system
(system)
Closed
November 2, 2019, 9:57am
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.