Hi All,
I have a SharePoint list with 40+ columns and I want to generate an invoice, in an Excel, when I press a button in a Power app that the list is connected to.
Details:
I have a SharePoint list that gets several columns populated by a user through a UI in a power app (mostly financial details). Once this is done, I want to give the user the capability to generate an Excel invoice with only 4-5 different (but constant) columns in the list. This process has to be done every month. The generated file has to follow a predefined Excel template (.xlsx).
Example:
I have the following columns in the SharePoint list
Name | Date | Time | Department | Account | Place | Number of people | Cost incurred |....
I want to have the following columns in the Excel that would be generated at the press of the button
Department | Account | Cost incurred | Name (limited to 50 characters appended by "Charges" |
This file also needs to be named in a certain way - "Excel <Month> <Year>.xlsx".
I've tried various things like getting items from the SharePoint list and mapping the columns using Select and adding them as the row to the newly created Excel. However, due to too many dynamic components in the process, I was unable to get anything to work.
I'd like a fresh and new (hopefully easier) perspective and see if this is even possible.