Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Text object Display.

I have data as below.

ID  Notes   EndDate

1   ABC     9/21/2016

1   AAA     7/22/2016

2   BBB     2/4/2016

I want to display in text object notes and Date together when ID is selected.So I have the below expression in text object.

=If(GetSelectedCount([ID]) > 0, DATE(EndDate) & ' - ' & Note)

This is displaying only one row of data for ID 1 where I want to show 2 rows of data for ID 1 in text box.How can I  do that ?

7 Replies
neelamsaroha157
Specialist II
Specialist II

Instead of doing this in Text object, try it with straight table and you can always change the look and feel of it as text object.

Something like this

Capture5.PNG

Anil_Babu_Samineni

Let's Assume

if you select ID = 1 Then what are you expecting from Text object?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
sunny_talwar

Are you sure you want to use text box object for this. If you do, may be try this:

=If(GetSelectedCount([ID]) > 0, Concat(Date(EndDate) & ' - ' & Notes, Chr(10)))

susovan
Partner - Specialist
Partner - Specialist

I know that its not a proper way.

But you can also try this attachment

.34.JPG

Warm Regards,
Susovan
Anonymous
Not applicable
Author

you may use

=If(GetSelectedCount([ID]) > 0, concat(DATE(EndDate) & ' - ' & Note,chr(13))

but the best solution as neelam said use a straight table

sunny_talwar

Minor error in the expression. Here is the updated expression:

=If(GetSelectedCount([ID]) > 0, Concat(Date(EndDate) & ' - ' & Notes, Chr(10)))


Capture.PNG

Anonymous
Not applicable
Author

Hi

Please find attached

Hope it help!!