cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Karthik440
Frequent Visitor

How to export unstructured data in a tabular manner from email to Excel

Hello Team, I have a special request. Please see the input below.

 

PRINTGROUP L-PAGES ENVELOPES CHECKS ADVICES MRDF
-------------- ------- --------- -------- --------- ---------
Domestic 854 854 55 799 129ET405
Foreign 0 0 0 0 129ET406
IOWA_01_1006 0 0 0 0 129ET407
IOWA_02_2055 0 0 0 0 129ET408
IOWA_03_3504 0 0 0 0 129ET409
PR_01_4084 0 0 0 0 129ET410
PR_02_4092 0 0 0 0 129ET411
PR_03_4099 0 0 0 0 129ET412
PR_04_4116 0 0 0 0 129ET413
PR_05_4018 0 0 0 0 129ET414
PR_06_4158 0 0 0 0 129ET415
PR_07_4093 0 0 0 0 129ET428

 

Is it possible to transfer the data from an email to an Excel spreadsheet in a tabular format utilizing the aforementioned input? Space serves as a divider.

 

@abm Would you kindly investigate and offer advice?

4 ACCEPTED SOLUTIONS

Accepted Solutions

@Karthik440 Below is how I'd build the flow. This assumes the only content in the email is what you provided, and also that the headers will always be the same - if the headers could differ, then let us know.

 

Note that I haven't added the actions that add the data to your Excel file as don't know if you have an existing Excel Table you want to add the rows too, need to create a new Excel file, are ok with CSV file, etc.

 

Below is a sample of the email sent that triggers the flow.

grantjenkins_6-1678784426793.png

 

See full flow below. I'll go into each of the actions.

grantjenkins_0-1678783813026.png

 

When a new email arrives is what you already have. I assume you're filtering on Subject.

grantjenkins_1-1678783863973.png

 

Html to text converts the HTML output from the email to plain text.

grantjenkins_2-1678783899225.png

 

Filter array uses the following expressions to extract the data into an array of items. This will also remove any empty rows that are returned.

//From
split(outputs('Html_to_text')?['body'], decodeUriComponent('%0A'))

//Condition
trim(item())

grantjenkins_3-1678784054352.png

 

Select uses the following expressions to build up your JSON objects.

//From - skip 2 will remove the first two rows
skip(body('Filter_array'), 2)

//Map
split(item(), ' ')[0]
split(item(), ' ')[1]
split(item(), ' ')[2]
split(item(), ' ')[3]
split(item(), ' ')[4]
split(item(), ' ')[5]

grantjenkins_4-1678784157101.png

 

After running the flow, the Select would contain the following output.

[
  {
    "PRINTGROUP": "Domestic",
    "L-PAGES": "854",
    "ENVELOPES": "854",
    "CHECKS": "55",
    "ADVICES": "799",
    "MRDF": "129ET405"
  },
  {
    "PRINTGROUP": "Foreign",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET406"
  },
  {
    "PRINTGROUP": "IOWA_01_1006",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET407"
  },
  {
    "PRINTGROUP": "IOWA_02_2055",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET408"
  },
  {
    "PRINTGROUP": "IOWA_03_3504",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET409"
  },
  {
    "PRINTGROUP": "PR_01_4084",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET410"
  },
  {
    "PRINTGROUP": "PR_02_4092",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET411"
  },
  {
    "PRINTGROUP": "PR_03_4099",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET412"
  },
  {
    "PRINTGROUP": "PR_04_4116",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET413"
  },
  {
    "PRINTGROUP": "PR_05_4018",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET414"
  },
  {
    "PRINTGROUP": "PR_06_4158",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET415"
  },
  {
    "PRINTGROUP": "PR_07_4093",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET428"
  }
]

 

If you wanted to create a CSV table, you could use Create CSV table and use the output from the Select.

grantjenkins_5-1678784343559.png

 

Let us know about how you would want to save this data - Existing Excel File/Table, Need a new Excel File, CSV, etc.


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.

View solution in original post

Hopefully this is what you're looking for. I've assumed you want to create a new Excel file for each day.

 

We can't just create a blank Excel file in Power Automate (or at least not easily). The best way is to have a Template file that contains the two worksheets and tables already pre-created, then use the content from that Template file to create a new Excel file (effectively copying the Template file). In this example, I've got a folder called Daily within my Documents Library and created an Excel file called Template.xlsx.

