The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Lookup on Categorical column

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
AKazak Posted - 07/01/2022 : 03:12:45 AM
OriginPro 2022b (64-bit) SR1 9.9.5.167
Windows 7 Pro SP1 x64

Greetings!

I noticed that Lookup searches in Categorical column indices instead of Category values.

What is the proper way to lookup in Categorical columns with search in Category values?

Thank you.

Useful references on the topic:
https://www.originlab.com/doc/Tutorials/Categorical-Values-Ordering
https://www.originlab.com/doc/en/Quick-Help/Show-Category-Indices


---
Andrey
2   L A T E S T    R E P L I E S    (Newest First)
AKazak Posted - 07/01/2022 : 11:30:58 AM
quote:
Originally posted by YimingChen

You can use Catindex() to convert Category values to Category indices, then do the search.

James



Dear James,

Thank you for the valuable suggestion.

Userful reference on the topic: https://www.originlab.com/doc/LabTalk/ref/Catindex-func

---
Andrey
YimingChen Posted - 07/01/2022 : 11:09:35 AM
You can use Catindex() to convert Category values to Category indices, then do the search.

James

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000