I currently building a dashboard and I am trying to add a value table with a toggle, that would switch custom filters for that table. I am using this, since I want to have custom filters which would filter Opportunity fields: Priority and Stage. For example, one filter would select opportunities with stage equal to "new", "marketing", "bid" the other only with stage equal to "lost" and so on. Since value tables have "grain" as step type, this can be done only using the Classic Dashboard Designer syntax. How can I do that properly?
In the Table step I added the following binding:
"filters": "{{ selection(Filter_By_1) }}"
whereas in the target toggle step:
"values": [
{
"display": "Budget",
"value": [
"STAGE_NAME",
[
"0 - New Opportunity",
"1 - Marketing",
"2 - Pre-Bid",
"3 - Bid",
"4 - Competition",
"4 - Negotiation"
],
"in"
]
},
{
"display": "Lost",
"value": [
"STAGE_NAME",
[
"7 - Project lost"
],
"in"
]
},
{
"display": "Shift",
"value": [
"STAGE_NAME",
[
"5 - Project on hold"
],
"in"
]
},
{
"display": "Out",
"value": [
"Opportunity.Priority__c",
[
"D - No bid"
],
"in"
]
}
Now, whenever I click the filter, there are no results shown in the table, whereas I am 100% sure that there should be, since there are opportunities matching this criteria. What might be the error here?