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
Jay WeerappuligeJay Weerappulige 

Report Chart on Community Builder

I want to use Report Chart on Community Builder to external Communities. I have created a report with chart and added to the communit page. It display all data. How do I filter data to show only for the person who loginto the Community. 

Thanks in advance for any help
NagendraNagendra (Salesforce Developers) 
Hi Jay,

Please give a try with this,

Create a custom formula field on the object in the report: 
IF(  OwnerId  =    $User.Id  , 1,NULL)
Now use this field in your report criteria Also, most reports in SFDC  have a standard filter for "My Contacts, My Leads, MyOpportunities, My..." that automatically filter only the records owned by the user viewing the report.

Mark this as solved if it's resolved.

Best Regards,
Nagendra.P


 
Jay WeerappuligeJay Weerappulige
Thanks Nagendra for the response. The external user do not own records. External user is on the Salesforce as a contact record only. Kind Regards, Jay