How to show records collected by indicator in analytics hub?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 07:20 AM
Hello,
I'm trying to prepare automated indicator which will count number of problems under specific conditions.
The conditions are complex, I had to use a PA script to achieve it (and this works fine), but now I have a problem to show collected records on analytics hub.
Steps that I have taken:
1. Indicator source - to create basic filter on problem table
2. Automated indicator:
- based on source from p. 1,
- unit - #,
- aggregate - sum
- collect records - true
- script - from p. 3
3. PA script - to make additional validation if record should be collected or not. Script returns 1 or 0 (Integers) based on conditions.
The result is that I can see the correct number of problems that meet all my conditions from source and script (for example 6), but when I want to see these records on the Analytics Hub list, using "Show Records" button, I receive the list of problems that meet condition ONLY from my Indicator source (for example 30).
Could you please advise me how can I limit the number of records visible in this list to only 6 so I can see only records that meet ALL my criterias? I believe there might be a problem with the value type that scripts returns - I have tried to return ID of the problem but I'm not sure if indicator configuration is correct for that case.