Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ishika00730
Contributor III
Contributor III

Hide or Show an object

Hi,

I have a requirement to hide and show an object depending upon the selection made in a field.

To always show the text object on dashboard (which has Vs Target figure ). When a user selects any value in the field "Market" , the text object shall still be on the dashboard . Then the object will show the Vs Target figure for the selected Market.

But if there is any selection in any other field except markwt, then my text object must hide because the Target is divided by Market and not by any other field.

5 Replies
tresesco
MVP
MVP

Try conditional expression like:

=Subfield(GetCurrentSelections('','','',''), 'Market',2)=GetFieldSelections(Market,'')

ishika00730
Contributor III
Contributor III
Author

Hi,

Thanks for the reply. But where should I use this expression. In the Conditional Layout or in conditional enable expression?

Thanks

ishika

tresesco
MVP
MVP

If you want to hide the object use layout expression and if want to keep the object but not show the calculated value, use enable expression.

ishika00730
Contributor III
Contributor III
Author

Hi,

I used the expression suggested by you but I still get the expression result

tresesco
MVP
MVP

Could you share your sample app?