Error : Pivot Datatable: A value of type 'System.String' cannot be set to the location with name 'Result' because it is a location of type 'System.Data.DataTable'

hi,
I am getting the below error when using excel pivot activity.
Error : Pivot Datatable: A value of type ‘System.String’ cannot be set to the location with name ‘Result’ because it is a location of type ‘System.Data.DataTable’

image

some one please help me out.

image
image

Well I believe variable ‘SallIncPivotTable’ is of string type. Output only accepts the variable in DataTable type, so I suggest you to convert ‘SallIncPivotTable’ to type ‘DataTable’.

I believe that’ll help you out.

No its a data table only. I was some data type issue inside the table. Thanks

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.