Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
dixitn1
Contributor
Contributor

Crystal Reports to Qlik Sense

Hello Can someone help me replicate the same formula in Qlik Sense :-

1)

if NumericText(left({@Item_TranCodeExpense},8)) then
left(left({@Item_TranCodeExpense},4)+ReplicateString("0",4),4)
else
if NumericText(left({Command.SFIELD_9},8)) then
if mid({@Item_TranCodeExpense},1,8)="????????" then
left(left({Command.SFIELD_9},4)+ReplicateString("0",4),4)
else
if not NumericText(left({Command.SFIELD_9},8))
then
left(left({Command.LOCAL_ACC_NO},4)+ReplicateString("0",4),0)

 

2) 

stringvar tmpTCExpense:='';
if not isnull({Command.GL_EXPENSE_ACCOUNT})
then tmpTCExpense:={Command.GL_EXPENSE_ACCOUNT}
else tmpTCExpense:='39990000999999999+TC00';
if tmpTCExpense=''
then tmpTCExpense:='39990000999999999+TC00';

tmpTCExpense;

Labels (2)
0 Replies