+ Start a Discussion
SamCousinsSamCousins 

How do I filter <apex:reportChart> by boolean logic?

You know the way when creating reports, after adding filters, you can add logic to the filters such as OR, AND etc..

How do I change this logic within Visualforce inside the <apex:reportChart> element? I can define filters, but there's no property to define filter logic. At the moment every time I add a filter it's an 'AND', when really I want an 'OR' for my filters. Can anybody help, thanks!
Best Answer chosen by SamCousins
Andy BoettcherAndy Boettcher
You could do that magic in the source report itself and then expose it via an analytics:reportChart component?

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_analytics_reportChart.htm