Abisha
(Abisha gopalan)
April 22, 2020, 2:58am
1
Hey Guys,
I have some doubt regarding the excel data table, I have the excel data table in below format, where i need to convert the template into another template. any idea?
Given template
Expected template
in the above template,users are becoming the header of the column and based on the user i should update my amount value.
@lakshman @Palaniyappan
1 Like
Will there be additional types for a user? Like, is there a chance of adding type 6 for user A?
Abisha
(Abisha gopalan)
April 22, 2020, 5:35am
3
Hi, Thanks for the reply. No type is always fixed but there is a change for dates to add up. for example 23.04.2020 the same way type 1 to 5 values will be there for user A,B,C
@Abisha
It’s kind of complicated to explain the workflow so, I created a simple workflow for your reference.
Sample.xaml (13.7 KB) Sample.xlsx (9.6 KB)
Please run it and let me know in case of any modifications.
2 Likes
Abisha
(Abisha gopalan)
April 22, 2020, 7:22am
5
Hi,
I am actually getting error when i run it. please find the exception
Can you share your workflow or a screenshot of your workflow? I’m not sure which assign is throwing this error.
1 Like
Abisha
(Abisha gopalan)
April 22, 2020, 7:25am
7
I just ran your sample file and i m getting error in the assign below
Hoping you have used the attached Excel file?
Abisha
(Abisha gopalan)
April 22, 2020, 7:28am
9
yes i used the same file and have not done any changes yet.
Try this:
colName = row("Users").ToString
amount = row("Amount").ToString
irow(colName) = amount
If this doesn’t work, let me know. I’ll try to share a different workflow.
2 Likes
Abisha
(Abisha gopalan)
April 22, 2020, 7:49am
11
I am still finding the same error
It’s working for me. I guess the problem is with assign. Since we’re using it inside a loop, it is throwing an error. I’ll share a different workflow, please wait.
Try this workflow: Sample.xaml (15.2 KB)
2 Likes
Hi
Did these threads help us on this
Hi, I have an example datatable here.
[190704%2015_03_16]
I want to change row to column. It looks like here.
[190704%2015_03_24]
How can I do this?
Hello. I need a little help for traspose row items (with value > 0 or not null) form a data table into columns, and create excel file for each row.
Here is my main excel file:
[Main%20Tabel]
I filter it for each row that “total_com” >“0” to get items ftom “00056”, “00057” etc and what i want is to create an excel file with two columns having the header A1: " COD" and B1: “CANT” and to get the values as in this pic: [Result%201] [Result%202] [Result%203]
Each File must be saved as an exce…
Cheers @Abisha
system
(system)
Closed
April 26, 2020, 6:08am
15
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.