Hide Strip if a field is empty in a dataset

I think it does not work, because you are using a dynamic code-part for a non-dynamic dataset.

→ getCurrentItem does only work on dynamic datasets.

If i am not right with my statement and you have the Agility of using getCurentItem, then you could try this one…

First define…
let myValue = $w(‘#prodottiDataset’).gerCurrentItem().finiture
Then check in if-query…
If(myValue){ … continue here …}

Oh and i see you wrote Finiture with an Capital-letter, shouldn’t it be–> “finiture”?
Check your DATAFIELD-ID first.