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

Changing the Title of a Straight Table dynamically

I have a Bar Chart and Straight Table. The Straight table displays the data based on the selection in Bar Chart.

If Bar Chart has the axis values as Car,Van,Bus then my Straight Table should display 'Year End Sales of' & 'Product'

For this, I usually use GetFieldSelection() in the Title of the object combined with a conditional statement.

However, here I have assigned a State for Straight Table which why I guess, is the reason my Title is not changing dynamically.

Can anyone provide a solution for this?

Capture.JPG

7 Replies
pokassov
Specialist
Specialist

Hi!

Use this:

GetSelectedCount(Project, StateB)

and

GetFieldSelections (Project, StateB)

petter
Partner - Champion III
Partner - Champion III

If you are using SR8 or newer you can reference the correct state in your GetFieldSelections() by a new parameter.

Anonymous
Not applicable
Author

Hi, This is what I'm getting.

You can clearly see the StateB is not highlighted.Capture1.JPG

petter
Partner - Champion III
Partner - Champion III

So which Service Release of QlikView 11.2 are you running? Or do you run 11.2 at all?

Anonymous
Not applicable
Author

Qlikview  11.20 SR 7

petter
Partner - Champion III
Partner - Champion III

Then I would advice you to upgrade. QlikView 11.2 SR12 is the latest release and has been available folr many months...

Anonymous
Not applicable
Author

Thanks Peter. The best way I can think of doing this in earlier versions of Qlikview is to use a label/text object instead of Title text.