Hi,

I'm trying to hide/show a button on Subgrid view based on a value in a polymorphic lookup (account and another custom entity) in new Command bar using Power Fx commands.

If  for example in this lookup is a an account value, then show this button. 

Does someone have any idea how to do that?

Tahnk you in advanced

Best Begards