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 / Combine two conditions...
Power Apps
Unanswered

Combine two conditions into text property

(0) ShareShare
ReportReport
Posted on by 817

Hi all, I have the following situation and I was hoping someone could suggest how to solve/build it.

 

Here is the story:

 

I have an app that servers a couple of HR offices, each one requiring different information to be entered, so I show/hide the field on the screen dynamically based on the selected country. For that, to work I have a formula on the visible property of the field that looks at the text of the label if present in an SPO configuration list where for every country, I define the field names which are the same as their Text property.

Radoslavov_1-1668502710945.png

 

 

If(Self.Text in LookUp('Configuration list', Country=varCountry).Columns && varTabSelected=2 || Self.Text in LookUp('Configuration list', Country=varCountry2).Columns && varTabSelected=2,true,false)

 So far so good, BUT now I also have to add a dynamic translation option so every country sees the field in his language, and this is where the problem is.

 

For the text property of every field. label, tooltip, etc. I'm using this formula:

LookUp(Translation, LanguageTag = varCurrentLanguage && Title = "RequireDeskPhoneTextID").LocalizedText

 Here I'm telling that the text will change dynamically based on the current user's language (selected on the main screen), and then find in an SPO list the localized text for that language.

Radoslavov_0-1668502667704.png

 

Because in the first case I show/hide the field if the text is located in a specific SPO list, and on the second condition I translated it based on the language, the visible function now is not working.

 

Any suggestions are welcome on how to keep both conditions (Show/hide the fields dynamically based on the configuration list, but at the same time to translated them dynamically using the second SPO list)

Categories:
I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard