function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Krzysztof NowackiKrzysztof Nowacki 

Troubles with VF analytics:reportChart Opp Owner filter

Hi,
Got problems with filter used in VF page.
I want to filter report by Opportunity Owner and Ive got error message. It works when I use ACCOUNT_OWNER filter by when trying OPPORTUNITY_OWNER, od just OWNER (it is OPP based report) it just isnt working.

The filter that works with acount owner is:
<analytics:reportChart reportId="00Ob0000003rYaj" cacheResults="false" filter="[{column:'ACCOUNT_OWNER',operator:'equals',value:'the name of sales rep'}]" />    


Any tips? 

Best
Kris
Jasper_RollJasper_Roll
Hey Kris, 

i ran into the same Problem today... 
Try out FULL_NAME to filter by Opportunity Owner, this worked for me. 
 
<analytics:reportChart reportId="00Ob0000003rYaj" cacheResults="false" filter="{column:'FULL_NAME',operator:'equals', value:'{!$User.FirstName} {!$User.LastName}'}">

I found out the value by using this little workaround: https://success.salesforce.com/answers?id=90630000000D0s0AAC#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=90630000000iBBgAAM

Best,
Jasper
Krzysztof NowackiKrzysztof Nowacki
Now there is a savior! :) Thx Jasper! It works now! I haven't found this workaround somehow. 
Best!
Kris