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: 
coxanagi
Contributor II
Contributor II

If with a search string

Hello!

I want to display in a Text Object a Date, only for some companies. I can identify the foreign companies by its ID, the foreign companie's ID  start with 'PE_____' and the national companie's ID start with 'PN_____' So I need to substract 30 days to foreign companie's date y display it. I tried it with a search string but something goes wrong.

This is the expresison that I tried to use

= if ( [COMP_ID]="PE*", 'Date ' &Chr(10)&(Date(MIN( [Registration Date])-30) ) , 'Date '&Chr(10)&(Date(MIN([Registration Date]) ) ) )

1 Solution

Accepted Solutions
Anonymous
Not applicable

Hello,

you can try with  [COMP_ID] like 'PE*'

Elena

View solution in original post

2 Replies
Anonymous
Not applicable

Hello,

you can try with  [COMP_ID] like 'PE*'

Elena

coxanagi
Contributor II
Contributor II
Author

It works Thank you!!