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

How to use Custom Label with a Report Filter

I was looking for a way to parameterize the value for a filter criteria field on a number of reports.  That way I would not have to edit a large number of reports whenever the filter value changes once a year.  I used a Salesforce Custom Label and passed it in the report URL using  '?pv0={!$Label.Financial_year}.  Now whenever that value needs to be updated, I change the value in the Custom Label and don't touch the reports.

Vanessa GuillVanessa Guill

Append the URL parameter "?pv0={!$Label.Financial_year}" to the report URL. For example, if the report URL is "/00O/e?crosstab=true", the updated URL with the parameter would be "/00O/e?crosstab=true&pv0={!$Label.Financial_year}".

geometry dash world