Skip to main content
Question

Adding Dashboard Parameter Field for Branch


I’m attempting to add a parameter to a Dashboard for the Branch.  I will then use that parameter in the widgets for that dashboard.  (Goal is to get a branch-specific dashboard.)

 

When I went to add the parameter, I’m not sure which Schema Object to use to find a field for the branch to use in the parameter.  Ideally, I’d like to have the parameter populated with a value for the Current Branch.

 

Any ideas on this would be greatly appreciated!

3 replies

Nilkanth Dipak
Semi-Pro II
Forum|alt.badge.img+10

Hi ​@scottkdc,

You can use the PX.SM.Branch Schema object for adding Branch parameter. you can also provide default value as below.
 


 

Hope, it helps!


  • Author
  • Freshman I
  • 5 replies
  • April 9, 2025

Hi Dipak,

 

I got the schema item added - thanks for pointing me to that information.

 

Regarding the default, is it possible to have the Branch/Company ID default based on the current branch/company?  Is there a variable @CurrentBranch or similar that could work there?  I don’t want a static default value there and hope it can refresh based on the company selected.

 

Thanks,

 

Scott


  • Author
  • Freshman I
  • 5 replies
  • April 9, 2025

For further details, I want to use the dashboard-level parameter value as a filter value for certain widgets.  For example, if I’m in Branch A and have an Open AP Bills widget on the dashboard, I want that to include only items for the branch in the parameter field.  If I switch the value in the parameter field to Branch B, either manually or by switching branches, I want the widget to refresh accordingly and only show Open AP Bills for Branch B.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings