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

Excel table with formula displayed in the gallery

Hi,

 

One of my screen has a gallery which is connected to a table in the excel (as the data source).

The issue is that the Excel table contains formula which updates the table when the user selecting a set of variables.

 

I got an error message below when tried to connect the gallery to the table;

 

AdelBishara_0-1630666311196.png

 

So, how to allow the updated table to be shown in the power app screen?

 

Thanks.

11 REPLIES 11
rampprakash
Super User
Super User

Hi @AdelBishara,

 

As per PowerApps, We cannot add excel with formula.  So remove formula from excel and try again.

 

 

But removing the formula will prevent the table from being updated.

Hey! Check this video:

https://www.youtube.com/watch?v=8I0Pt_8I6k8&t=1478s

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,
Gonçalo Nogueira

Check my LinkedIn!

 

The video contains lots of information but seems unrelated to my issue. There is no even mention of excel in the video.

Would you please be more specific in how to solve the table problem?

 

Thanks,

"Create an excel" in your power apps that writes back in excel. Use the formulas in Power Apps

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,
Gonçalo Nogueira

Check my LinkedIn!

Check my User Group (pt-PT)!

WarrenBelz
Super User
Super User

Hi @AdelBishara ,

Excel can only be used as a data source in Power Apps with an area formatted as a data table. You cannot have formulas in the table as they are not recognised by Power Apps as a valid field to use.

To answer your question, you need to do the calculations in Power Apps and then write back to a text or numeric field in Excel.

You may be able to do formulas outside the defined table, however the main issue with using an Excel is that is cannot be open elsewhere whilst being used by Power Apps. I would urge you to consider SharePoint if it is available to you.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Hi Warren,

Thanks a lot for your reply.

So, if I link the excel table with formula to SharePoint, I can use SharePoint as my data source and show the updated table in the power apps? 

@AdelBishara ,

Excel is not a good data source for Power Apps - Shane Young @Shanescows has a good video on this

WarrenBelz_0-1614034878386.png

Do the calculations in Power Apps and write them back if you must use Excel.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

WarrenBelz
Super User
Super User

Hi @AdelBishara ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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,956)