Hello,
I have two separated SharePoint lists that contain the following columns:
List A:
Column:
Suppliers(Type: Lookup List B/Supplier Name)
PhoneNumber (Type: Number)
List B:
Column:
Supplier Name(Type: Single Line of text) and Phone Number(Type: Number)
When the user selects a particular supplier the phone number field will be populated based on the supplier selected.
The issue is the phone number is displayed in this format 96,112,312,312 which is wrong.

In PowerApps:

(The second column is how it should be displayed but this is a calculated column and I have no idea why it's returning blank when I map this column in the formula).
What I want to achieve is the following:
When the phone number is populated I want to display the phone number in this format (###)-##-###-### as it shows in the screenshot that I posted.
I have tried to use the following formula in the Default property of the Datacard (because it's on edit form) but it doesn't affect the results and it shows as a blank field.
LookUp(POSuppliers, Title = DataCardValue19.Selected.Value, Text(PhoneNumber, "[$-en-US](###)-(##)-(###)-(###)") )
What is the right formula that will display the phone number format that I mentioned?
Can someone please provide an example?
Any help will be greatly appreciated.
Thank you.