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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to combine the two similar fields into one field

Hi All,

statusclose_flag
closed-1
>closed-1
cancelled-1
chlid ticket0
child ticket….0
complete 0
completed0
closed-app-1
open0

in the above table close_flag = -1 to combine the all closed fields into one closed field ,child ticket and child ticket.... both are same to combined  this two  into one filed like child ticket and also complete, completed both are same. to combined the this two into one field like completed . Then after to calculate the the count status in expression tab how to calculate the expression without using wild match and match function. any one plz tell me....urgent 

9 Replies
anbu1984
Master III
Master III

Check this

MK_QSL
MVP
MVP

Create one more field in your script...

IF(WildMatch(Trim(status),'*close*'),'Closed',

  IF(WildMatch(Trim(status),'*ch??d ticket*'),'Child Ticket',

  IF(WildMatch(Trim(status),'*complete*'),'Completed',status))) as NewStatus

Now create a straight table

Dimension

NewStatus

Expression

COUNT(Distinct close_flag)

or

COUNT(close_flag)

Not applicable
Author

Thank you anbu cheliyan

Not applicable
Author

Thank you Manish

MK_QSL
MVP
MVP

Please close the thread by selection appropriate answer if you got your answer..

Not applicable
Author

how to close the thread 

MK_QSL
MVP
MVP

You have to select Correct or Helpful answers from same screen shown below..

Whenever someone answering/replying your thread, you will see this screen below reply.. you can select only one correct and two helpful answers... By selecting correct answer will close the thread... This will help other members who have got the same type of problems...

export.png

Not applicable
Author

Try using Compress() function

Not applicable
Author

click on ur question it will refresh the window then u will get options like correct answers and helpful answers