grantjenkins_0-1678797360232.png

 

grantjenkins_1-1678797429575.png

 

grantjenkins_2-1678797457903.png

 

Below is the email that triggers the flow.

grantjenkins_3-1678797534216.png

 

See full flow below. I'll go into each of the actions.

grantjenkins_4-1678797673748.png

 

And within the Apply to each actions.

grantjenkins_5-1678797703415.png

 

When a new email arrives and Html to text is the same as what you had before.

grantjenkins_6-1678797747035.png

 

Filter array Table1 uses the following expressions. Note that you will need to click on Edit in advanced mode to paste the Condition expression in.

 

//From
split(
    slice(
        outputs('Html_to_text')?['body'], 
        indexOf(outputs('Html_to_text')?['body'], 'PRINT GROUP'), 
        indexOf(outputs('Html_to_text')?['body'], 'Total Accounts')
    ), 
    decodeUriComponent('%0A')
)

//Condition (Edit in advanced mode)
@and(
    not(equals(trim(item()), '')),
    not(contains(item(), '----------')),
    not(contains(item(), 'Special Handling'))
)

 

grantjenkins_7-1678797854862.png

 

Select Table1 uses the following expressions.

 

//From
skip(body('Filter_array_Table1'), 1)

//Map
split(item(), ' ')[0]
split(item(), ' ')[1]
split(item(), ' ')[2]
split(item(), ' ')[3]
split(item(), ' ')[4]
split(item(), ' ')[5]

 

grantjenkins_8-1678797936500.png

 

Filter array Table2 uses the following expressions. Note that you will need to click on Edit in advanced mode to paste the Condition expression in.

 

//From
split(
    slice(
        outputs('Html_to_text')?['body'], 
        indexOf(outputs('Html_to_text')?['body'], 'FILENAME ENVELOPES'), 
        lastIndexOf(outputs('Html_to_text')?['body'], 'Totals')
    ), 
    decodeUriComponent('%0A')
)

//Condition (Edit in advanced mode)
@and(
    not(equals(trim(item()), '')),
    not(contains(item(), '----------'))
)

 

grantjenkins_9-1678798021685.png

 

Select Table2 uses the following expressions.

 

//From
skip(body('Filter_array_Table2'), 1)

//Map
split(item(), ' ')[0]
split(item(), ' ')[1]
split(item(), ' ')[2]
split(item(), ' ')[3]

 

grantjenkins_0-1678798211712.png

 

Get file content gets the content from the Template Excel file we created.

grantjenkins_1-1678798251220.png

 

Create file uses the content from Get file content using the following expression to build the File name in the format "Daily Report yyyy-MM-dd.xslx"

 

concat('Daily Report ', formatDateTime(utcNow(), 'yyyy-MM-dd'), '.xlsx')

 

grantjenkins_2-1678798353462.png

 

Apply to each Table1 iterates over the items from Select Table1 and for each item, adds the data into a new row in our Excel Table. The Path comes from Create file and we need to manually type Table1 as our Table name as a custom value. For the Row we can just use the Current item which is the current item we are iterating over.

grantjenkins_5-1678798596669.png

 

Apply to each Table2 iterates over the items from Select Table2 and for each item, adds the data into a new row in our Excel Table. The Path comes from Create file and we need to manually type Table2 as our Table name as a custom value. For the Row we can just use the Current item which is the current item we are iterating over.

grantjenkins_4-1678798587991.png

 

After running the flow, we should get a new Excel file with data populated in both the Tables.

grantjenkins_2-1678798927786.png

grantjenkins_3-1678798938303.png

 

One thing I did notice in the Table 1 data is that some of your values have spaces in them, so when we split by space it split out those values incorrectly. COOPER and CALF. Would they contain spaces in your actual data? If so, then we would need to work out how to cater for those.

 

grantjenkins_4-1678799257679.png


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.

View solution in original post

If you had an existing Excel file with the two Tables, then you would just be able to remove the Get file content and Create file actions, and for your Add a row into a table action - just select the existing Excel file and Table, then add the data.


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.

View solution in original post

You'll need to fill each of them in using the following expressions.

 

item()?['PRINT GROUP']
item()?['L-PAGES']
item()?['ENVELOPES']
item()?['CHECKS']
item()?['ADVICES']
item()?['MRDF']

 

And similar for the other table, but using the appropriate field names.


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.

View solution in original post

