I need to Sum each column where we see the figures.
I have tried AsEnumerable and Compute, but no luck.
Data is huge and dyanmic, also various report would have various column names, so have removed all column names.
Got it thank you. I was reading wrong sheet. Now working.
Sorry one more help whilst we are on the topic.
if you see first 3 columns they are either text, number(invoice no), data, and all values.
As these columns are not fixed and varies from report to report.
I want to add total of each column at the end of the column. If column contains either text,date, not to caculate them or print 0 at the end of the column and total of those with valid values.
If I run the current code on current columns in Image, I get following error message - Input string was not in a correct format.
I guess first column has text that is why. but reports will have text columns before and all later once will be values, but cannot define which report will have how many
First you have to create a integer variable Ex ColumnCount
ColumnCount=YourDatatable.Columns.Count
it will store the total number of columns in ColumnCount variable
drag and drop the while activity and create another integer variable like i, set condition as i=ColumnCount
And **Its difficult to explain each every step if you share your input excel file i will develop a workflow as per your requirement and send it to you asap