Hello Experts,
Good day. I thought I will ask this question in this forum to get proper solution. I will try to explain in a brief way.
Background: We have an complex Excel legacy application which consists of 20+ sheets. Complex refers to Vlookup formulas , Sumif and Pivot tables. "Summary Sheet" is high level aggregation for senior mangers which is derived from 20+ tabs.
Using SharePoint: Due to business decision and licensing cost of PowerApps. We have decided to use SharePoint online as data source. Basically, What I have done is
Every Excel sheet is = SharePoint List
Everything went well, I have used Data table to connect to SharePoint list and used "AddColumns" to perform basic calculations and even Lookup formula in PowerApps to reflect the Excel complex calculations.
Problem: Datatable Add columns functionality is great but the newly added columns and its value I am not able to reference it to other screen. Summary screen. Following are the approaches I have tried so far :
1. Basically I want all the newly added columns and its value should update back to SharePoint list. So that reporting team can build a Power BI report out of it. With AddColumns in Data Table it is always a temporary memory as far as I understand.
2. I have done my research and used collections on top of datatable and used "For All " with Patch to update the SharePoint list. But it is only doing the insert instead of update.
3. Also as an alternative approach I have used PowerAutomate to update my SharePoint columns for lookups column using condition, it is going an infinite loop due to the trigger. "when an Item is created or modified"
Using CDS as solution: Senior management wants this APP as soon as possible.
Now I am here to get proper advise before I create entities and relevant columns in CDS. I wanted to know for the described problem, is CDS a proper database to create complex lookup columns, sumif and Pivot table aggregation to other entities ?
How do we solve this problem? What is the actual way of transforming my Excel legacy to a proper PowerApp?