Hello,
I could really use some help with a syntax.
I am trying to define a Left string (Left(String, NumberOfCharacters) for a choice column.
The support on Microsoft's page (Left, Mid, and Right functions in Power Apps - Power Apps | Microsoft Docs) describes how this is achieved with a Single string and a Single-column table, but not with a Choice column.
In my app, I have added 3 choices for a decision similar to:
1) Approved / Approuvé
2) Not approved / Non approuvé
3) Returned / Retourné
To meet my department's language requirements, I had to make the choices bilingual. However, when I am sending out the email, I want to show the English texts first, and further down the email, the French texts. So, I need to split the choice answers into English and French for the email message (sent by SendMailV3).
I have tried this, but it is not working (I'm getting a red squiggly line under the code)
If(Left('PRDecisions.Cmb'.Selected.Value="✅ Approved by Peer Reviewer / Approuvé par examinateur pair", 27, 'PRDecisions.Cmb'.Selected.Value="❌ Not approved by Peer Reviewer / Non approuvé par examinateur pair",31, 'PRDecisions.Cmb'.Selected.Value = "⌛ Returned to GCP for modifications / Retourné au RSC pour modifications",35)
Can this be achieved? Any help would be appreciated.
Thank you 🙂