cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AndyH_JSY
Helper II
Helper II

Data Source in the form of an Excel Table (With Formulas)

Hi All!

 

I have been made aware that PowerApps cannot get data from an Excel table, if that table has formulas in. 

 

I have an Excel doc with 2 tables, a PowerPivot, and then regular tables. The regular tables formulas are just "=CORRESPONDING CELL IN POWERPIVOT TABLE".

 

Is there anyway to get around using a table as a data source if there's formulas?

 

I've tried thinking about if I could do these calculations in PowerApps, but unfortunately do not think this is possible.

 

(Open to suggestions including redesign)


Thanks in advanced!

1 ACCEPTED SOLUTION

Accepted Solutions

You are right, you cannot submit data when excel is opened. Also you cannot do a PivotTable in Powerapps.

I suggest either you move your calculations to PowerBi and maintain the excel as the datasource to Powerapps 

Or

Consider Another datasource like Azure SQL or CDS, Sharepoint.

 

My earlier reply would work is the excel is closed while submitting data

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

View solution in original post

4 REPLIES 4
eka24
Super User
Super User

The connector will not allow you to updated calculated column. I suggest you insert a new column and do the calculations on the Powerapps form (For instance TextBox1+TextBox2 could be put in Textbox3 to capture the summation). You can then SubmitForm or Patch the data to the excel Table.

 

To keep your pivot table or existing formulas I suggest you Link them to the Table that receives data from powerapps. For instance If Table 1 is connected to powerapps, link Table2 which contains the Pivot or formulas to Table1. In that case, whenever Table1 is updated through powerapps, Table2 will automatically pick the records.

 

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Thanks for replying to me. Unfortunately it isn't this type of calculation. 

 

I have one Excel sheet with tables called A,

I have another Excel sheet with a PowerPivot called B, 

And in the same sheet as B tables called C.

 

So the user edits A which updates B which updates C, and PowerApps reads C. 

 

The reason for this is because the A document will be open for long periods, and PowerApps cannot function of somebody has the sheet open. 

 

PowerApps can also not have a Pivot as the data source, which is why I had to add table C.

 

All the formula is in table C is '=(Equivalent cell in table 2'.

 

As far as I am aware this calculation could not be done in PowerApps?

You are right, you cannot submit data when excel is opened. Also you cannot do a PivotTable in Powerapps.

I suggest either you move your calculations to PowerBi and maintain the excel as the datasource to Powerapps 

Or

Consider Another datasource like Azure SQL or CDS, Sharepoint.

 

My earlier reply would work is the excel is closed while submitting data

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

Thanks for your help. I am going to use CDS and Excel.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,680)