adjust table filter based on chart segment/series

  • 1
  • Problem
  • Updated 1 year ago
  • In Progress

I have a chart where you can click on each segment and it's supposed to filter the model for the popup table to just show data for that segment but it's not working.


The action for the segment is

-Activate & Set Model Condition (model=ContactDetails, condition= [ClientLevelMaster__filter], value= {{{clientLevelMasterc}}}

-Query Model

-Show Popup


And the model (ContactDetails) has condition [ClientLevelMaster__filter] is ____, filterable but off by default.


The drilldown table only shows one of the levels and doesn't update.

Photo of Allison

Allison

  • 1,158 Points 1k badge 2x thumb

Posted 1 year ago

  • 1
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
Photo of Allison

Allison

  • 1,158 Points 1k badge 2x thumb
Yes, and the setup is working for one of the categories but doesn't update/apply the condition when clicking on the other segments.
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
What do you mean by "doesn't update/apply the condition when clicking on the other segments"? How are you trying to link into the action framework to achieve this?
Photo of Allison

Allison

  • 1,158 Points 1k badge 2x thumb

Series List for the Chart has Action Type "Activate & Set Value of Model Condition"

  1. Active & Set Model Condition: [ContactDetails] model, > [ClientLevelMaster_filter] condition, {{{clientLevelMasterc}}} value
  2. Query Model: [ContactDetails], Standard-completely replace data query behavior
  3. Show popup (with table of model [ContactDetails]


The condition for the model is Filterable Default On and named [ClientLevelMaster__filter]


It works for the first segment of the charts but none of the others...

Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
Can you share a basic reproduction page where the issue is shown?

How are you deactivating the condition in order to reactivate it so that the second time it'll work?