Forum Discussion

Einomi's avatar
Einomi
Helper V
1 year ago
Solved

Are all PDF can be processed through PQ

Hi,

 

I have a supplier who sends me invoices by PDF through e-mail. I have managed to process all invoices through PQ and had a clear table in Excel with dates, invoice numbers and so

Recently, they have lightly updated their invoices and, but enough to mess my transfromations, and not it is quite hard for me to re-process new invoices and all my history is kind of lost unless I keep two Excel files.

Any chance someone can give me a hand to process them ? I am not sure how to share some files, it does include the supplier and customer...

5 Replies

  • Are there a lot of changes between the files? Do you need any new fields?

    If the answer is no to these questions, I would suggest the following approach:

    • Keep your history table as is.
    • Transform and structure the new PDF file so it matches the structure of your history table.
    • Once both tables have the same structure (i.e., the same column names), you can then append the new data to your history table.

    If you'd like, you can share anonymized files, and I can take a look.

  • v-nmadadi-msft's avatar
    v-nmadadi-msft
    Community Support

    Hi Einomi  ,
    Thanks for reaching out to the Microsoft fabric community forum.

     Cookistador mentioned a valuable approach, you could also slightly vary their approach by modifying the existing table (history table) to match the new the structure of your invoice data and then append the new data to history data.
    You can transform either table to match the other's structure choose the one that's simpler and easier to adjust for consistency


    If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
    Thank you

    • Einomi's avatar
      Einomi
      Helper V

      I will try and make PDF anonyms, but this is will take long. I have an advanced level on PQ and my main challenge is to identify a pattern. That's why I need help from the forum form M killer because I struggle a bit

  • v-nmadadi-msft's avatar
    v-nmadadi-msft
    Community Support

    Hi Einomi 

    May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution.  If not resolved yet please try to share some details so that we can take a look.
    This will be helpful for other community members who have similar problems to solve it faster as well

    Thank you.