hello, i often use data studio to create Unique ID but data sudio doesn't work kike a want. I want to know if it's possible to do this in studio. And if it's ok, what is the calculated item?
Do you have any special requirements when it comes to the id?
You can use SAS functions to create a UUID (https://documentation.sas.com/doc/en/vdmmlcdc/8.1/lefunctionsref/n0y09yghr5r11cn1b4ocojwqvrqe.htm), or hashing your business key column(s):
MD5 https://documentation.sas.com/doc/en/vdmmlcdc/8.1/lefunctionsref/n0mu81ozw0013yn1kzwve5ola26e.htm
If you want to create a sequence no you probably need to program that yourself, or utilize SAS Studio Engineer steps.
Or if you have an external DB, you can often define a column there with these characteristics.
Do you have any special requirements when it comes to the id?
You can use SAS functions to create a UUID (https://documentation.sas.com/doc/en/vdmmlcdc/8.1/lefunctionsref/n0y09yghr5r11cn1b4ocojwqvrqe.htm), or hashing your business key column(s):
MD5 https://documentation.sas.com/doc/en/vdmmlcdc/8.1/lefunctionsref/n0mu81ozw0013yn1kzwve5ola26e.htm
If you want to create a sequence no you probably need to program that yourself, or utilize SAS Studio Engineer steps.
Or if you have an external DB, you can often define a column there with these characteristics.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.