Hi All,
Replacement ID
[RecordID]*-1
Replacement Name
"Redacted User "+TOSTRING([RecordID])
I'm trying to mask the data ( User ID and User Name fields) and have the above formulas to redact the data and the data is getting redacted as expected and then later in my workflow i transpose those columns.
Then later in my workflow i have the FLAG column where by i am flagging if the conditions are met then 1.
FLAG
if Contains([Value],"Redacted User") or tonumber([Value]) < 0
then 1
else Null() endif
After transposing the values there is one column called 'No of Days' which holds the value -15 so based on my FLAG column logic if i am saying <0 then this row is flagged as 1.
How to avoid this or how to work around the logic in the FLAG column so that the 'No of Day's is not flagged as 1.
Any thoughts please.
Thanks
Solved! Go to Solution.
Hi @suby
Can you please add the input file also and the solution expected.
So I can do the solution which will work for you
Shanker V
Hello Shanker,
Unfortunately i cannot provide my input file due to security reasons but as mentioned I'm looking for a solution for FLAG column where by it flags the No of Days since it holds the value of -15.
Thanks
Hey @suby, if I'm reading into this right then you should just be able to add an extra condition like so that specifies that the value in the [Name] column shouldn't be 'No of days':
if Contains([Value],"Redacted User") or (tonumber([Value]) < 0 AND [Name] != 'No of days')
then 1
else Null() endif
Hello Datanath,
Thanks that's a clever and smart solution and that did the trick thanks much appreciated.
Thanks