Tai Vu
Kilo Patron

Hi @Community Alums 

Yes you can call a script include within the PA Scripts. That's actually one of the Tips on Scripts of Scripting in Performance Analytics.

Tips on scripts

  • In general, use scripts only to support indicators like Age with date processing, using the score_start and score_end variables.
  • Limit unnecessary fields. Every time you include an extra dot-walked field, you add an extra join to the query.
  • Try to replace manual breakdowns with database views for better performance.
  • Try to use script includes for common functions. For more information, see Script includes.
  • If the data is not structured in a way you need for reporting, try adding 'reporting fields' to the operational tables instead of creating scripts. For more information, see this Community post.
  • If you are running a background script that queries the Performance Analytics scores or snapshots tables, you cannot access data about a scoped application unless you have an appropriate role for that application.

 

Cheers,

Tai Vu