Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
As per heading of the discussion, I want to concatenate string values in two different columns of Measures in Direct Query.
How Can I achieve the same.
I am using Postgresql.
I am using -
DIRECT QUERY
DIMENSION
1 As Flag
MEASURE
col1,
col2,
col3
From demo;
And I want something like -
DIRECT QUERY
DIMENSION
1 As Flag
MEASURE
col1,
col2 || col3 as test
From demo;
Please assist.
Thanks & Regards,
MK
It throws an error while Reloading saying -
No Direct statement
Made a mistake earlier, try it with single quotes within the Native function
The example is for Dimension, I want to use the same for Measures.
I am using Postgresql, and when we use the same syntax, it throws an error
I see no documentation where it says that you cannot use NATIVE in Measures. But there is no way for me to test this because I don't have access to Direct Discovery application. But just so we are sure, did you add single quotes around your function?
NATIVE( 'col2 || col3' ) as test
Thanks sunny,
The reload was successful, but in the Table when I fetch the test column, it says -
"direct query failed"
Any inuts
Thanks sunny,
The reload was successful, but in the Table when I fetch the test column, it says -
"direct query failed"
Any inuts