18 REPLIES 18
abm
Most Valuable Professional
Most Valuable Professional

Hi @Karthik440 

 

Is the above data in your email body and you want to create these in an Excel sheet?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Yes @abm that is correct.

abm
Most Valuable Professional
Most Valuable Professional

Hi @Karthik440 

 

I have a video tutorial based on this. Please have a look and comment. 

 

https://www.youtube.com/watch?v=62BB3rpe37g&t=154s

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

@Karthik440 Below is how I'd build the flow. This assumes the only content in the email is what you provided, and also that the headers will always be the same - if the headers could differ, then let us know.

 

Note that I haven't added the actions that add the data to your Excel file as don't know if you have an existing Excel Table you want to add the rows too, need to create a new Excel file, are ok with CSV file, etc.

 

Below is a sample of the email sent that triggers the flow.

grantjenkins_6-1678784426793.png

 

See full flow below. I'll go into each of the actions.

grantjenkins_0-1678783813026.png

 

When a new email arrives is what you already have. I assume you're filtering on Subject.

grantjenkins_1-1678783863973.png

 

Html to text converts the HTML output from the email to plain text.

grantjenkins_2-1678783899225.png

 

Filter array uses the following expressions to extract the data into an array of items. This will also remove any empty rows that are returned.

//From
split(outputs('Html_to_text')?['body'], decodeUriComponent('%0A'))

//Condition
trim(item())

grantjenkins_3-1678784054352.png

 

Select uses the following expressions to build up your JSON objects.

//From - skip 2 will remove the first two rows
skip(body('Filter_array'), 2)

//Map
split(item(), ' ')[0]
split(item(), ' ')[1]
split(item(), ' ')[2]
split(item(), ' ')[3]
split(item(), ' ')[4]
split(item(), ' ')[5]

grantjenkins_4-1678784157101.png

 

After running the flow, the Select would contain the following output.

[
  {
    "PRINTGROUP": "Domestic",
    "L-PAGES": "854",
    "ENVELOPES": "854",
    "CHECKS": "55",
    "ADVICES": "799",
    "MRDF": "129ET405"
  },
  {
    "PRINTGROUP": "Foreign",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET406"
  },
  {
    "PRINTGROUP": "IOWA_01_1006",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET407"
  },
  {
    "PRINTGROUP": "IOWA_02_2055",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET408"
  },
  {
    "PRINTGROUP": "IOWA_03_3504",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET409"
  },
  {
    "PRINTGROUP": "PR_01_4084",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET410"
  },
  {
    "PRINTGROUP": "PR_02_4092",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET411"
  },
  {
    "PRINTGROUP": "PR_03_4099",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET412"
  },
  {
    "PRINTGROUP": "PR_04_4116",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET413"
  },
  {
    "PRINTGROUP": "PR_05_4018",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET414"
  },
  {
    "PRINTGROUP": "PR_06_4158",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET415"
  },
  {
    "PRINTGROUP": "PR_07_4093",
    "L-PAGES": "0",
    "ENVELOPES": "0",
    "CHECKS": "0",
    "ADVICES": "0",
    "MRDF": "129ET428"
  }
]

 

If you wanted to create a CSV table, you could use Create CSV table and use the output from the Select.

grantjenkins_5-1678784343559.png

 

Let us know about how you would want to save this data - Existing Excel File/Table, Need a new Excel File, CSV, etc.


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.

Hi @grantjenkins, Thank you very much for the succinct response. When I asked a query, I didn't anticipate that the answer would be in power automate. however, you made it possible. thank you a lot

 

addition to the query posed yesterday.

 

My yesterday's Input was mocked and criticised. Please refer to the original input below.

 

EXTERNAL EMAIL

Hi, This is the control report for - ***** ******* ***** - **.
Contol report for ***** ******* *****.

JOB = ******** Date = 05/11/2022 Time = 14:39:41
----------------------------------------------------------------------


PRINT GROUP L-PAGES ENVELOPES CHECKS ADVICES MRDF
-------------- ------- --------- -------- --------- --------------
Domestic 26 26 13 13 131ET605
Foreign 0 0 0 0 131ET606
Special Handling
----------------
IOWA_01_1006 0 0 0 0 131ET607
IOWA_02_2055 0 0 0 0 131ET608
IOWA_03_3504 0 0 0 0 131ET609
PR_01_4084 0 0 0 0 131ET610
PR_02_4092 0 0 0 0 131ET611
PR_03_4099 0 0 0 0 131ET612
PR_04_4116 0 0 0 0 131ET613
PR_05_4018 0 0 0 0 131ET614
PR_06_4158 0 0 0 0 131ET615
PR_07_4093 0 0 0 0 131ET628

