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: 
Not applicable

GUID values don't always contain brackets

Hi,

In my model i'm linking two sets of records together by GUID values and in some cases they have the curly brackets ( {..} ) and sometimes they dont. This is making the joins difficult and means i'm not getting the data i'm expecting.

Can someone help me understand why this is happening, and how to fix it?

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

I have no idea why your data sources contain guids with and without curly brackets. What you can do is always remove the curly brackets in the script by using the purgechar function:

purgechar(MyGuid, '{}') as MyGuid


talk is cheap, supply exceeds demand
Not applicable
Author

I found out that the reason why some had brackets and some not was due to the type of database connection I had, with the ODBC type removing them as it processes the data types.

Thank you for the purgechar function though, I was not aware of it and i'm sure that it'll come in useful in the future

Not applicable
Author

Hello, I have same problem.

How do you manage it whith different connections?