Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi!
I have 2 fields: price and fakttext.
I want 4 last digits to be replaced with XXXX in case price is = 0. Today I'm using this:
if(price =0, mid(fakttext,1, len(fakttext)-4) & 'XXXX', fakttext) and it works good.
But now I don't want to apply my condition for some specific values.
IF price = 0 THEN XXXX BUT NOT FOR 'Japan', 'Sweden' etc.
BR,
Artur
Hi @Uri
Try like below
If(Price = 0 and not wildmatch(Country, 'Japan', 'Sweden'), left(fakttext, len(fakttext)-4)&'XXXX', fakttext)
Hi @Uri
Try like below
If(Price = 0 and not wildmatch(Country, 'Japan', 'Sweden'), left(fakttext, len(fakttext)-4)&'XXXX', fakttext)