Bug : show_if constraint not working on detail view?

Hi everyone,

I would like to hide the “Add” button on a detailed view, depending a condition. I found some articles where people succeeded into it, but cannot reproduce the expected behavior.

The purpose is to avoid adding new children to a parent, after a period of time (in this case, the day following the entry).
3X_b_5_b5652ef658a1ed66746164cc49f62d71e61f3bf5.png

I added a condition on the Behavior/Actions panel:

  • Table : LineItem_Pdt
  • Action : Add
  • Section : Behavior
  • Entry : Only if this condition is true
  • Formula for this entry : Mouvements_Pdt[Mvt].[TimeStamp]>today()

I proceeded to various tests, and this is what happens:

  • if condition is as I set it : “Add” is hidden on every entry
  • if condition is reversed : (< instead of >) : “Add” is available on every entry

But when I click on the “test” formula button, the results are as expected: “N” on old entries, “Y” on recent ones.

Do you have any clue on what happens ? Is that a bug, or a misunderstanding from me ?

Thanks for your help

Aurelien

0 14 444
14 REPLIES 14
Top Labels in this Space