I had posted this query in the building flows section and was asked to repost it here.
I am creating a flow that is trying to do convert data from an invoice and populate an excel sheet saved on Sharepoint.
The AI Model is working as expected and is detecting the fields that I require. Amongst these fields is a table that contains 3 columns.
An example of the table is below:
The issue I am facing is the flow is creating multiple rows for each invoice. For example, when the flow pastes the "HSN/SAC" column it, outputs as follows:
How do I get it to output only one row and exclude all the rows where the values are null?
Screenshot of my flow is below:
Thanks for your help
Thanks for your response. I have amended the flow to include the condition as suggested. However, the result hasn't changed and I it it still outputting null rows. Please see below the amended flow and the output.
I see that in the If yes block, the flow iterated over all entries again. Because you are already on an apply to each loop, there should not be one on the If yes block.
Let us know if this clarifies.
Thanks Joe. That works great. However, I now note that if I want to extract other fields from the table - For eg. the Output CGST or Output SGST fields, I can't because they have null HSN/SAC values. What I am trying to get at is a excel spreadsheet that outputs the following fields in one row:
Invoice Number - Invoice Date - HSN/SAC code - Amount - CGST Value - SGST Value - Total Amount
Would that be doable?
In addition to the suggestion of @ALFRED05, if CGST and SGST are normally present in your documents like that, you can also tag them as fields and retreive them as fields instead of a table.
Three Super User rank tiers have been launched!
Features releasing from October 2020 through March 2021
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!