UNION_01_2500 0 0 0 0 131ET616
UNION_02_3503 0 0 0 0 131ET617
UNION_03_3601 0 0 0 0 131ET618
UNION_04_4070 0 0 0 0 131ET619
UNION_05_4103 0 0 0 0 131ET620
UNION_06_4130 0 0 0 0 131ET621
UNION_07_5170 0 0 0 0 131ET622
UNION_08_5222 0 0 0 0 131ET623
UNION_09_6313 0 0 0 0 131ET624
UNION_10_5245 0 0 0 0 131ET625
UNION_11_5221 0 0 0 0 131ET626
UNION_12_6018 0 0 0 0 131ET627
LC_4172 0 0 0 0 131ET629
LC_7356 0 0 0 0 131ET632
COOPER DEDUCT 0 0 0 0 131ET633
CALF SPL HD 0 0 0 0 131ET634
UNION_13_5232 0 0 0 0 131ET635
-----------------------------------------------------------------------
Total Accounts = 26 Total Checks = 13 Total Advices = 13


FILENAME ENVELOPES CHECKS ADVICES
--------------- --------- -------- ---------
10701 13 13 0
10702 13 0 13
-----------------------------------------------------------
Totals 26 13 13

Regards,
********* ******** ********

 

There are two tables in the input. The first table starts with PRINTGROUP and stops before the Total accounts. and the second table starts with FILE NAME and stops before the Totals.

 

also we have to skip the below from the first table

Special Handling
----------------

 

The same emails(input) will be sent to me every day. 

 

Can you maybe provide some guidance on using Excel in place of the CSV format? I want to import the data from the first table into one tab and the data from the second table into another tab of the same Excel. Thank you very much.

 

 

Would you be appending the data to an existing Excel file, or would you create a new Excel file each day that would contain just the data from that day? And assuming it would be stored in a library/folder within SharePoint?


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.

Hopefully this is what you're looking for. I've assumed you want to create a new Excel file for each day.

 

We can't just create a blank Excel file in Power Automate (or at least not easily). The best way is to have a Template file that contains the two worksheets and tables already pre-created, then use the content from that Template file to create a new Excel file (effectively copying the Template file). In this example, I've got a folder called Daily within my Documents Library and created an Excel file called Template.xlsx.

grantjenkins_0-1678797360232.png

 

grantjenkins_1-1678797429575.png

 

grantjenkins_2-1678797457903.png

 

Below is the email that triggers the flow.

grantjenkins_3-1678797534216.png

 

See full flow below. I'll go into each of the actions.

grantjenkins_4-1678797673748.png

 

And within the Apply to each actions.

grantjenkins_5-1678797703415.png

 

When a new email arrives and Html to text is the same as what you had before.

grantjenkins_6-1678797747035.png

 

Filter array Table1 uses the following expressions. Note that you will need to click on Edit in advanced mode to paste the Condition expression in.

 

//From
split(
    slice(
        outputs('Html_to_text')?['body'], 
        indexOf(outputs('Html_to_text')?['body'], 'PRINT GROUP'), 
        indexOf(outputs('Html_to_text')?['body'], 'Total Accounts')
    ), 
    decodeUriComponent('%0A')
)

//Condition (Edit in advanced mode)
@and(
    not(equals(trim(item()), '')),
    not(contains(item(), '----------')),
    not(contains(item(), 'Special Handling'))
)

 

grantjenkins_7-1678797854862.png

 

Select Table1 uses the following expressions.

 

//From
skip(body('Filter_array_Table1'), 1)

//Map
split(item(), ' ')[0]
split(item(), ' ')[1]
split(item(), ' ')[2]
split(item(), ' ')[3]
split(item(), ' ')[4]
split(item(), ' ')[5]

 

grantjenkins_8-1678797936500.png

 

Filter array Table2 uses the following expressions. Note that you will need to click on Edit in advanced mode to paste the Condition expression in.

 

//From
split(
    slice(
        outputs('Html_to_text')?['body'], 
        indexOf(outputs('Html_to_text')?['body'], 'FILENAME ENVELOPES'), 
        lastIndexOf(outputs('Html_to_text')?['body'], 'Totals')
    ), 
    decodeUriComponent('%0A')
)

