cancel
Showing results for 
Search instead for 
Did you mean: 

'Concat' function in Graphical View

BenedictV
Active Contributor
0 Kudos

Hi,

I have a fiscal period field in my view which contains data in the format YYYYMMM, but I need to union this data with a table which has period in the format YYYYMM. Is there a way to convert yyyymmm into yyyymm.

1) I have mentioned 'concat' in the subject line because of thought of doing - concat(rightstr("FISCAL_YEAR_PER",4),leftstr("FISCAL_YEAR_PER",2)) but then graphical calc views do not have concat function. Is there a way solve this?

2) In general, how can a concatenation be achieved in a graphical view?

Thanks,

Benedict

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Felix,

Did you try achieving it this way,

rightstr("FISCAL_YEAR_PER",4) + leftstr("FISCAL_YEAR_PER",2)

Setting the datatype to "VARCHAR"


Regards,

Krishna

BenedictV
Active Contributor
0 Kudos

That works. Thank you Krishna.

Former Member
0 Kudos

You are welcome Felix, Always happy to help

Regards,

Krishna

Answers (0)