Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
MK9885
Master II
Master II

Compare different columns to get new measure

hi,

I'm trying to compare columns and create a new column

2019-08-29_131449.png

Would like to compare all these columns with different values to create a new column...

New Column should only contain values which are not Adj from Column4 & are only Com2 from Column3.

So here New Column values would only be measure with a combination of XYZ+555+Com2 and ABC+555+Com2 

Other scenario can be below

2019-08-29_132114.png

Here the new Column values would be measure with combination of ABC+555+Com2 beacause XYZ has Adj in Column4

 

@sunny_talwar 

Thanks.

9 Replies
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Try this:

clipboard_image_0.png

Refer the expressions from the QVW attached.

Thanks and regards,

Arthur Fong 

MK9885
Master II
Master II
Author

Sorry that was an example which clearly I did not explain good enough..

Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Hi Khan,

Refer qvw attached for the logic that i have done.

 

Thanks and regards,

Arthur Fong 

MK9885
Master II
Master II
Author

Thanks a lot!

I'll try it on my app & let you know

MK9885
Master II
Master II
Author

Flag you've created is giving value as 0 instead of 0 or 1 or 2.

Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Can you try to aggregate your temp table by:

Carrier Name,

Procedure Code,

Adjustment

 

Also do a filter for Carrier Name= 'Champus' on the temp table.

MK9885
Master II
Master II
Author

Ok, I'm doing some adjustments as requested will update you...

Thanks for all your help, really appreciate it 

Brett_Bleess
Former Employee
Former Employee

Khan, did Arthur's example end up working out for you?  If so, do not forget to circle back and mark his post using the Accept as Solution button to give him credit and to let others know what actually worked.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
MK9885
Master II
Master II
Author

No, this is still an open issue.

Community Browser