cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
slan2018
Helper II
Helper II

Is it possible to have label visibility be based on another label's value?

Hopefully an easy question. I have "Label8" which either displays a 0 or a 1 based on the value of a data card. Is it possible to have another label that will only show when Label8 = "1". I tried some If statements and it did not work. My conditional label is called Label5 and I have tried this with no success: Visible= If(label8 = "1",true,false)

2 ACCEPTED SOLUTIONS

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @slan2018 

 

Can you try to update your expression as:
 
If(label8.Text = "1",true,false)
 
Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

yashag2255
Dual Super User II
Dual Super User II

Hey @slan2018 

 

In that case, you can modify the formula as:
 
If(Label8.Text = "New" && Or(Label6.Text = "1", Label2.Text = "0"),true,false)
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

3 REPLIES 3
yashag2255
Dual Super User II
Dual Super User II

Hi @slan2018 

 

Can you try to update your expression as:
 
If(label8.Text = "1",true,false)
 
Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

@yashag2255 a follow up question, please. How would I go about doing the same formula, but incorporating an or statement. For example

current formula is this :   If(Label8.Text = "New", If(Label6.Text = "1", If(Label2.Text = "0",true,false)))

 

Right now it's looking for all 3 values to be true, which is great for that purpose.

 

I'm trying to duplicate for an icon, but I want the red section to be true AND either of the 2 blue sections to be true. I believe this would require some sort of If Or statement but i'm unsure of the syntax for that! I have tried various formulas and i'm coming up blank. 

 

Any ideas?

 

 

yashag2255
Dual Super User II
Dual Super User II

Hey @slan2018 

 

In that case, you can modify the formula as:
 
If(Label8.Text = "New" && Or(Label6.Text = "1", Label2.Text = "0"),true,false)
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (58,365)