//Condition (Edit in advanced mode)
@and(
    not(equals(trim(item()), '')),
    not(contains(item(), '----------'))
)

 

grantjenkins_9-1678798021685.png

 

Select Table2 uses the following expressions.

 

//From
skip(body('Filter_array_Table2'), 1)

//Map
split(item(), ' ')[0]
split(item(), ' ')[1]
split(item(), ' ')[2]
split(item(), ' ')[3]

 

grantjenkins_0-1678798211712.png

 

Get file content gets the content from the Template Excel file we created.

grantjenkins_1-1678798251220.png

 

Create file uses the content from Get file content using the following expression to build the File name in the format "Daily Report yyyy-MM-dd.xslx"

 

concat('Daily Report ', formatDateTime(utcNow(), 'yyyy-MM-dd'), '.xlsx')

 

grantjenkins_2-1678798353462.png

 

Apply to each Table1 iterates over the items from Select Table1 and for each item, adds the data into a new row in our Excel Table. The Path comes from Create file and we need to manually type Table1 as our Table name as a custom value. For the Row we can just use the Current item which is the current item we are iterating over.

grantjenkins_5-1678798596669.png

 

Apply to each Table2 iterates over the items from Select Table2 and for each item, adds the data into a new row in our Excel Table. The Path comes from Create file and we need to manually type Table2 as our Table name as a custom value. For the Row we can just use the Current item which is the current item we are iterating over.

grantjenkins_4-1678798587991.png

 

After running the flow, we should get a new Excel file with data populated in both the Tables.

grantjenkins_2-1678798927786.png

grantjenkins_3-1678798938303.png

 

One thing I did notice in the Table 1 data is that some of your values have spaces in them, so when we split by space it split out those values incorrectly. COOPER and CALF. Would they contain spaces in your actual data? If so, then we would need to work out how to cater for those.

 

grantjenkins_4-1678799257679.png


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.

@grantjenkins Well, I'll be adding the data to an already-existing Excel file, and you're right that it will be kept in a library or folder on OneDrive or Sharepoint.

Hi @grantjenkins Thank you so much for your excellent work, and if you could assist me with the final step, that would be greatly appreciated. I want to add the data to an existing Excel file.

If you had an existing Excel file with the two Tables, then you would just be able to remove the Get file content and Create file actions, and for your Add a row into a table action - just select the existing Excel file and Table, then add the data.


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.

@grantjenkins Thank you so much. I eliminated the Get file content and Create file actions as you suggested, and I chose the already-existing Excel file and Table in the Add a row into a table action. and used a previously used trigger to automatically test the flow. 

 

The flow was successful, but the table had empty rows added. After the second trigger, there are more empty rows added. but data is missing. If I did something incorrectly, kindly let me know.

 

Karthik440_0-1678953343151.png

 

 

Are you able to show the output of your Filter array and your Select?


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.

Yes @grantjenkins  i was able to the output of Filter array and your Select. 

 

Filter Array Table 1

Karthik440_0-1678956175295.png

 

Select Table1

Karthik440_1-1678956223367.png

 

 

Are you able to show what you put in your Add a row into a table? When you selected the Table from the dropdown it should have shown all the fields that you would need to populate.


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.

Those fields were blank.

 

Karthik440_0-1678957802634.png

 

You'll need to fill each of them in using the following expressions.

 

item()?['PRINT GROUP']
item()?['L-PAGES']
item()?['ENVELOPES']
item()?['CHECKS']
item()?['ADVICES']
item()?['MRDF']

 

And similar for the other table, but using the appropriate field names.


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.

@grantjenkins Thank you again; data is imported into both tables and everything is working.

As my inquiries are vying for your attention and valuable time, I hope this will be the final one. I apologise deeply.

I have given the similar input. but my flow is getting failed with below error. 

These changes only apply to the beginning of the Table. Why this is going into error is a mystery to me.

 

below is the error 

Karthik440_0-1678962555937.png

 

Hi @grantjenkins , I hope all is okay with you. in order to add the date from the input to Excel, I need your assistance. To do that, I added a new column to the table. Would you kindly assist me with the expression?

 

Actually, the information I shared with you contains some sensitive material. So I changed it with "***." when I gave correct input to the flow It is making a mistake. Could you kindly assist me in resolving these two open problems?

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages