on 05-20-2020 5:58 PM
Hi,
I have an issue with Concat field in IDT and I am unable to resolve it
I have Firstname, middle and lastname and I am using concat function in IDT but when i drag it into webi i donot see any results, it is just blank
Now if i instead use by FN,MN and last name in a varaible in Webi I can see the results
any idea why this is happening
below is the concatination i am using in IDT
{fn
concat(client_name.client_first_name, concat(' ',
concat(client_name.client_middle_name,concat(' ',
client_name.client_last_name))))}
Hi Harsha,
You can write the below formula as well.
client_name.client_first_name + ' ' + client_name.client_middle_name + ' ' + client_name.client_last_name
Upon using this you'll see 2 spaces in the middle, if there is no Middle Name, for that you need to use case statement to concat the middle name, as
case when middlename is null then '' else (middlename + ' ') end
Thanks,
Mahboob Mohammed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to be able to help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Mahboob it worked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
61 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.