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

Text as part of a function

Hi guys hoping someone can help not sure what im doing wrong here

I was trying to return the output of a formula and input into an only function but its not working-
, have tried this

Only({<Code={Text(Prop_ID)}>} [$=vlanguage)]))

Thanks


Sarah

6 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try this

=Only({<Code={'$(=Text(MaxString(Prop_ID)))'}>} [$(vlanguage)])


Regards,

Jagan.

ssanchez
Partner - Contributor III
Partner - Contributor III

Hi Sarah,

I think it's just a syntax error. Try the following expression:

Only({<Code={$(=Text(Prop_ID))}>} $(vlanguage))

Not applicable
Author

Hi Unfortunately it didn't work must be something im doing - the expressions are all based on the Prop id so not sure if that is the issue

ssanchez
Partner - Contributor III
Partner - Contributor III

Please can you upload a sample qvw file or show the possible values ​​of Code, Prop_ID and vlanguage?

rbecher
MVP
MVP

Hi Sarah,

you shoud try this:

Only({<Code={Prop_ID}>} [$(vlanguage)])

Astrato.io Head of R&D
rbecher
MVP
MVP

Btw. {<Code={Prop_ID}>} will not work.

Astrato.io Head of R&D