The filter doesn't match the JSON string in the instructions. Check your filter carefully. Even one character missing or out of place can cause problems.
I keep getting this error, yet I have matched the filters up with the instructions. Why might this be? Here is the filter string provided.
{"datasets":{"DTC_Opportunity_SAMPLE":[{"fields":["Account_Name"],"filter":{"operator":"in","values":["$Name"]},"locked":null,"hidden":null}]}}
Hi @Eavan Ring,
I'm a member of the Trailblazer Help team. This issue needs further review and we may need access to your playground. We will reach out to you via email to connect further. Thank you!
Best Regards,
Ravindra
++CreateTrailheadCase
I still can not get this to be completed. I have tried all of the options multiple times and I am still consistently getting an error message on this task
Hi @Eavan Ring,
Is this requirement is part of any Trailhead challenge? If so please share the URL of the Trailhead unit so that I can check and help further.
Best Regards,
Ravindra
++TrailheadHelpFollowUp
Hi @Max Stevens,
I'm Ravindra from Trailblazer Help team. Is this requirement is part of any Trailhead challenge? If so please share the URL of the Trailhead unit so that I can check and help further.
Best Regards,
Ravindra
++TrailheadHelpFollowUp
Please refer this thread
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A9402SAB
Hi @Aman Patil
Thanks for the suggestion. This filtered correctly but I am still receiving the JSON issue. I attempted again with {"datasets":{"DTC_Opportunity_SAMPLE":[{"fields":["Account_Name"],"filter":{"operator":"matches","values":["$Name"]},"locked":null,"hidden":null}]}} and still get the same error. Not sure where this error could be coming from.
Hi @Max Stevens
- In Dashboard filters instead of Filter Builder switch to Filter String
- Fill text area fill the following code:
{'datasets': {'DTC_Opportunity_SAMPLE': [{'fields': ['Account_Name'], 'filter': {'operator': 'matches', 'values': ['$Name']}}]}}
As I see it the problem is in incorrect convertion of filter condition. It expect matches but get in value insted.
refer
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A9402SAB