cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
legendarybbk
New Member

powerapps formula error

How to solve this error?
I tried many different ways but it still shows internal error
legendarybbk_0-1618549894253.png

legendarybbk_1-1618549915891.png

legendarybbk_2-1618549936917.png

 

16 REPLIES 16
WarrenBelz
Super User III
Super User III

Hi @legendarybbk ,

Where are you putting this formula? If it as the Text of a Label, it should produce "Hello"

LookUp(
   Language_testing, 
   TextID = "Hello" && 
   LanguageTag = "en-GB"
).LocalizedText

 

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.

it is placed as the text of button
but there is still an internal error even i copy your code with separated lines

is it because of some connection errors? as the formula should be nothing wrong

Hi @legendarybbk ,

I just completely duplicated your Excel and import (except for the Chinese characters)

WarrenBelz_0-1618555302894.png

and got this result on a Label

WarrenBelz_1-1618555335281.png

You might re-check the import. To do this put this on a button

ClearCollect(
   colLT,
   Language_testing
)

the use View > Collections > colLT and see what is in there.

 

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.

 

 

There is nothing in the collection now, is it right?
But the error message is still here after retyping that formula
legendarybbk_0-1618555906502.png

legendarybbk_1-1618555915190.png

legendarybbk_2-1618555935261.png

 

 

@legendarybbk ,

Then you have an empty table (which is why the LookUp is not working).

As a trial, replace the Chinese characters in Excel with English, delete the table for Power Apps and re-import. I have a suspicion you have a character incompatibility.

 

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.

the table is shown in the collection now, but the internal error is still here


Screen 1 OnVisible: Collect(Collection1, Language_testing)
Button 1 Text: LookUp(
Language_testing,
TextID = "Hello" &&
LanguageTag = "en-GB"
).LocalizedText

legendarybbk
New Member

powerapps read-ed the table, but the lookup function is still not working

Hi @legendarybbk ,

Can you please post a screen shot of the code and the error. As you can see it worked perfectly when I duplicated it.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

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