Display data only in a certain type of view

Hello!

I have a problem, in a way, simple.

I have a financial data that is calculated automatically after entering a certain value, on a customer registration screen, of the Form type.

I would like this data to only be displayed on the Details type screen if it is greater than 0.00.

I tried through the following formulas:

AND(
  CONTEXT("ViewType") = "Form",
  ISBLANK([ValorTotal])
)
OR
(
  CONTEXT("ViewType") = "Detail",
  [ValorTotal] > 0
)
(CONTEXT("ViewType") = "Form") OR ((CONTEXT("ViewType") = "Detail") AND ([ValorTotal] > 0))

Regardless of the ways I tried (and other variations) the data is always displayed on the details screen, even with its result being 0.00.

My question is, is this possible? And how to do it?

0 1 26
1 REPLY 1

Have you tried:

OR(CONTEXT("ViewType")="Form", AND(CONTEXT("ViewType")="Detail", [ValorTotal] >0))

Top Labels in this Space