<analytics:reportChart> component does not work fine with filter attribute for any custom fields for all the orgs
Last updated 2022-02-10 ·Reference W-2077107 ·Reported By 3 users
Summary
<analytics:reportChart> component does not work fine with filter attribute for any custom fields
- Actual Result
Chart data could not be filtered by custom field
- Expected Result.
Custom Field filter works for this VF component.
Repro
-<1> Use existing org or create a new one.
-<2> Create a summary report and add a chart.
-<3> Creat a VF pages:
<apex:page >
<!-- work -->
<analytics:reportChart reportId="YOURREPORTID" filter="{column:'STAGE_NAME', operator:'equals', value:'Prospecting'}" />
<!-- not work -->
<analytics:reportChart reportId="YOURREPORTID" filter="{column:'Opportunity.Text_1__c', operator:'equals', value:'2'}" />
</apex:page>
<!--Text_1 is custom field-->
-<4> View the VF page: YOURHOSTNAME/apex/YOURVFPAGE, notice the chart is not correct for custom field filter, if you drill down by the chart, there is no filter for it.
Workaround
n/a
Reported By (3)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.