web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / AI model unable to det...
Power Apps
Answered

AI model unable to detect table correctly

(0) ShareShare
ReportReport
Posted on by 45

Hello

 

Am working on an invoice processing model and I have to added a table preview in the model to identify the different items, qty, price ...etc. on the invoice. Am currently facing 2 issues:

1. There are 2 tables on the invoice and for 4 out of the 5 invoices that I upload to train the model, the latter is detecting the wrong table.

2. In the one scenario where the correct table is detected, the model is picking 2-3 columns as one.

 

Am not sure what to do at this point. I have attached screenshots to  illustrate the issues that am facing  Any help is appreciated.

 

Thank you

 

Have a good day

 

Shadiya

Original Receipt.JPG
staples format Issue 2.JPG
Staples Format - Issue 1.JPG
Categories:
I have the same question (0)
  • JoeF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @shadiya,

     

    Thank you for posting this question, it comes in a good moment because this Friday we are releasing an update to Form Processing that will let you tag that table correctly. Explicitly tag tables in form processing - Power Platform Release Plan | Microsoft Docs

     

    Just a few more days 🙂 Looking forward you trying it out. Would love to hear your feedback once you try it.

  • shadiya Profile Picture
    45 on at

    Thank you @JoeF-MSFT - looking forward to trying it next week. I will definitely give my feedback.

     

    Have a good evening.

     

    Shadiya

  • shadiya Profile Picture
    45 on at

    HI @JoeF-MSFT 

     

    I tried the new feature today - it worked very well in identifying the different lines on the invoice.

     

    But now i have a new issue with the way the data is being exported to CSV. I am not sure why the header is appearing 2 times and both the header and the details are showing up on one line. Any idea how to resolve this?  Am attaching my CSV file  (test2021-04-06T20_20_44.9258114Z.xlsx)  for reference.

     

    Thank you

     

    Shadiya.

  • JoeF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @shadiya,

     

    Good to hear you've tried the new feature! 🙂

    Can you share a screenshot on how you've built the flow?

  • shadiya Profile Picture
    45 on at

    Hi @JoeF-MSFT 

     

    Please find attached screenshots of the flow, as requested.

    Flow - part 3.JPG
    Flow - part 2.JPG
    Flow - part 1.JPG
  • shadiya Profile Picture
    45 on at
    Flow - part 4.JPG
  • JoeF-MSFT Profile Picture
    Microsoft Employee on at

    Thank you @shadiya!

    You are almost there! You need to put the Create CSV table action outside of the Apply to each loop. Like this:

    JoeF-MSFT_0-1617746663014.png

     

  • shadiya Profile Picture
    45 on at

    Hi @JoeF-MSFT,

     

    Thank you for your reply. I have tried it and still the results are showing up one one line and the headers appear 2 times.

     

    shadiya_0-1617801886833.png

     

    Is there anything else that i can try?

     

    Thank you

     

    Shadiya

  • Verified answer
    JoeF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @shadiya,

     

    Thanks for sharing a screenshot. I see that you have the Create CSV table inside an Apply to each loop. You need to move it outside. There shouldn't be an Apply to each loop. 🙂 

    Staples - Format entries should be put on the From field of the Create CSV table action. 

    JoeF-MSFT_0-1617833811861.png

     

  • shadiya Profile Picture
    45 on at

    Thank you so much @JoeF-MSFT . It worked. I really really appreciate your help.

     

    Have a wonderful day.

     

    Shadiya

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard