cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Updating Excel with PowerApps

Hi there!

 

I am having some issues when connecting a powerapps to an excel workbook.

Here's the problem:

In my excel I have 2 sheets, the first sheet is called parameters and the second, values. In the first sheet I have some parameters which affect directly to my values in the second sheet, like these: value1 = parameter1 * 0.05

Then, I upload these parameters into a powerapps so I can change the parameters values directly into the PowerApps. After that, I want to plot the values in a Power Bi graph.

The problem starts here: Despite in the workbook the parameter is changed, the values in the second sheet are not unless I open the Excel workbook, so I cannot visualize the values in Power Bi directly without saving manually the Excel Workbook.

I understand that the calculations are done once I have opened the Excel, however I need them to be automatically updated, so I can visualize them in Power Bi without needing to open the Excel.

6 REPLIES 6
Dual Super User II
Dual Super User II

Hi @jha95 

 

Where is this excel file stored? Is it on some cloud platform? While performing the changes, please make sure the file is not opened anywhere in the edit mode and also the records inside the sheets must be formatted as table.
 
Please share more info about the implementations so that we might be able to help you better.
 
Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

I'm working in local. The Excel file has these two Sheets and the idea is: modify with PowerApps the column value of the parameters and then show the results in Power BI.

ParametersParametersCalculated columns (divide by 2 and multiply by 2)Calculated columns (divide by 2 and multiply by 2)

Visualization in PowerBIVisualization in PowerBI

Changing valueChanging value

Error in calculated columnsError in calculated columns

Dual Super User II
Dual Super User II

Hi @jha95 

 

The local static files are not supported for continuous operation. They are just loaded in to the powerapps for data retrieval and no patch action is performed on them. I am not sure how you are able to see the changes when you open the files. 
To perform create/update operations on excel, the file need to be on an online data source.
 
Hope this helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

I also tried to work with the file hosted in OneDrive but it doesn't work...

Hi @jha95 ,

Are the columns in table2 all calculated columns?

If so, I'm afraid it's not supported to display calculated columns of Excel in PowerApps.

I suggest you perform calculations inside PowerApps, not inside Excel.

Here's a similar issue for your reference:

https://powerusers.microsoft.com/t5/General-Discussion/If-Excel-has-a-formula-data-not-showing/td-p/...

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hey,

 

Yes, this is not supported in PowerApps, but as a workaround you could use Flow to retrieve / update the calculated cells. Flow does get these calculated cells as far as they are properly formatted as a Table.

 

Build a Flow that gets the data and returns it to PowerApps and then do the same for updates.

 

Hope it helps

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (23,828)