Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
mahnoor1279
Contributor III
Contributor III

HOW TO REPLACE VALUE WITH IF CONDITION

Hello everyone from the following table i want to change only specific account invest type only for account

(account no :22534435   RE INVEST into SALE) & ( account no : 35346467     TRANSFER OUT into REDEMPTION)

i.e(

ACCOUNT NO INVEST TYPE
20038424 SALE
22534435 RE INVEST
24355244 RE INVEST
46354747 SALE
2536436 TRANSFER OUT
3354343225 REDEMPTION
35346467 TRANSFER OUT
Labels (2)
1 Solution

Accepted Solutions
MayilVahanan

Hi

Try like below

If([ACCOUNT NO] = 22534435, 'SALE', If([ACCOUNT NO] = 35346467, 'REDEMPTION', [INVEST TYPE])) as [INVEST TYPE]

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

1 Reply
MayilVahanan

Hi

Try like below

If([ACCOUNT NO] = 22534435, 'SALE', If([ACCOUNT NO] = 35346467, 'REDEMPTION', [INVEST TYPE])) as [INVEST TYPE]

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.