You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following environment (a dashboard with a Table Chart):
Database Table (the one the chart refers to):
name A B C D
--------------------------------
x 1 0 0 1
y 1 1 1 1
x 0 0 0 1
y 1 1 0 1
Table Chart:
name SUM(A)
-----------------
x 1
y 2
What I want to do is:
add a FilterBox with the Column A, B, C, D of the table like choices and when the choice X (a generic one between the four choices previously cited) is selected, the second column of the chart should show SUM(X)
In few words: I want to change the metric of a chart based on a filter Box value
Is this possible?
The text was updated successfully, but these errors were encountered:
Issue-Label Bot is automatically applying the label #enhancement to this issue, with a confidence of 0.76. Please mark this comment with 👍 or 👎 to give our bot feedback!
I finally found the solution by myself. I used filter_values macro that can read the filter values through the analysis of the url parameter form_data (in which all of your filter are stored).
See #5547 to better understand how the filter_values macro work
I have the following environment (a dashboard with a Table Chart):
What I want to do is:
add a FilterBox with the Column A, B, C, D of the table like choices and when the choice X (a generic one between the four choices previously cited) is selected, the second column of the chart should show SUM(X)
In few words: I want to change the metric of a chart based on a filter Box value
Is this possible?
The text was updated successfully, but these errors were encountered: