web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Formula - Lookup with ...
Power Apps
Unanswered

Formula - Lookup with number field is not working when number contain dot (.) ?

(0) ShareShare
ReportReport
Posted on by

Hi All,

I have a list Called "A" which I have customized in power app form. I have a lookup field which is lookup with a Number field of list "B". On selection on lookup field's value I am fetching the value of other filed of list "B" and its perfectly working fine for me. because for me, lookup field which is lookup with the number is showing to me with comma (ex-8,212) but for other country its showing with dot (ex- 8.212) and it is not working for them. below is the formula:- 

LookUp('Control Master Data', ControlNumber = Value(DataCardValue38.Selected.Value), ControlName)

Control Master Data - is List B   

ControlNumber - is number field in list B 

ControlName - is text field in list B which I am fetching on selection.

for me in lookup field number is showing with comma and working and for them its showing with dot and not working.

Please help.

Thank you.

Categories:
I have the same question (0)
  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @vishwajitkumar 

    Consider fixing the language format Text(Value(DataCardValue38.Selected.Value),"##.##","en-US")

    rubin_boer_1-1612779738754.png

     

    some reference on global-apps : https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-text#global-apps

     

    hope it helps

     
  • aaaaaaaaaaa Profile Picture
    6 on at

    Hi Rubin,

    Thank you so much for your reply. But where to pass column name which I want to fetch?

    LookUp('Control Master Data', ControlNumber = Text(Value(DataCardValue38.Selected.Value),"##.##","en-US"), ControlName)

    I want to fetch "ControlName" field value.

     

    Thanks,

    Vishwajit

  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi there @aaaaaaaaaaa you can pass it to a variable. Set(_ControlName, LookUp('Control Master Data', ControlNumber = Text(Value(DataCardValue38.Selected.Value),"##.##","en-US"), ControlName))

     

    Hope it helps

     
  • aaaaaaaaaaa Profile Picture
    6 on at

    Thank you so much for your reply but here there is no "Set" function. Below is the exact formula I am using

    LookUp('Profit centers', 'Profit Center ID'= Text(Value(DataCardValue17.Selected.Value),"[$-en-US]##.##","en-US"),'Profit Center Name')

    but getting error:-  Powerapp encountered internal error data type text.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,045

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 592

Last 30 days Overall leaderboard